discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] error building gnuradio 3.4.0


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] error building gnuradio 3.4.0
Date: Fri, 1 Mar 2013 09:10:52 -0500

On Fri, Mar 1, 2013 at 12:42 AM, Ahmed Alsawi <address@hidden> 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



reply via email to

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