discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] rev 6467 make problem


From: George Nychis
Subject: Re: [Discuss-gnuradio] rev 6467 make problem
Date: Tue, 18 Sep 2007 19:11:09 -0400
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

Hi Hans,

This is in my realm, but I don't know the exact answer yet... just tossing out my knowledge to help.

But it seems as though the libusrp_inband-qa (QA code for the inband code) is not linking to the PMT library correctly... or the PMT library is never built.

Can you report your output of ./configure ?

Under "The following GNU Radio components have been successfully configured:"

... you should see "pmt" listed. If you don't, this could be the problem. I believe the PMT library depends on boost, so make sure you have that installed.

- George


Hans Glitsch wrote:
Hi,
I got svn rev 6467 of the gnuradio trunk today and it built fine (with no errors) on my Ubuntu desktop machine. Then I tried the same on my Ubuntu server machine and 'make' ended with the following: I deleted the entire `/home/superuser/SM1680/build/gnuradio' directory, did a svn checkout of 6467, ./bootstrap, ./configure, and then make g++ -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.1.2/crtbeginS.o .libs/qa_inband.o .libs/qa_inband_packet_prims.o .libs/qa_inband_usrp_server.o -Wl,--rpath -Wl,/home/superuser/SM1680/build/gnuradio/usrp/host/lib/inband/.libs -Wl,--rpath -Wl,/usr/local/lib ./.libs/libusrp_inband.so /usr/lib/libcppunit.so -ldl -L/usr/lib/gcc/i486-linux-gnu/4.1.2 -L/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crtn.o -pthread -Wl,-soname -Wl,libusrp_inband-qa.so -o .libs/libusrp_inband-qa.so
creating libusrp_inband-qa.la
(cd .libs && rm -f libusrp_inband-qa.la && ln -s ../libusrp_inband-qa.la libusrp_inband-qa.la) if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -DOMNITHREAD_POSIX=1 -I../../../../omnithread -I../../../../pmt/src/lib -I../../../../mblock/src/lib -I../../../../usrp/host/lib/legacy -I../../../../usrp/firmware/include -I./../../apps-inband -g -O2 -Wall -Woverloaded-virtual -pthread -MT test_inband.o -MD -MP -MF ".deps/test_inband.Tpo" -c -o test_inband.o test_inband.cc; \ then mv -f ".deps/test_inband.Tpo" ".deps/test_inband.Po"; else rm -f ".deps/test_inband.Tpo"; exit 1; fi /bin/bash ../../../../libtool --tag=CXX --mode=link g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o test_inband test_inband.o libusrp_inband-qa.la g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o .libs/test_inband test_inband.o ./.libs/libusrp_inband-qa.so -Wl,--rpath -Wl,/usr/local/lib ./.libs/libusrp_inband-qa.so: undefined reference to `pmt_list5(boost::shared_ptr<pmt_base>, boost::shared_ptr<pmt_base>, boost::shared_ptr<pmt_base>, boost::shared_ptr<pmt_base>, boost::shared_ptr<pmt_base>)' /home/superuser/SM1680/build/gnuradio/usrp/host/lib/inband/.libs/libusrp_inband.so.0: undefined reference to `pmt_make_any(boost::any const&)'
./.libs/libusrp_inband-qa.so: undefined reference to `PMT_F'
/home/superuser/SM1680/build/gnuradio/mblock/src/lib/.libs/libmblock.so: undefined reference to `pmt_is_eof_object(boost::shared_ptr<pmt_base>)'
./.libs/libusrp_inband-qa.so: undefined reference to `PMT_T'
/home/superuser/SM1680/build/gnuradio/usrp/host/lib/inband/.libs/libusrp_inband.so.0: undefined reference to `pmt_any_ref(boost::shared_ptr<pmt_base>)' /home/superuser/SM1680/build/gnuradio/usrp/host/lib/inband/.libs/libusrp_inband.so.0: undefined reference to `pmt_list6(boost::shared_ptr<pmt_base>, boost::shared_ptr<pmt_base>, boost::shared_ptr<pmt_base>, boost::shared_ptr<pmt_base>, boost::shared_ptr<pmt_base>, boost::shared_ptr<pmt_base>)' /home/superuser/SM1680/build/gnuradio/mblock/src/lib/.libs/libmblock.so: undefined reference to `pmt_deserialize(std::basic_streambuf<char, std::char_traits<char> >&)'
collect2: ld returned 1 exit status
make[6]: *** [test_inband] Error 1
make[6]: Leaving directory `/home/superuser/SM1680/build/gnuradio/usrp/host/lib/inband'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/superuser/SM1680/build/gnuradio/usrp/host/lib/inband'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/superuser/SM1680/build/gnuradio/usrp/host/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/superuser/SM1680/build/gnuradio/usrp/host'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/superuser/SM1680/build/gnuradio/usrp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/superuser/SM1680/build/gnuradio'
make: *** [all] Error 2
thanks for your help,
Hans

------------------------------------------------------------------------

_______________________________________________
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]