discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] error while compiling gnuradio 3.4.0


From: Ahmed Alsawi
Subject: Re: [Discuss-gnuradio] error while compiling gnuradio 3.4.0
Date: Thu, 7 Mar 2013 23:54:04 +0200

I had installed all boost packages at /opt/boost_1_40_0/
here are  boost libraries compiled

$ ls
libboost_date_time.a           libboost_math_c99f.so.1.40.0  libboost_prg_exec_monitor.so.1.40.0  libboost_system.a
libboost_date_time.so          libboost_math_c99l.a          libboost_program_options.a           libboost_system.so
libboost_date_time.so.1.40.0   libboost_math_c99l.so         libboost_program_options.so          libboost_system.so.1.40.0
libboost_filesystem.a          libboost_math_c99l.so.1.40.0  libboost_program_options.so.1.40.0   libboost_test_exec_monitor.a
libboost_filesystem.so         libboost_math_c99.so.1.40.0   libboost_python.a                    libboost_thread.a
libboost_filesystem.so.1.40.0  libboost_math_tr1.a           libboost_python.so                   libboost_thread.so
libboost_graph.a               libboost_math_tr1.so          libboost_python.so.1.40.0            libboost_thread.so.1.40.0
libboost_graph.so              libboost_math_tr1f.a          libboost_regex.a                     libboost_unit_test_framework.a
libboost_graph.so.1.40.0       libboost_math_tr1f.so         libboost_regex.so                    libboost_unit_test_framework.so
libboost_iostreams.a           libboost_math_tr1f.so.1.40.0  libboost_regex.so.1.40.0             libboost_unit_test_framework.so.1.40.0
libboost_iostreams.so          libboost_math_tr1l.a          libboost_serialization.a             libboost_wave.a
libboost_iostreams.so.1.40.0   libboost_math_tr1l.so         libboost_serialization.so            libboost_wave.so
libboost_math_c99.a            libboost_math_tr1l.so.1.40.0  libboost_serialization.so.1.40.0     libboost_wave.so.1.40.0
libboost_math_c99.so           libboost_math_tr1.so.1.40.0   libboost_signals.a                   libboost_wserialization.a
libboost_math_c99f.a           libboost_prg_exec_monitor.a   libboost_signals.so                  libboost_wserialization.so
libboost_math_c99f.so          libboost_prg_exec_monitor.so  libboost_signals.so.1.40.0           libboost_wserialization.so.1.40.0

and i invoked the configure using
$ ./configure --enable-usrp --enable-gr-usrp --with-boost=$BOOST_PREFIX   
I made sure that Makefiles contains  /opt/boost_1_40_0/include and link to /opt/boost_1_40_0/lib

still gives same errors.
Any Ideas ?




On Thu, Mar 7, 2013 at 1:17 AM, Tom Rondeau <address@hidden> wrote:
On Wed, Mar 6, 2013 at 6:12 PM, Ahmed Alsawi <address@hidden> wrote:
> HI all,
> I am trying to compiles gnuradio 3.4.0 with an old boost library and
> compilation fails with these error.
> I found an  old thread that says that problem is linking policy
> http://lists.gnu.org/archive/html/discuss-gnuradio/2011-03/msg00465.html
> any ideas ?
> Thanks

Are you sure you have the Boost threads development library installed
(Boost is made up of a number of packages, so just having Boost
doesn't mean you have all of the necessary ones).

Tom


> 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
> /usr/bin/ld: warning: libboost_thread.so.1.40.0, needed by
> ~/gnuradio-3.4.0/gruel/src/lib/.libs/libgruel-3.4.0.so.0, not found (try
> using -rpath or -rpath-link)
> ~/gnuradio-3.4.0/gruel/src/lib/.libs/libgruel-3.4.0.so.0: undefined
> reference to `boost::thread::start_thread()'
> ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined
> reference to `boost::this_thread::interruption_point()'
> ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined
> reference to `typeinfo for boost::lock_error'
> ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined
> reference to `boost::thread_resource_error::~thread_resource_error()'
> ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined
> reference to `boost::thread_resource_error::thread_resource_error()'
> ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined
> reference to `boost::lock_error::~lock_error()'
> ~/gnuradio-3.4.0/gruel/src/lib/.libs/libgruel-3.4.0.so.0: undefined
> reference to
> `boost::this_thread::disable_interruption::~disable_interruption()'
> ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined
> reference to `typeinfo for boost::thread_resource_error'
> ~/gnuradio-3.4.0/gruel/src/lib/.libs/libgruel-3.4.0.so.0: undefined
> reference to `typeinfo for boost::detail::thread_data_base'
> ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined
> reference to `boost::detail::get_current_thread_data()'
> ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined
> reference to `boost::this_thread::interruption_requested()'
> ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined
> reference to `boost::lock_error::lock_error()'
> ~/gnuradio-3.4.0/gruel/src/lib/.libs/libgruel-3.4.0.so.0: undefined
> reference to `boost::detail::thread_data_base::~thread_data_base()'
> ~/gnuradio-3.4.0/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined
> reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)'
> ~/gnuradio-3.4.0/gruel/src/lib/.libs/libgruel-3.4.0.so.0: undefined
> reference to `boost::thread::~thread()'
> ~/gnuradio-3.4.0/gruel/src/lib/.libs/libgruel-3.4.0.so.0: undefined
> reference to `boost::thread::interrupt()'
> ~/gnuradio-3.4.0/gruel/src/lib/.libs/libgruel-3.4.0.so.0: undefined
> reference to `boost::thread::join()'
> ~/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()'
> ~/gnuradio-3.4.0/gruel/src/lib/.libs/libgruel-3.4.0.so.0: undefined
> reference to `vtable for boost::detail::thread_data_base'
> ~/gnuradio-3.4.0/gruel/src/lib/.libs/libgruel-3.4.0.so.0: undefined
> reference to
> `boost::this_thread::disable_interruption::disable_interruption()'
> 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'
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


reply via email to

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