discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] compiling gnuradio with gcc-4.5


From: Sim IJskes
Subject: Re: [Discuss-gnuradio] compiling gnuradio with gcc-4.5
Date: Thu, 24 Mar 2011 12:42:48 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

On 24-03-11 08:56, Sim IJskes wrote:
I've tried to build gnuradio under debian sid, and it fails during
linking. Debian has changed the DSO linking defaults:

http://wiki.debian.org/ToolChain/DSOLinking

My first guess is, this is causing the linkage problem. Compiling with
gcc-4.4 is no option, because it will not link with libboost then.

If you have compiled with gcc-4.5 already, and found a quick fix, or no
problems, or any other outcome, please let us know?

Compiling from tag v3.3.1

The error is:

/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o usrp_rx_cfile usrp_rx_cfile.o ../../gr-usrp/src/libgnuradio-usrp.la -L/usr/lib -lboost_program_options-mt libtool: link: g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o .libs/usrp_rx_cfile usrp_rx_cfile.o ../../gr-usrp/src/.libs/libgnuradio-usrp.so -L/usr/lib -lboost_program_options-mt -pthread /usr/bin/ld: usrp_rx_cfile.o: undefined reference to symbol 'gr_top_block::gr_top_block(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: note: 'gr_top_block::gr_top_block(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' is defined in DSO //home/sim/gnuradio/gnuradio/gnuradio-core/src/lib/.libs/libgnuradio-core-3.3.1.so.0 so try adding it to the linker command line //home/sim/gnuradio/gnuradio/gnuradio-core/src/lib/.libs/libgnuradio-core-3.3.1.so.0: could not read symbols: Invalid operation





reply via email to

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