discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] build error: test_gruel.o: undefined reference to symbol 'boost::system::get_system_category()'
Date: Wed, 30 Mar 2011 12:05:42 -0400

On Wed, Mar 30, 2011 at 11:18 AM, address@hidden <address@hidden> wrote:
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


Oh come on! It's still March, what are you doing on 11.04? </snark>

So this is the same problem that people running the latest Debian are running into, and it's basically based on a new policy for linking. They are being more strict, and we've been lazy.

 
I can bypass this by manually adding -lboost_system -lboost_filesystem


You've identified the solution. I will try to find time tonight to work out the right way to incorporate this into our build structure.

Tom


 
 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

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


reply via email to

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