discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] [gnuradio 3.5.0] libgnuradio-core.so: undefined r


From: Andre Puschmann
Subject: Re: [Discuss-gnuradio] [gnuradio 3.5.0] libgnuradio-core.so: undefined reference to `fftwf_free'
Date: Tue, 27 Dec 2011 12:25:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0

On 12/27/2011 12:16 PM, klo uo wrote:
>     If you build fftw manually, please check if you configured it with
>     '--enable-single --enable-shared' otherwise, only the fixed-point
>     version will be built.
> 
> 
> I did build fftw manually with noted switches as I wrote in my first mail:
> 
> ./configure --enable-single --enable-shared --enable-sse2
> --prefix=$HOME/.local
> 
>  
> 
>     Also, you can verify after installation via 'ls
>     -l /usr/local/lib/libfftw*'. I assume you only see libfftw3.so not
>     libfftw3f.so, right?
> 
>  
> Here is output of `ls -l ~/.local/lib/libbfft*` as I configured gnuradio
> as explained in my first mail:
> 
> $ *ls -l ~/.local/lib/libfftw**
> -rw-r--r-- 1 klonuo klonuo 2283452 2011-12-27 08:14
> /home/klonuo/.local/lib/libfftw3f.a
> -rwxr-xr-x 1 klonuo klonuo     962 2011-12-27 08:14
> /home/klonuo/.local/lib/libfftw3f.la <http://libfftw3f.la>
> lrwxrwxrwx 1 klonuo klonuo      18 2011-12-27 08:14
> /home/klonuo/.local/lib/libfftw3f.so -> libfftw3f.so.3.3.0
> lrwxrwxrwx 1 klonuo klonuo      18 2011-12-27 08:14
> /home/klonuo/.local/lib/libfftw3f.so.3 -> libfftw3f.so.3.3.0
> -rwxr-xr-x 1 klonuo klonuo 1419867 2011-12-27 08:14
> /home/klonuo/.local/lib/libfftw3f.so.3.3.0

Ok, then according to your output in the last post, gnuradio
configuration did not set the paths correctly.

> libtool: link: g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o
> .libs/gnuradio-config-info gnuradio-config-info.o
> ./.libs/libgnuradio-core.so -L/usr/lib -lboost_program_options-mt
> -lboost_filesystem-mt /usr/lib/libltdl.so -pthread -Wl,-rpath
> -Wl,/home/klonuo/.local/lib


Two things are missing, the linker command does not include the library
(i.e. -lfftw3f) and not the library path (-L/home/klonuo/.local/lib).
The latter is instead just appended to that last command which is wrong.

FFTW3F_LIBS should be something like this '-L$HOME/.local/lib -lfftw3f'

BR
Andre


> 
> 
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio





reply via email to

[Prev in Thread] Current Thread [Next in Thread]