On Fri, Mar 1, 2013 at 12:42 AM, Ahmed Alsawi <ahmedalsawi2...@gmail.com> wrote: > Hi, > I am trying to build old version of gnuradio 3.4.0 on ubuntu 12.04 but i > keep getting these errors. > > libtool: link: g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o > .libs/usrp_rx_cfile usrp_rx_cfile.o > ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so > ~/gnuradio-3.4.0/usrp/host/lib/.libs/libusrp.so > ../../gr-usrp/src/.libs/libgnuradio-usrp.so -L/usr/lib > -lboost_program_options-mt /usr/lib/i386-linux-gnu/libltdl.so -pthread > ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined > reference to > `boost::filesystem3::detail::create_directory(boost::filesystem3::path > const&, boost::system::error_code*)' > ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined > reference to `boost::filesystem3::path::operator/=(boost::filesystem3::path > const&)' > ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined > reference to `boost::system::system_category()' > ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined > reference to `boost::filesystem3::detail::status(boost::filesystem3::path > const&, boost::system::error_code*)' > ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined > reference to `boost::filesystem3::path::wchar_t_codecvt_facet()' > ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined > reference to `boost::system::generic_category()' > collect2: ld returned 1 exit status > make[5]: *** [usrp_rx_cfile] Error 1 > make[5]: Leaving directory `~/gnuradio-3.4.0/gr-usrp/apps' > make[4]: *** [all] Error 2 > make[4]: Leaving directory `~/gnuradio-3.4.0/gr-usrp/apps' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `~/gnuradio-3.4.0/gr-usrp' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `~/gnuradio-3.4.0/gr-usrp' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `~/gnuradio-3.4.0' > make: *** [all] Error 2 > > > according to an old thread, old gnuradio has to be linked to older version > of boost so i compiled boost 1.40.0 > and used it to build gnuradio.but i got same errors again. > > How to fix this error?
Make sure you do a 'make clean' and then reconfigure now that you have the different version of Boost installed. Make sure that the configure scripts are actually finding the right version of Boost as well. Then rebuild and see if that helps. Tom _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio