The CMake process may have its faults, but it won't randomly decide to use a boost version not installed. Make sure there really is no boost 4.6 anywhere on your machine, and clear out the build dir.
M On 07/21/2014 06:04 PM, Ngô Khắc Hoàng wrote: > 1. I do not use Pybombs. > > 2. To install libboost, I just ran: > sudo apt-get install libboost-all-dev. > By default, it get and install the latest of libboost (1.54). > > To check the version of libboost, I ran: dpkg -s libboost-dev | grep > 'Version', and get: > Version: 1.54.0.1ubuntu > > I do not understand why the GNU Radio installer call the libboost1.46. > > Hoang > >> Are you using Pybombs? Also, do you have several boost versions >> installed? Where are they? >> >> M >> >> >> On 07/21/2014 08:45 AM, Hoang Ngo Khac wrote: >>> Dear all, >>> >>> I'm installing GNU Radio 3.7.3 on Ubuntu 14.04. When I run "make", I got >>> this error: >>> >>> [ 86%] Built target gnuradio-uhd >>> Linking CXX executable tags_demo >>> /usr/bin/ld: warning: libboost_date_time.so.1.46.1, needed by >>> /usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link) >>> /usr/bin/ld: warning: libboost_filesystem.so.1.46.1, needed by >>> /usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link) >>> /usr/bin/ld: warning: libboost_regex.so.1.46.1, needed by >>> /usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link) >>> /usr/bin/ld: warning: libboost_system.so.1.46.1, needed by >>> /usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link) >>> /usr/bin/ld: warning: libboost_thread.so.1.46.1, needed by >>> /usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link) >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::thread::start_thread()' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::match_results<char const*, >>> std::allocator<boost::sub_match<char const*> > >>> >::maybe_assign(boost::match_results<char const*, >>> std::allocator<boost::sub_match<char const*> > > const&)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::re_detail::verify_options(unsigned int, >>> boost::regex_constants::_match_flags)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::re_detail::get_mem_block()' >>> /usr/local/lib/libuhd.so: undefined reference to >>> >>> `boost::filesystem3::detail::directory_iterator_increment(boost::filesystem3::directory_iterator&, >>> boost::system::error_code*)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::filesystem3::path::filename() const' >>> /usr/local/lib/libuhd.so: undefined reference to >>> >>> `boost::filesystem3::detail::directory_iterator_construct(boost::filesystem3::directory_iterator&, >>> boost::filesystem3::path const&, boost::system::error_code*)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::filesystem3::path::operator/=(boost::filesystem3::path const&)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::re_detail::perl_matcher<char const*, >>> std::allocator<boost::sub_match<char const*> >, >>> boost::regex_traits<char, boost::cpp_regex_traits<char> > >>> >::construct_init(boost::basic_regex<char, boost::regex_traits<char, >>> boost::cpp_regex_traits<char> > > const&, >>> boost::regex_constants::_match_flags)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::filesystem3::detail::status(boost::filesystem3::path const&, >>> boost::system::error_code*)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::this_thread::sleep(boost::posix_time::ptime const&)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> >>> `boost::re_detail::cpp_regex_traits_implementation<char>::transform_primary(char >>> const*, char const*) const' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::filesystem3::detail::system_complete(boost::filesystem3::path >>> const&, >>> boost::system::error_code*)' >>> /usr/local/lib/libuhd.so: undefined reference to `boost::thread::join()' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::filesystem3::path::wchar_t_codecvt_facet()' >>> /usr/local/lib/libuhd.so: undefined reference to >>> >>> `boost::re_detail::get_default_error_string(boost::regex_constants::error_type)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::filesystem3::detail::dir_itr_close(void*&, void*&)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::re_detail::cpp_regex_traits_implementation<char>::transform(char >>> const*, char const*) const' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::re_detail::put_mem_block(void*)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::basic_regex<char, boost::regex_traits<char, >>> boost::cpp_regex_traits<char> > >::do_assign(char const*, char >>> const*, unsigned int)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::re_detail::raise_runtime_error(std::runtime_error const&)' >>> /usr/local/lib/libuhd.so: undefined reference to >>> `boost::filesystem3::path::parent_path() const' >>> collect2: error: ld returned 1 exit status >>> make[2]: *** [gr-uhd/examples/c++/tags_demo] Error 1 >>> make[1]: *** [gr-uhd/examples/c++/CMakeFiles/tags_demo.dir/all] Error 2 >>> make: *** [all] Error 2 >>> >>> >>> The version of libboost I installed is 1.54. However, it seems like the >>> GNU Radio installer tried to use libboost1.46. I did run: >>> >>> cmake -DCMAKE_INSTALL_PREFIX=/opt/gnuradio-3.7.3 >>> -DENABLE_BAD_BOOST=True ../ >>> >>> but that error still happened. >>> >>> Could someone show me how to fix this? >>> >>> Thanks, >>> Hoang >>> -- >>> *Hoang Ngo-Khac* >>> Vietnam National University, Hanoi (VNU-H) >>> Univ. of Engineering and Technology (UET) >>> Faculty of Electronics and Telecommunications (FET) >>> Alternative email: hoangnk...@vnu.edu.vn <mailto:hoangnk...@vnu.edu.vn> >>> Mobilephone: +84.163.682.7874 >>> >>> >>> _______________________________________________ >>> Discuss-gnuradio mailing list >>> Discuss-gnuradio@gnu.org >>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>> >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> > > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio