On Sat, Oct 21, 2023 at 03:39 PM, Mark Erbaugh wrote:
I noticed that the stock firmware uses both the standard (double) and float FFTW3 libraries.
Since it's not worth opening up a new thread, I want to note that the way we said to build fftw3 in install.txt caused me a small problem.??
I found the issue while building gnuradio, when I got strange error messages talking about unsafe relocations.
The issue is that we don't say to put '--enable-shared' on our fftw3 ./configure commands, so we build non-shared version of the fftw3 libraries.? Also the defaults put the non-shared library in /usr/local/lib and most build scripts look there first.? So, other software you may want to build will find a non-shared library and try to link against that.? This works for executable programs, but often not for other shared libraries because they need position-independent code for any libraries they themselves call.?
This may never catch anyone else out, but it did catch me.
--
Regards,
Dave, N1AI