duedal/scribe — comment on commit 67e46e6a0c93204050c677b121a42065d8686457
File:  line 0
By amolrajoba:

Ubuntu 11.10
Boost 1.46.1 (default Ubuntu 11.10)

Followed All above instructions still facing following errors.
undefined reference to `boost::system::generic_category()

g++ -Wall -O3 -L/usr/lib -lboost_system-mt -lboost_filesystem-mt -o scribed store.o store_queue.o conf.o file.o conn_pool.o scribe_server.o network_dynamic_config.o dynamic_bucket_updater.o env_default.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lfb303 -lthrift -lthriftnb -levent -lpthread libscribe.a libdynamicbucketupdater.a
store.o: In function `_ZN5boost11filesystem218create_directoriesINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_.constprop.422':
store.cpp:(.text+0x12155): undefined reference to `boost::system::system_category()'
store.cpp:(.text+0x12195): undefined reference to `boost::filesystem2::detail::status_api(std::basic_string, std::allocator > const&, boost::system::error_code&)'
store.cpp:(.text+0x121ea): undefined reference to `boost::system::system_category()'
store.cpp:(.text+0x12229): undefined reference to `boost::filesystem2::detail::status_api(std::basic_string, std::allocator > const&, boost::system::error_code&)'
store.cpp:(.text+0x1225b): undefined reference to `boost::system::generic_category()'
store.cpp:(.text+0x1241f): undefined reference to `boost::filesystem2::detail::create_directory_api(std::basic_string, std::allocator > const&)'
store.o: In function `_GLOBAL__sub_I_g_connPool':
store.cpp:(.text.startup+0x2c): undefined reference to `boost::system::generic_category()'
store.cpp:(.text.startup+0x36): undefined reference to `boost::system::generic_category()'
store.cpp:(.text.startup+0x40): undefined reference to `boost::system::system_category()'
store_queue.o: In function `_GLOBAL__sub_I__Z12threadStaticPv':
store_queue.cpp:(.text.startup+0x2c): undefined reference to `boost::system::generic_category()'
store_queue.cpp:(.text.startup+0x36): undefined reference to `boost::system::generic_category()'
store_queue.cpp:(.text.startup+0x40): undefined reference to `boost::system::system_category()'
file.o: In function `_ZN5boost11filesystem26existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_.constprop.248':
file.cpp:(.text+0xdc2): undefined reference to `boost::system::system_category()'
file.cpp:(.text+0xdfe): undefined reference to `boost::filesystem2::detail::status_api(std::basic_string, std::allocator > const&, boost::system::error_code&)'
file.o: In function `StdFile::fileSize()':
file.cpp:(.text+0x1a54): undefined reference to `boost::filesystem2::detail::file_size_api(std::basic_string, std::allocator > const&)'
file.o: In function `StdFile::deleteFile()':
file.cpp:(.text+0x1c6e): undefined reference to `boost::system::system_category()'
file.cpp:(.text+0x1cb2): undefined reference to `boost::filesystem2::detail::symlink_status_api(std::basic_string, std::allocator > const&, boost::system::error_code&)'
file.cpp:(.text+0x1d17): undefined reference to `boost::filesystem2::detail::remove_api(std::basic_string, std::allocator > const&)'
file.o: In function `_ZN5boost11filesystem218create_directoriesINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_.constprop.247':
file.cpp:(.text+0x1f1c): undefined reference to `boost::system::system_category()'
file.cpp:(.text+0x1f5c): undefined reference to `boost::filesystem2::detail::status_api(std::basic_string, std::allocator > const&, boost::system::error_code&)'
file.cpp:(.text+0x1fee): undefined reference to `boost::filesystem2::detail::create_directory_api(std::basic_string, std::allocator > const&)'
file.cpp:(.text+0x2081): undefined reference to `boost::system::generic_category()'
file.o: In function `boost::detail::sp_counted_impl_p, std::allocator >, boost::filesystem2::path_traits> > >::dispose()':
file.cpp:(.text._ZN5boost6detail17sp_counted_impl_pINS_11filesystem26detail11dir_itr_impINS2_10basic_pathISsNS2_11path_traitsEEEEEE7disposeEv[boost::detail::sp_counted_impl_p, std::allocator >, boost::filesystem2::path_traits> > >::dispose()]+0x25): undefined reference to `boost::filesystem2::detail::dir_itr_close(void*&, void*&)'
file.o: In function `boost::filesystem2::basic_directory_iterator, std::allocator >, boost::filesystem2::path_traits> >::increment()':
file.cpp:(.text._ZN5boost11filesystem224basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE9incrementEv[boost::filesystem2::basic_directory_iterator, std::allocator >, boost::filesystem2::path_traits> >::increment()]+0x40): undefined reference to `boost::system::system_category()'
file.cpp:(.text._ZN5boost11filesystem224basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE9incrementEv[boost::filesystem2::basic_directory_iterator, std::allocator >, boost::filesystem2::path_traits> >::increment()]+0x89): undefined reference to `boost::filesystem2::detail::dir_itr_increment(void*&, void*&, std::basic_string, std::allocator >&, boost::filesystem2::file_status&, boost::filesystem2::file_status&)'
file.cpp:(.text._ZN5boost11filesystem224basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE9incrementEv[boost::filesystem2::basic_directory_iterator, std::allocator >, boost::filesystem2::path_traits> >::increment()]+0x252): undefined reference to `boost::filesystem2::detail::dir_itr_increment(void*&, void*&, std::basic_string, std::allocator >&, boost::filesystem2::file_status&, boost::filesystem2::file_status&)'
file.o: In function `boost::filesystem2::basic_directory_iterator, std::allocator >, boost::filesystem2::path_traits> >::m_init(boost::filesystem2::basic_path, std::allocator >, boost::filesystem2::path_traits> const&)':
file.cpp:(.text._ZN5boost11filesystem224basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE6m_initERKS4_[boost::filesystem2::basic_directory_iterator, std::allocator >, boost::filesystem2::path_traits> >::m_init(boost::filesystem2::basic_path, std::allocator >, boost::filesystem2::path_traits> const&)]+0xa2): undefined reference to `boost::filesystem2::detail::dir_itr_first(void*&, void*&, std::basic_string, std::allocator > const&, std::basic_string, std::allocator >&, boost::filesystem2::file_status&, boost::filesystem2::file_status&)'
file.cpp:(.text._ZN5boost11filesystem224basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE6m_initERKS4_[boost::filesystem2::basic_directory_iterator, std::allocator >, boost::filesystem2::path_traits> >::m_init(boost::filesystem2::basic_path, std::allocator >, boost::filesystem2::path_traits> const&)]+0x1c7): undefined reference to `boost::system::system_category()'
file.cpp:(.text._ZN5boost11filesystem224basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE6m_initERKS4_[boost::filesystem2::basic_directory_iterator, std::allocator >, boost::filesystem2::path_traits> >::m_init(boost::filesystem2::basic_path, std::allocator >, boost::filesystem2::path_traits> const&)]+0x269): undefined reference to `boost::filesystem2::detail::not_found_error()'
file.o: In function `void boost::checked_delete, std::allocator >, boost::filesystem2::path_traits> > >(boost::filesystem2::detail::dir_itr_imp, std::allocator >, boost::filesystem2::path_traits> >*)':
file.cpp:(.text._ZN5boost14checked_deleteINS_11filesystem26detail11dir_itr_impINS1_10basic_pathISsNS1_11path_traitsEEEEEEEvPT_[void boost::checked_delete, std::allocator >, boost::filesystem2::path_traits> > >(boost::filesystem2::detail::dir_itr_imp, std::allocator >, boost::filesystem2::path_traits> >*)]+0x22): undefined reference to `boost::filesystem2::detail::dir_itr_close(void*&, void*&)'
file.o: In function `_GLOBAL__sub_I__ZN13FileInterface19createFileInterfaceERKSsS1_b':
file.cpp:(.text.startup+0x2c): undefined reference to `boost::system::generic_category()'
file.cpp:(.text.startup+0x36): undefined reference to `boost::system::generic_category()'
file.cpp:(.text.startup+0x40): undefined reference to `boost::system::system_category()'
conn_pool.o: In function `_GLOBAL__sub_I__ZN8ConnPoolC2Ev':
conn_pool.cpp:(.text.startup+0x2c): undefined reference to `boost::system::generic_category()'
conn_pool.cpp:(.text.startup+0x36): undefined reference to `boost::system::generic_category()'
conn_pool.cpp:(.text.startup+0x40): undefined reference to `boost::system::system_category()'
scribe_server.o: In function `_GLOBAL__sub_I_g_Handler':
scribe_server.cpp:(.text.startup+0x4cc): undefined reference to `boost::system::generic_category()'
scribe_server.cpp:(.text.startup+0x4d6): undefined reference to `boost::system::generic_category()'
scribe_server.cpp:(.text.startup+0x4e0): undefined reference to `boost::system::system_category()'
dynamic_bucket_updater.o: In function `_GLOBAL__sub_I__ZN20DynamicBucketUpdater9instance_E':
dynamic_bucket_updater.cpp:(.text.startup+0x2c): undefined reference to `boost::system::generic_category()'
dynamic_bucket_updater.cpp:(.text.startup+0x36): undefined reference to `boost::system::generic_category()'
dynamic_bucket_updater.cpp:(.text.startup+0x40): undefined reference to `boost::system::system_category()'
env_default.o: In function `_GLOBAL__sub_I__ZN6scribe14network_config10getServiceERKSsS2_RSt6vectorISt4pairISsiESaIS5_EE':
env_default.cpp:(.text.startup+0x2c): undefined reference to `boost::system::generic_category()'
env_default.cpp:(.text.startup+0x36): undefined reference to `boost::system::generic_category()'
env_default.cpp:(.text.startup+0x40): undefined reference to `boost::system::system_category()'
conf.o: In function `_GLOBAL__sub_I__ZN9StoreConfC2Ev':
conf.cpp:(.text.startup+0x2c): undefined reference to `boost::system::generic_category()'
conf.cpp:(.text.startup+0x36): undefined reference to `boost::system::generic_category()'
conf.cpp:(.text.startup+0x40): undefined reference to `boost::system::system_category()'
network_dynamic_config.o: In function `_GLOBAL__sub_I__Z26getNetworkDynamicConfigModPKc':
network_dynamic_config.cpp:(.text.startup+0x2c): undefined reference to `boost::system::generic_category()'
network_dynamic_config.cpp:(.text.startup+0x36): undefined reference to `boost::system::generic_category()'
network_dynamic_config.cpp:(.text.startup+0x40): undefined reference to `boost::system::system_category()'
collect2: ld returned 1 exit status
make[3]: *** [scribed] Error 1
make[3]: Leaving directory `/usr/local/src/facebook-scribe-6600084/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/facebook-scribe-6600084/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/facebook-scribe-6600084'
make: *** [all] Error 2