WG: [Discuss-gnuradio] rev 6467 make problem
Sorry, this should have gone to the list ... | -Ursprüngliche Nachricht- | Von: Dominik Auras [mailto:[EMAIL PROTECTED] | Gesendet: Mittwoch, 19. September 2007 09:10 | An: 'Hans Glitsch' | Betreff: AW: [Discuss-gnuradio] rev 6467 make problem | | Hi! | | Have you fixed your libtool? | I don't know if this applies to the server version, but you | can give it a try. | | http://gnuradio.org/trac/wiki/UbuntuInstall#BrokenlibtoolonDeb | ianandUbuntu | | Greetings | Dominik ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] rev 6467 make problem
les/python/digital_voice/Makefile config.status: creating gnuradio-examples/python/multi-antenna/Makefile config.status: creating gnuradio-examples/python/multi_usrp/Makefile config.status: creating gnuradio-examples/python/network/Makefile config.status: creating gnuradio-examples/python/ofdm/Makefile config.status: creating gnuradio-examples/python/usrp/Makefile config.status: creating Makefile config.status: creating run_tests.sh config.status: creating config/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing run_tests_core commands config.status: executing swig_deps commands config.status: executing run_tests_usrp commands config.status: executing run_tests_alsa commands config.status: executing run_tests_oss commands config.status: executing run_tests_atsc commands config.status: executing run_tests_cvsd commands config.status: executing run_tests_gsm commands config.status: executing run_tests_pager commands config.status: executing run_tests_radar_mono commands config.status: executing run_tests_astronomy commands config.status: executing run_tests_gr_trellis commands config.status: executing run_tests_sdl commands config.status: executing run_tests_sounder commands config.status: executing run_tests_build commands * The following GNU Radio components have been successfully configured: config omnithread gnuradio-core pmt mblock usrp gr-usrp gr-audio-alsa gr-audio-oss gr-atsc gr-cvsd-vocoder gr-gsm-fr-vocoder gr-pager gr-radar-mono gr-radio-astronomy gr-trellis gr-video-sdl gr-wxgui gr-sounder gr-utils gnuradio-examples You my now run the make command to build these components. * The following components were skipped either because you asked not to build them or they didn't pass configuration checks: gr-audio-jack gr-audio-osx gr-audio-portaudio gr-audio-windows gr-comedi gr-qtgui These components will not be built. - Original Message - From: "George Nychis" <[EMAIL PROTECTED]> To: "Hans Glitsch" <[EMAIL PROTECTED]> Cc: "gnuradio mailing list" Sent: Tuesday, September 18, 2007 4:11 PM Subject: Re: [Discuss-gnuradio] rev 6467 make problem 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 ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] rev 6467 make problem
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, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr)' /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)' ./.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)' /home/superuser/SM1680/build/gnuradio/usrp/host/lib/inband/.libs/libusrp_inband.so.0: undefined reference to `pmt_list6(boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr)' /home/superuser/SM1680/build/gnuradio/mblock/src/lib/.libs/libmblock.so: undefined reference to `pmt_deserialize(std::basic_streambufstd::char_traits >&)' 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 Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] rev 6467 make problem
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, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr)' /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)' ./.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)' /home/superuser/SM1680/build/gnuradio/usrp/host/lib/inband/.libs/libusrp_inband.so.0: undefined reference to `pmt_list6(boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr, boost::shared_ptr)' /home/superuser/SM1680/build/gnuradio/mblock/src/lib/.libs/libmblock.so: undefined reference to `pmt_deserialize(std::basic_streambuf >&)' 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 Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio