1. sean@ubuntu:~/Documents/aBot$ g++ -std=c++11 -Iinclude -lboost_system -lboost_filesystem -lboost_date_time src/Bot.cpp src/main.cpp
  2. /tmp/cc0sFUp3.o: In function `__static_initialization_and_destruction_0(int, int)':
  3. Bot.cpp:(.text+0x2d38): undefined reference to `boost::system::generic_category()'
  4. Bot.cpp:(.text+0x2d44): undefined reference to `boost::system::generic_category()'
  5. Bot.cpp:(.text+0x2d50): undefined reference to `boost::system::system_category()'
  6. /tmp/cc0sFUp3.o: In function `boost::system::error_code::error_code()':
  7. Bot.cpp:(.text._ZN5boost6system10error_codeC2Ev[_ZN5boost6system10error_codeC5Ev]+0x17): undefined reference to `boost::system::system_category()'
  8. /tmp/cc0sFUp3.o: In function `boost::asio::error::get_system_category()':
  9. Bot.cpp:(.text._ZN5boost4asio5error19get_system_categoryEv[_ZN5boost4asio5error19get_system_categoryEv]+0x5): undefined reference to `boost::system::system_category()'
  10. /tmp/cc0sFUp3.o: In function `boost::asio::detail::posix_thread::~posix_thread()':
  11. Bot.cpp:(.text._ZN5boost4asio6detail12posix_threadD2Ev[_ZN5boost4asio6detail12posix_threadD5Ev]+0x26): undefined reference to `pthread_detach'
  12. /tmp/cc0sFUp3.o: In function `boost::asio::detail::posix_thread::join()':
  13. Bot.cpp:(.text._ZN5boost4asio6detail12posix_thread4joinEv[_ZN5boost4asio6detail12posix_thread4joinEv]+0x2b): undefined reference to `pthread_join'
  14. /tmp/cc0sFUp3.o: In function `boost::asio::detail::posix_thread::start_thread(boost::asio::detail::posix_thread::func_base*)':
  15. Bot.cpp:(.text._ZN5boost4asio6detail12posix_thread12start_threadEPNS2_9func_baseE[_ZN5boost4asio6detail12posix_thread12start_threadEPNS2_9func_baseE]+0x29): undefined reference to `pthread_create'
  16. /tmp/cc0sFUp3.o: In function `boost::filesystem::exists(boost::filesystem::path const&)':
  17. Bot.cpp:(.text._ZN5boost10filesystem6existsERKNS0_4pathE[_ZN5boost10filesystem6existsERKNS0_4pathE]+0x19): undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
  18. /tmp/cc0sFUp3.o: In function `boost::filesystem::is_directory(boost::filesystem::path const&)':
  19. Bot.cpp:(.text._ZN5boost10filesystem12is_directoryERKNS0_4pathE[_ZN5boost10filesystem12is_directoryERKNS0_4pathE]+0x19): undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
  20. /tmp/cc0sFUp3.o: In function `boost::filesystem::create_directories(boost::filesystem::path const&)':
  21. Bot.cpp:(.text._ZN5boost10filesystem18create_directoriesERKNS0_4pathE[_ZN5boost10filesystem18create_directoriesERKNS0_4pathE]+0x19): undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)'
  22. /tmp/cc0sFUp3.o: In function `boost::filesystem::last_write_time(boost::filesystem::path const&)':
  23. Bot.cpp:(.text._ZN5boost10filesystem15last_write_timeERKNS0_4pathE[_ZN5boost10filesystem15last_write_timeERKNS0_4pathE]+0x19): undefined reference to `boost::filesystem::detail::last_write_time(boost::filesystem::path const&, boost::system::error_code*)'
  24. /tmp/cc0sFUp3.o: In function `boost::filesystem::remove(boost::filesystem::path const&)':
  25. Bot.cpp:(.text._ZN5boost10filesystem6removeERKNS0_4pathE[_ZN5boost10filesystem6removeERKNS0_4pathE]+0x19): undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)'
  26. /tmp/cc0sFUp3.o: In function `boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()':
  27. Bot.cpp:(.text._ZN5boost10filesystem6detail11dir_itr_impD2Ev[_ZN5boost10filesystem6detail11dir_itr_impD5Ev]+0x24): undefined reference to `boost::filesystem::detail::dir_itr_close(void*&, void*&)'
  28. /tmp/cc0sFUp3.o: In function `boost::filesystem::directory_iterator::directory_iterator(boost::filesystem::path const&)':
  29. Bot.cpp:(.text._ZN5boost10filesystem18directory_iteratorC2ERKNS0_4pathE[_ZN5boost10filesystem18directory_iteratorC5ERKNS0_4pathE]+0x57): undefined reference to `boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::system::error_code*)'
  30. /tmp/cc0sFUp3.o: In function `boost::filesystem::directory_iterator::increment()':
  31. Bot.cpp:(.text._ZN5boost10filesystem18directory_iterator9incrementEv[_ZN5boost10filesystem18directory_iterator9incrementEv]+0x19): undefined reference to `boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)'
  32. /tmp/cc0sFUp3.o: In function `boost::filesystem::path::path<boost::filesystem::directory_entry>(boost::filesystem::directory_entry const&, boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<boost::filesystem::directory_entry>::type>, void>::type*)':
  33. Bot.cpp:(.text._ZN5boost10filesystem4pathC2INS0_15directory_entryEEERKT_PNS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIS4_E4typeEEEvE4typeE[_ZN5boost10filesystem4pathC5INS0_15directory_entryEEERKT_PNS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIS4_E4typeEEEvE4typeE]+0x22): undefined reference to `boost::filesystem::path::codecvt()'
  34. Bot.cpp:(.text._ZN5boost10filesystem4pathC2INS0_15directory_entryEEERKT_PNS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIS4_E4typeEEEvE4typeE[_ZN5boost10filesystem4pathC5INS0_15directory_entryEEERKT_PNS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIS4_E4typeEEEvE4typeE]+0x38): undefined reference to `boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, std::string&, std::codecvt<wchar_t, char, __mbstate_t> const&)'
  35. /tmp/cc0sFUp3.o: In function `boost::date_time::month_formatter<boost::gregorian::greg_month, boost::date_time::iso_format<char>, char>::format_month(boost::gregorian::greg_month const&, std::ostream&)':
  36. Bot.cpp:(.text._ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_10iso_formatIcEEcE12format_monthERKS3_RSo[_ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_10iso_formatIcEEcE12format_monthERKS3_RSo]+0x33): undefined reference to `boost::gregorian::greg_month::as_short_string() const'
  37. Bot.cpp:(.text._ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_10iso_formatIcEEcE12format_monthERKS3_RSo[_ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_10iso_formatIcEEcE12format_monthERKS3_RSo]+0x56): undefined reference to `boost::gregorian::greg_month::as_long_string() const'
  38. /tmp/ccx2DnfT.o: In function `__static_initialization_and_destruction_0(int, int)':
  39. main.cpp:(.text+0x32e): undefined reference to `boost::system::generic_category()'
  40. main.cpp:(.text+0x33a): undefined reference to `boost::system::generic_category()'
  41. main.cpp:(.text+0x346): undefined reference to `boost::system::system_category()'
  42. collect2: error: ld returned 1 exit status