[Top][All Lists]

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

Re: [Discuss-gnuradio] mblock linking error

From: Tim Meehan
Subject: Re: [Discuss-gnuradio] mblock linking error
Date: Thu, 1 Mar 2007 06:00:07 -0500

tim /etc/ld.so.conf



Some more possibly usefull infromation

g++ -g -O2 -Wall -Woverloaded-virtual -o .libs/test_mblock
test_mblock.o  -pthread ./.libs/libmblock-qa.so -Wl,--rpath

results in

./.libs/libmblock-qa.so: undefined reference to `mb_mblock::handle_message(boost

this symbol,  `mb_mblock::handle_message(boost::shared_ptr<mb_message>)'

is in .libs/mb_mblock.o

but it is not clear to me where g++ was told to find it from the command above.

On 2/28/07, Eric Blossom <address@hidden> wrote:
On Wed, Feb 28, 2007 at 04:54:14PM -0500, Tim Meehan wrote:
> Hi Johnathan,
> make clean
> ./bootstrap
> ./configure
> make
> also fails.  See below
> If there is something I can do to help you figure this out let me
> know, but don't sweat it on my account.  For the moment I will just
> run without mblock and when I get some time I will dig into it.
> creating libmblock-qa.la
> (cd .libs && rm -f libmblock-qa.la && ln -s ../libmblock-qa.la
> libmblock-qa.la)
> if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DOMNITHREAD_POSIX=1
> -I../../../omnithread -I../../../pmt/src/lib     -g -O2 -Wall
> -Woverloaded-virtual -pthread -MT test_mblock.o -MD -MP -MF
> ".deps/test_mblock.Tpo" -c -o test_mblock.o test_mblock.cc; \
> then mv -f ".deps/test_mblock.Tpo" ".deps/test_mblock.Po"; else rm -f
> ".deps/test_mblock.Tpo"; exit 1; fi
> /bin/sh ../../../libtool --tag=CXX --mode=link g++ -g -O2 -Wall
> -Woverloaded-virtual -pthread   -o test_mblock  test_mblock.o
> libmblock-qa.la
> g++ -g -O2 -Wall -Woverloaded-virtual -o .libs/test_mblock
> test_mblock.o  -pthread ./.libs/libmblock-qa.so -Wl,--rpath
> -Wl,/usr/local/lib
> ./.libs/libmblock-qa.so: undefined reference to
> `mb_mblock::handle_message(boost::shared_ptr<mb_message>)'
> ./.libs/libmblock-qa.so: undefined reference to
> `omni_thread::init_t::init_t[in-charge]()'
> ./.libs/libmblock-qa.so: undefined reference to
> `mb_mblock_impl::make_accepter(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >)'

Tim and Johnathan, can you please post the contents of your /etc/ld.so.conf?


reply via email to

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