|
From: | Hans Glitsch |
Subject: | [Discuss-gnuradio] rev 6467 make problem |
Date: | Tue, 18 Sep 2007 15:56:33 -0700 |
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 |
[Prev in Thread] | Current Thread | [Next in Thread] |