discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] build error: test_gruel.o: undefined reference to sym


From: address@hidden
Subject: [Discuss-gnuradio] build error: test_gruel.o: undefined reference to symbol 'boost::system::get_system_category()'
Date: Wed, 30 Mar 2011 17:18:44 +0200

Hi all, does anyone else get this error message when compiling
GnuRadio? This is with latest code from today's master git tree, on
Ubuntu 11.04, boost 1.42

I can bypass this by manually adding -lboost_system -lboost_filesystem

  make[7]: Entering directory `/home/azimout/gnuradio/gruel/src/lib'
  /bin/bash ../../../libtool --tag=CXX   --mode=link g++ -g -O2  -Wall
-Woverloaded-virtual -pthread   -o test_gruel test_gruel.o
pmt/libpmt-qa.la libgruel.la -lltdl
  libtool: link: g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o
.libs/test_gruel test_gruel.o  pmt/.libs/libpmt-qa.a -L/usr/lib
-lboost_thread-mt /usr/lib/libcppunit.so -ldl ./.libs/libgruel.so
/usr/lib/libltdl.so -pthread
  /usr/bin/ld: test_gruel.o: undefined reference to symbol
'boost::system::get_system_category()'
  /usr/bin/ld: note: 'boost::system::get_system_category()' is defined
in DSO /usr/lib64/libboost_system.so.1.42.0 so try adding it to the
linker command line
  /usr/lib64/libboost_system.so.1.42.0: could not read symbols:
Invalid operation

Dimitrios Symeonidis
"If you think you're too small to make a difference, try sleeping with
a mosquito!" - Amnesty International



reply via email to

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