Boost error when i make scidb on scientific linux 6.1


#1

I have successfully cmake the scidb-12.3.0.4813-Snowdrop-final on my server(Scientific Linux 6.1),but when i try to make, there is an error in the process(73%) as follows:

Linking CXX executable ../bin/scidb CMakeFiles/scidb.dir/network/entry.cpp.o: In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' CMakeFiles/scidb.dir/network/entry.cpp.o: In function `error_code': /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' CMakeFiles/scidb.dir/network/entry.cpp.o: In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' CMakeFiles/scidb.dir/network/entry.cpp.o: In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' CMakeFiles/scidb.dir/network/entry.cpp.o: In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' CMakeFiles/scidb.dir/network/entry.cpp.o: In function `error_code': /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' CMakeFiles/scidb.dir/network/entry.cpp.o: In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' CMakeFiles/scidb.dir/network/entry.cpp.o:/usr/local/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow network/libnetwork_lib.a(NetworkManager.cpp.o): In function `make_error_condition': /usr/local/include/boost/system/error_code.hpp:480: undefined reference to `boost::system::generic_category()' network/libnetwork_lib.a(NetworkManager.cpp.o): In function `error_code': /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o): In function `error_code': /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o):/usr/local/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow network/libnetwork_lib.a(NetworkManager.cpp.o): In function `make_error_condition': /usr/local/include/boost/system/error_code.hpp:480: undefined reference to `boost::system::generic_category()' network/libnetwork_lib.a(NetworkManager.cpp.o): In function `error_code': /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o): In function `error_code': /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o):/usr/local/include/boost/asio/error.hpp:220: more undefined references to `boost::system::system_category()' follow network/libnetwork_lib.a(NetworkManager.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o): In function `error_code': /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o): In function `error_code': /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(NetworkManager.cpp.o):/usr/local/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow network/libnetwork_lib.a(BaseConnection.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(BaseConnection.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(BaseConnection.cpp.o): In function `error_code': /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(BaseConnection.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(BaseConnection.cpp.o): In function `error_code': /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(BaseConnection.cpp.o):/usr/local/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow network/libnetwork_lib.a(Connection.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(Connection.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(Connection.cpp.o): In function `error_code': /usr/local/include/boost/system/error_code.hpp:315: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(Connection.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(Connection.cpp.o):/usr/local/include/boost/system/error_code.hpp:315: more undefined references to `boost::system::system_category()' follow network/libnetwork_lib.a(MessageHandleJob.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(MessageHandleJob.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(ClientMessageHandleJob.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(ClientMessageHandleJob.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(MessageUtils.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' network/libnetwork_lib.a(MessageUtils.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' system/libsystem_lib.a(Config.cpp.o): In function `get_single_string<char>': /usr/local/include/boost/program_options/detail/value_semantic.hpp:58: undefined reference to `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/boost/program_options/detail/value_semantic.hpp:62: undefined reference to `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' system/libsystem_lib.a(Config.cpp.o): In function `scidb::Config::parse(int, char**, char const*)': /opt/src/scidb-12.3.0.4813-Snowdrop-final/src/system/Config.cpp:233: undefined reference to `boost::program_options::options_description::options_description(unsigned int, unsigned int)' /opt/src/scidb-12.3.0.4813-Snowdrop-final/src/system/Config.cpp:234: undefined reference to `boost::program_options::options_description::options_description(unsigned int, unsigned int)' system/libsystem_lib.a(Cluster.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' system/libsystem_lib.a(Cluster.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' system/libsystem_lib.a(Resources.cpp.o): In function `boost::filesystem3::path::codecvt()': /usr/local/include/boost/filesystem/v3/path.hpp:377: undefined reference to `boost::filesystem3::path::wchar_t_codecvt_facet()' system/libsystem_lib.a(Resources.cpp.o): In function `exists': /usr/local/include/boost/filesystem/v3/operations.hpp:218: undefined reference to `boost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code*)' system/libsystem_lib.a(Resources.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' system/libsystem_lib.a(Resources.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `void boost::archive::detail::shared_ptr_helper::reset<scidb::Expression>(boost::shared_ptr<scidb::Expression>&, scidb::Expression*)': /usr/local/include/boost/archive/shared_ptr_helper.hpp:183: undefined reference to `boost::archive::detail::shared_ptr_helper::get_od(void const*, boost::serialization::extended_type_info const*, boost::serialization::extended_type_info const*)' /usr/local/include/boost/archive/shared_ptr_helper.hpp:192: undefined reference to `boost::archive::detail::shared_ptr_helper::append(boost::shared_ptr<void const> const&)' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `void boost::archive::detail::shared_ptr_helper::reset<scidb::OperatorParam>(boost::shared_ptr<scidb::OperatorParam>&, scidb::OperatorParam*)': /usr/local/include/boost/archive/shared_ptr_helper.hpp:183: undefined reference to `boost::archive::detail::shared_ptr_helper::get_od(void const*, boost::serialization::extended_type_info const*, boost::serialization::extended_type_info const*)' /usr/local/include/boost/archive/shared_ptr_helper.hpp:192: undefined reference to `boost::archive::detail::shared_ptr_helper::append(boost::shared_ptr<void const> const&)' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `void boost::archive::detail::shared_ptr_helper::reset<scidb::PhysicalQueryPlanNode>(boost::shared_ptr<scidb::PhysicalQueryPlanNode>&, scidb::PhysicalQueryPlanNode*)': /usr/local/include/boost/archive/shared_ptr_helper.hpp:183: undefined reference to `boost::archive::detail::shared_ptr_helper::get_od(void const*, boost::serialization::extended_type_info const*, boost::serialization::extended_type_info const*)' /usr/local/include/boost/archive/shared_ptr_helper.hpp:192: undefined reference to `boost::archive::detail::shared_ptr_helper::append(boost::shared_ptr<void const> const&)' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `invoke<boost_132::detail::sp_counted_base*>': /usr/local/include/boost/archive/detail/iserializer.hpp:524: undefined reference to `boost::archive::detail::basic_iarchive::load_pointer(void*&, boost::archive::detail::basic_pointer_iserializer const*, boost::archive::detail::basic_pointer_iserializer const* (*)(boost::serialization::extended_type_info const&))' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `invoke<scidb::OperatorParam*>': /usr/local/include/boost/archive/detail/iserializer.hpp:524: undefined reference to `boost::archive::detail::basic_iarchive::load_pointer(void*&, boost::archive::detail::basic_pointer_iserializer const*, boost::archive::detail::basic_pointer_iserializer const* (*)(boost::serialization::extended_type_info const&))' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `load<boost::archive::text_iarchive, scidb::OperatorParam>': /usr/local/include/boost/serialization/shared_ptr.hpp:133: undefined reference to `boost::archive::detail::shared_ptr_helper::append(boost_132::shared_ptr<void const> const&)' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `invoke<scidb::OperatorParam*>': /usr/local/include/boost/archive/detail/iserializer.hpp:524: undefined reference to `boost::archive::detail::basic_iarchive::load_pointer(void*&, boost::archive::detail::basic_pointer_iserializer const*, boost::archive::detail::basic_pointer_iserializer const* (*)(boost::serialization::extended_type_info const&))' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `invoke<scidb::PhysicalQueryPlanNode*>': /usr/local/include/boost/archive/detail/iserializer.hpp:524: undefined reference to `boost::archive::detail::basic_iarchive::load_pointer(void*&, boost::archive::detail::basic_pointer_iserializer const*, boost::archive::detail::basic_pointer_iserializer const* (*)(boost::serialization::extended_type_info const&))' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `invoke<scidb::OperatorParam*>': /usr/local/include/boost/archive/detail/iserializer.hpp:524: undefined reference to `boost::archive::detail::basic_iarchive::load_pointer(void*&, boost::archive::detail::basic_pointer_iserializer const*, boost::archive::detail::basic_pointer_iserializer const* (*)(boost::serialization::extended_type_info const&))' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `invoke<scidb::Expression*>': /usr/local/include/boost/archive/detail/iserializer.hpp:524: undefined reference to `boost::archive::detail::basic_iarchive::load_pointer(void*&, boost::archive::detail::basic_pointer_iserializer const*, boost::archive::detail::basic_pointer_iserializer const* (*)(boost::serialization::extended_type_info const&))' /usr/local/include/boost/archive/detail/iserializer.hpp:524: undefined reference to `boost::archive::detail::basic_iarchive::load_pointer(void*&, boost::archive::detail::basic_pointer_iserializer const*, boost::archive::detail::basic_pointer_iserializer const* (*)(boost::serialization::extended_type_info const&))' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `load<boost::archive::text_iarchive, scidb::Expression>': /usr/local/include/boost/serialization/shared_ptr.hpp:133: undefined reference to `boost::archive::detail::shared_ptr_helper::append(boost_132::shared_ptr<void const> const&)' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `invoke<scidb::PhysicalQueryPlanNode*>': /usr/local/include/boost/archive/detail/iserializer.hpp:524: undefined reference to `boost::archive::detail::basic_iarchive::load_pointer(void*&, boost::archive::detail::basic_pointer_iserializer const*, boost::archive::detail::basic_pointer_iserializer const* (*)(boost::serialization::extended_type_info const&))' query/libqproc_lib.a(QueryProcessor.cpp.o): In function `load<boost::archive::text_iarchive, scidb::PhysicalQueryPlanNode>': /usr/local/include/boost/serialization/shared_ptr.hpp:133: undefined reference to `boost::archive::detail::shared_ptr_helper::append(boost_132::shared_ptr<void const> const&)' query/libqproc_lib.a(Query.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(Query.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(SciDBExecutor.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(SciDBExecutor.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(RemoteArray.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(RemoteArray.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(Operator.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(Operator.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(ALTranslator.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(ALTranslator.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(L2POptimizer.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(L2POptimizer.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(HabilisOptimizer.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(HabilisOptimizer.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(Optimizer.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/libqproc_lib.a(Optimizer.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' array/libarray_lib.a(FileArray.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' array/libarray_lib.a(FileArray.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' array/libarray_lib.a(DBArray.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' array/libarray_lib.a(DBArray.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' smgr/io/libio_lib.a(Storage.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' smgr/io/libio_lib.a(Storage.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' smgr/io/libio_lib.a(ReplicationManager.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' smgr/io/libio_lib.a(ReplicationManager.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/libscalar_proc_lib.a(Expression.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/libscalar_proc_lib.a(Expression.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/libscalar_proc_lib.a(FunctionLibrary.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/libscalar_proc_lib.a(FunctionLibrary.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalSubArray.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalSubArray.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalSG.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalSG.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalStore.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalStore.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalFlip.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalFlip.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalFlipStore.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalFlipStore.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalReshape.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalReshape.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalRepart.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalRepart.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalLoadLibrary.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalLoadLibrary.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalAggregate.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalAggregate.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalRegrid.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalRegrid.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(MultiplyArray.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(MultiplyArray.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalInverse.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalInverse.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalSort.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalSort.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalSort.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalSort.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(MergeSortArray.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(MergeSortArray.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalConcat.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalConcat.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(BuildArray.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(BuildArray.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(BuildSparseArray.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(BuildSparseArray.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalRemove.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalRemove.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalNormalize.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalNormalize.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalSave.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalSave.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalCross.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalCross.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalLookup.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalLookup.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalInput.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalInput.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalExplainPhysical.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalExplainPhysical.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalExplainLogical.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalExplainLogical.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(LogicalMaterialize.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(LogicalMaterialize.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalMaterialize.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' query/ops/libops_lib.a(PhysicalMaterialize.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' smgr/delta/libdelta_lib.a(Delta.cpp.o): In function `__static_initialization_and_destruction_0': /usr/local/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' smgr/delta/libdelta_lib.a(Delta.cpp.o): In function `get_system_category': /usr/local/include/boost/asio/error.hpp:220: undefined reference to `boost::system::system_category()' collect2: ld 返回 1 make[2]: *** [bin/scidb] 错误 1 make[1]: *** [src/CMakeFiles/scidb.dir/all] 错误 2 make: *** [all] 错误 2
it seems related to boost, there are some similar errors on the Internet, but there is none related to scidb compiling. Any advice is welcomed!


#2

Welcome to the wonderful wacky world of boost!

Overall, the boost project really doesn’t care about backwards compatibility. Here’s what they say in their FAQ at http://www.boost.org/doc/libs/1_33_1/more/faq.htm.

How can the Boost libraries be used successfully for important projects?  Many of the Boost libraries are actively maintained and improved, so backward compatibility with prior version isn't always possible. Deal with this by freezing the version of the Boost libraries used by your project. Only upgrade at points in your project's life cycle where a bit of change will not cause problems. Individual bug fixes can always be obtained from the CVS repository.

This is a particular problem for us as we’re trying to get out on multiple Linux distributions which typically each includes (by default) a different boost release. So in the end we threw our hands in the air and took their advice. We froze the version of boost we use in SciDB to 1.43. My guess is that your Scientific Linux ships, by default, a later version, and the boost crew have changed the boost::system interface for some reason.

One of the things we’ve done w/ 13.6 is to try to re-organize and rationalize the build process to make it easier to port SciDB. Have a look in the new trunk/deployment directory, where there’s a shell script “deploy.sh” which tries to ensure that all of the package dependencies are met. Here’s what the help on that utility looks like:

$ ./deployment/deploy.sh --help
Source path: /Devel/trunk
Script common path: /Devel/trunk/deployment/common
Build path: /home/plumber/Devel/trunk/deployment
SciDB version: 13.6
Executing: --help

USAGE
  deploy.sh usage - print this usage
  deploy.sh help  - print verbose help

Configuring remote access:
  deploy.sh access  <os_user> <os_user_passwd> <ssh_public_key> <host ...>

Preparing remote machines:
  deploy.sh prepare_toolchain   <host ...>
  deploy.sh setup_ccache        <scidb_os_user> <host ...>
  deploy.sh prepare_chroot      <scidb_os_user> <host ...>
  deploy.sh prepare_postgresql  <postgresql_os_username>
                                <postgresql_os_password>
                                <network/mask>
                                <scidb-coordinator-host>
Building packages:
  deploy.sh build       {Debug|RelWithDebInfo|Release} <packages_path>
  deploy.sh build_fast  <packages_path>
  deploy.sh build_deps  <packages_path>

SciDB control on remote machines:
  deploy.sh scidb_install    <packages_path> <coordinator-host> [host ...]
  deploy.sh scidb_remove     <packages_path> <coordinator-host> [host ...]
  deploy.sh scidb_prepare    <scidb_os_user> <scidb_os_passwd> <db_user> <db_passwd>
                             <database> <base_path>
                             <instance_count> <no_watchdog> <redundancy> <chunk-segment-size>
                             <coordinator-host> [host ...]
  deploy.sh scidb_start      <scidb_os_user> <database> <coordinator-host>
  deploy.sh scidb_stop       <scidb_os_user> <database> <coordinator-host>

#3

Thanks a lot.
I installed the boost1.41 by yum, it didn’t work well and raised the error I mentioned.
Thanks to plumber’s advice, I remove this boost release and build and install boost 1.43 from a source release. It works!