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: Tom Rondeau
Subject: Re: [Discuss-gnuradio] error while compiling gnuradio 3.4.0
Date: Wed, 6 Mar 2013 18:17:01 -0500

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]