[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Gnuradio3.7 make error
From: |
Harry Zhang |
Subject: |
[Discuss-gnuradio] Gnuradio3.7 make error |
Date: |
Tue, 30 Jul 2013 10:44:55 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
Hi,
I'm using Ubuntu 12.04 and libboost1.46. I got the following errors
when I make the project.
[ 85%] Building CXX object
gr-uhd/examples/c++/CMakeFiles/tags_demo.dir/tags_demo.cc.o
Linking CXX executable tags_demo
/usr/bin/ld: warning: libboost_date_time.so.1.40.0, needed by
/usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_filesystem.so.1.40.0, needed by
/usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_program_options.so.1.40.0, needed by
/usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_regex.so.1.40.0, needed by
/usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_system.so.1.40.0, needed by
/usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_thread.so.1.40.0, needed by
/usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_unit_test_framework.so.1.40.0, needed by
/usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libuhd.so: undefined reference to
`boost::filesystem::detail::dir_itr_increment(void*&, void*&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&,
boost::filesystem::file_status&, boost::filesystem::file_status&)'
/usr/local/lib/libuhd.so: undefined reference to
`boost::thread_resource_error::thread_resource_error()'
/usr/local/lib/libuhd.so: undefined reference to
`boost::filesystem::detail::dir_itr_close(void*&, void*&)'
/usr/local/lib/libuhd.so: undefined reference to
`boost::lock_error::lock_error()'
/usr/local/lib/libuhd.so: undefined reference to
`boost::filesystem::detail::dir_itr_first(void*&, void*&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, boost::filesystem::file_status&,
boost::filesystem::file_status&)'
/usr/local/lib/libuhd.so: undefined reference to
`boost::filesystem::detail::get_current_path_api(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
/usr/local/lib/libuhd.so: undefined reference to
`boost::re_detail::get_mem_block()'
/usr/local/lib/libuhd.so: undefined reference to
`boost::filesystem::detail::not_found_error()'
/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::system::get_generic_category()'
/usr/local/lib/libuhd.so: undefined reference to
`boost::system::get_system_category()'
/usr/local/lib/libuhd.so: undefined reference to
`boost::re_detail::put_mem_block(void*)'
/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::re_detail::cpp_regex_traits_implementation<char>::transform_primary(char
const*, char const*) 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::filesystem::detail::status_api(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
boost::system::error_code&)'
/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::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::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned int)'
collect2: 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
- [Discuss-gnuradio] Gnuradio3.7 make error,
Harry Zhang <=
Re: [Discuss-gnuradio] Gnuradio3.7 make error, Josh Blum, 2013/07/30