Compiling GNU Radio on Linux


#1

Dear there,
I’m using Fedora 9, with the latest updates to compile GNU Radio. I will
use
it for programming a USRP.

./configure works well, with few libraries bein excluded from the make.
gnuradio-core, gnu-usrp and gnu-usrp2 pass configure.

When I run make, I get the annexed error messages. I’m using the latest
verion of Boost.
Any clues on what is wrong?

Thanks!

make errors:
/home/mido/Download/gnuradio/gruel/src/lib/.libs/libgruel.so: undefined
reference to boost::thread::start_thread()' /home/mido/Download/gnuradio/gruel/src/lib/.libs/libgruel.so: undefined reference toboost::this_thread::disable_interruption::~disable_interruption()’
/home/mido/Download/gnuradio/gruel/src/lib/.libs/libgruel.so: undefined
reference to typeinfo for boost::detail::thread_data_base' /home/mido/Download/gnuradio/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined reference toboost::detail::get_current_thread_data()’
/home/mido/Download/gnuradio/gnuradio-core/src/lib/.libs/libgnuradio-core.so:
undefined reference to boost::this_thread::interruption_requested()' /home/mido/Download/gnuradio/gruel/src/lib/.libs/libgruel.so: undefined reference toboost::detail::thread_data_base::~thread_data_base()’
/home/mido/Download/gnuradio/gruel/src/lib/.libs/libgruel.so: undefined
reference to boost::thread::interrupt()' /home/mido/Download/gnuradio/gruel/src/lib/.libs/libgruel.so: undefined reference tovtable for boost::detail::thread_data_base’
/home/mido/Download/gnuradio/gruel/src/lib/.libs/libgruel.so: undefined
reference to
`boost::this_thread::disable_interruption::disable_interruption()’
collect2: ld returned 1 exit status
make[4]: *** [benchmark_dotprod_fff] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

View this message in context:
http://www.nabble.com/Compiling-GNU-Radio-on-Linux-tp22638878p22638878.html
Sent from the GnuRadio mailing list archive at Nabble.com.


#2

On Sat, Mar 21, 2009 at 11:22 AM, MidoWido removed_email_address@domain.invalid wrote:

When I run make, I get the annexed error messages. I’m using the latest
verion of Boost.
Any clues on what is wrong?

/home/mido/Download/gnuradio/gruel/src/lib/.libs/libgruel.so: undefined
reference to `boost::thread::start_thread()’

You either need to set LD_LIBRARY_PATH to the directory the
hand-compiled Boost libraries are in, or add that directory to the
system ld.so.conf.

Johnathan