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: Ahmed Alsawi
Subject: Re: [Discuss-gnuradio] error building gnuradio 3.4.0
Date: Fri, 1 Mar 2013 17:48:43 +0200

Thanks, i did 'make clean' and rebuilt it but now i have these errors. they are still about linking to boost but different symbols.

libtool: link: g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o .libs/benchmark_dotprod_fff benchmark_dotprod_fff.o  ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so -lboost_filesystem /usr/lib/i386-linux-gnu/libltdl.so -pthread
~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined reference to `boost::system::get_system_category()'
~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined reference to `boost::filesystem::detail::create_directory_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined reference to `boost::system::get_generic_category()'
collect2: ld returned 1 exit status
make[7]: *** [benchmark_dotprod_fff] Error 1
make[7]: Leaving directory `~/gnuradio-3.4.0/gnuradio-core/src/tests'
make[6]: *** [all] Error 2
make[6]: Leaving directory `~/gnuradio-3.4.0/gnuradio-core/src/tests'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `~/gnuradio-3.4.0/gnuradio-core/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory `~/gnuradio-3.4.0/gnuradio-core/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `~/gnuradio-3.4.0/gnuradio-core'
make[2]: *** [all] Error 2
make[2]: Leaving directory `~/gnuradio-3.4.0/gnuradio-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `~/gnuradio-3.4.0'
make: *** [all] Error 2
 

On Fri, Mar 1, 2013 at 4:10 PM, Tom Rondeau <address@hidden> wrote:
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]