我在centos 7中编译pion网络库时遇到错误。我已经安装了boost 1.53。
错误:
make [1]:进入目录
/home/admin/pion-5.0.6/pion-5.0.6/utils' CXXLD helloserver
提升:: re_detail_106100 :: cpp_regex_traits_implementation :: transform(char const *,char const *)const' ../src/.libs/libpion.so:未定义的引用
../src/.libs/libpion.so: undefined reference toboost::thread_detail::rollback_once_region(boost::once_flag&)' ../src/.libs/libpion.so: undefined reference to
的boost :: re_detail_106100 :: perl_matcher< __ gnu_cxx :: __ normal_iterator, std :: allocator> >,boost :: regex_traits>:: construct_init(boost :: basic_regex>> const&, 提高:: regex_constants :: _ match_flags)' ../src/.libs/libpion.so: 未定义的引用
boost::thread_detail::commit_once_region(boost::once_flag&)' ../src/.libs/libpion.so: undefined reference to
boost :: re_detail_106100 :: cpp_regex_traits_implementation :: transform_primary(char const *,char const *)const' ../src/.libs/libpion.so:undefined 参考boost::re_detail_106100::raise_runtime_error(std::runtime_error const&)' ../src/.libs/libpion.so: undefined reference to
的boost :: re_detail_106100 :: get_mem_block()' ../src/.libs/libpion.so: 未定义的引用boost::re_detail_106100::get_default_error_string(boost::regex_constants::error_type)' ../src/.libs/libpion.so: undefined reference to
的boost :: re_detail_106100 :: put_mem_block(无效*)' ../src/.libs/libpion.so:未定义的引用boost::re_detail_106100::verify_options(unsigned int, boost::regex_constants::_match_flags)' ../src/.libs/libpion.so: undefined reference to
的boost :: thread_detail :: enter_once_region(升压:: once_flag&安培;)' collect2: 错误:ld返回1退出状态make [1]: * [helloserver]错误1 make [1]:离开目录`/home/admin/pion-5.0.6/pion-5.0.6/utils' make:* [all-recursive]错误1
请帮我解决这个问题..