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
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::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, std::allocator > 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’