discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: klo uo
Subject: [Discuss-gnuradio] [gnuradio 3.5.0] libgnuradio-core.so: undefined reference to `fftwf_free'
Date: Tue, 27 Dec 2011 10:41:50 +0100

Hello,

I'm on Ubuntu 11.04 32bit

I downloaded gnuradio source (3.5.0), read about reqs then started installation process

./configure went fine and I run `make`

After 15min I got error about undefined references from FFT

I had installed 'libfftw3' and 'libfftw3-dev' 3.2.2 with Synaptic, but have no idea if provided packages fulfilled some requirements mentioned in README: --enable-single --enable-shared configure options.

So I removed 'libfftw3-dev' and downloaded FFTW 3.3 source. Build it with mentioned switches with --prefix=$HOME/.local, so installation ended in:

~/.local/lib and ~/.local/include

as fftw3 configure command was:

./configure --enable-single --enable-shared --enable-sse2 --prefix=$HOME/.local

Now I extracted fresh from gnuradio archive again, then run:

FFTW3F_LIBS=$HOME/.local/lib FFTW3F_INCLUDEDIR=$HOME/.local/include ./configure

everything went fine and I run `make`

Unfortunately I still get the same error:

========================================
make[8]: Entering directory `/home/klonuo/src/gnuradio-3.5.0/gnuradio-core/src/lib'
/bin/bash ../../../libtool --tag=CXX   --mode=link g++ -g -O2  -Wall -Woverloaded-virtual -pthread   -o gnuradio-config-info gnuradio-config-info.o libgnuradio-core.la -L/usr/lib -lboost_program_options-mt -lboost_filesystem-mt -lltdl
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
./.libs/libgnuradio-core.so: undefined reference to `fftwf_free'
./.libs/libgnuradio-core.so: undefined reference to `fftwf_malloc'
./.libs/libgnuradio-core.so: undefined reference to `fftwf_execute'
./.libs/libgnuradio-core.so: undefined reference to `fftwf_plan_dft_c2r_1d'
./.libs/libgnuradio-core.so: undefined reference to `fftwf_import_wisdom_from_file'
./.libs/libgnuradio-core.so: undefined reference to `fftwf_export_wisdom_to_file'
./.libs/libgnuradio-core.so: undefined reference to `fftwf_plan_dft_1d'
./.libs/libgnuradio-core.so: undefined reference to `fftwf_plan_dft_r2c_1d'
./.libs/libgnuradio-core.so: undefined reference to `fftwf_destroy_plan'
collect2: ld returned 1 exit status
========================================

As I don't know what else could be problem I thought to ask for help

Thanks


reply via email to

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