... sic_string, std::allocator > const&)' simple_client.cxx:(.text._ZN4asio12system_errorC1ERKS0_[asio::system_error::system_error(asio::system_error const&)]+0x72): undefined reference to `std::exception::~exception()' /tmp/cclYV78g.o: In function `libtorrent::invalid_encoding::~invalid_encoding()': simple_client.cxx:(.text._ZN10libtorrent16invalid_encodingD0Ev[libtorrent::invalid_encoding::~invalid_encoding()]+0x17): undefined reference to `std::exception::~exception()' simple_client.cxx:(.text._ZN10libtorrent16invalid_encodingD0Ev[libtorrent::invalid_encoding::~invalid_encoding()]+0x2b): undefined reference to `operator delete(void*)' /tmp/cclYV78g.o: In function `libtorrent::invalid_encoding::~invalid_encoding()': simple_client.cxx:(.text._ZN10libtorrent16invalid_encodingD1Ev[libtorrent::invalid_encoding::~invalid_encoding()]+0x17): undefined reference to `std::exception::~exception()' simple_client.cxx:(.text._ZN10libtorrent16invalid_encodingD1Ev[libtorrent::invalid_encoding::~invalid_encoding()]+0x2b): undefined reference to `operator delete(void*)' /tmp/cclYV78g.o: In function `asio::system_error::~system_error()': simple_client.cxx:(.text._ZN4asio12system_errorD0Ev[asio::system_error::~system_error()]+0x30): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN4asio12system_errorD0Ev[asio::system_error::~system_error()]+0x52): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN4asio12system_errorD0Ev[asio::system_error::~system_error()]+0x6b): undefined reference to `std::exception::~exception()' simple_client.cxx:(.text._ZN4asio12system_errorD0Ev[asio::system_error::~system_error()]+0x8a): undefined reference to `std::exception::~exception()' simple_client.cxx:(.text._ZN4asio12system_errorD0Ev[asio::system_error::~system_error()]+0xa6): undefined reference to `operator delete(void*)' simple_client.cxx:(.text._ZN4asio12system_errorD0Ev[asio::system_error::~system_error()]+0xc4): undefined reference to `__cxa_call_unexpected' /tmp/cclYV78g.o: In function `asio::system_error::~system_error()': simple_client.cxx:(.text._ZN4asio12system_errorD1Ev[asio::system_error::~system_error()]+0x30): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN4asio12system_errorD1Ev[asio::system_error::~system_error()]+0x52): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN4asio12system_errorD1Ev[asio::system_error::~system_error()]+0x6b): undefined reference to `std::exception::~exception()' simple_client.cxx:(.text._ZN4asio12system_errorD1Ev[asio::system_error::~system_error()]+0x8a): undefined reference to `std::exception::~exception()' simple_client.cxx:(.text._ZN4asio12system_errorD1Ev[asio::system_error::~system_error()]+0xa6): undefined reference to `operator delete(void*)' simple_client.cxx:(.text._ZN4asio12system_errorD1Ev[asio::system_error::~system_error()]+0xc4): undefined reference to `__cxa_call_unexpected' /tmp/cclYV78g.o: In function `asio::error_code::message() const': simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x2b): undefined reference to `std::allocator::allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x42): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x4d): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x69): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0xa2): undefined reference to `std::allocator::allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0xb9): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0xc4): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0xe0): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x119): undefined reference to `std::allocator::allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x130): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x13b): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x157): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x190): undefined reference to `std::allocator::allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x1a7): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x1b2): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x1ce): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x207): undefined reference to `std::allocator::allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x21e): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x229): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x245): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x27e): undefined reference to `std::allocator::allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x295): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x2a0): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x2bc): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x2f5): undefined reference to `std::allocator::allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x30c): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x317): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x333): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x36c): undefined reference to `std::allocator::allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x383): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x38e): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x3aa): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x3f8): undefined reference to `std::allocator::allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x42c): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x437): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZNK4asio10error_code7messageEv[asio::error_code::message() const]+0x450): undefined reference to `std::allocator::~allocator()' /tmp/cclYV78g.o: In function `asio::system_error::what() const': simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0x2f): undefined reference to `std::basic_string, std::allocator >::basic_string(std::basic_string, std::allocator > const&)' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0x3a): undefined reference to `std::basic_string, std::allocator >::length() const' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0x56): undefined reference to `std::basic_string, std::allocator >::operator+=(char const*)' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0x80): undefined reference to `std::basic_string, std::allocator >::operator+=(std::basic_string, std::allocator > const&)' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0x8b): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0xa4): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0xb8): undefined reference to `operator new(unsigned int)' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0xcd): undefined reference to `std::basic_string, std::allocator >::basic_string(std::basic_string, std::allocator > const&)' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0xfb): undefined reference to `operator delete(void*)' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0x10e): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0x127): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0x145): undefined reference to `std::basic_string, std::allocator >::c_str() const' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0x163): undefined reference to `__cxa_begin_catch' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0x172): undefined reference to `__cxa_end_catch' simple_client.cxx:(.text._ZNK4asio12system_error4whatEv[asio::system_error::what() const]+0x190): undefined reference to `__cxa_call_unexpected' /tmp/cclYV78g.o: In function `void boost::throw_exception(asio::system_error const&)': simple_client.cxx:(.text._ZN5boost15throw_exceptionIN4asio12system_errorEEEvRKT_[void boost::throw_exception(asio::system_error const&)]+0xe): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN5boost15throw_exceptionIN4asio12system_errorEEEvRKT_[void boost::throw_exception(asio::system_error const&)]+0x3e): undefined reference to `__cxa_throw' simple_client.cxx:(.text._ZN5boost15throw_exceptionIN4asio12system_errorEEEvRKT_[void boost::throw_exception(asio::system_error const&)]+0x56): undefined reference to `std::terminate()' /tmp/cclYV78g.o: In function `asio::detail::posix_tss_ptr > >::context>::posix_tss_ptr()': simple_client.cxx:(.text._ZN4asio6detail13posix_tss_ptrINS0_10call_stackINS0_15task_io_serviceINS0_13epoll_reactorILb0EEEEEE7contextEEC2Ev[asio::detail::posix_tss_ptr > >::context>::posix_tss_ptr()]+0x21): undefined reference to `pthread_key_create' simple_client.cxx:(.text._ZN4asio6detail13posix_tss_ptrINS0_10call_stackINS0_15task_io_serviceINS0_13epoll_reactorILb0EEEEEE7contextEEC2Ev[asio::detail::posix_tss_ptr > >::context>::posix_tss_ptr()]+0x39): undefined reference to `std::allocator::allocator()' simple_client.cxx:(.text._ZN4asio6detail13posix_tss_ptrINS0_10call_stackINS0_15task_io_serviceINS0_13epoll_reactorILb0EEEEEE7contextEEC2Ev[asio::detail::posix_tss_ptr > >::context>::posix_tss_ptr()]+0x53): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' simple_client.cxx:(.text._ZN4asio6detail13posix_tss_ptrINS0_10call_stackINS0_15task_io_serviceINS0_13epoll_reactorILb0EEEEEE7contextEEC2Ev[asio::detail::posix_tss_ptr > >::context>::posix_tss_ptr()]+0x91): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN4asio6detail13posix_tss_ptrINS0_10call_stackINS0_15task_io_serviceINS0_13epoll_reactorILb0EEEEEE7contextEEC2Ev[asio::detail::posix_tss_ptr > >::context>::posix_tss_ptr()]+0xa4): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN4asio6detail13posix_tss_ptrINS0_10call_stackINS0_15task_io_serviceINS0_13epoll_reactorILb0EEEEEE7contextEEC2Ev[asio::detail::posix_tss_ptr > >::context>::posix_tss_ptr()]+0xb4): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZN4asio6detail13posix_tss_ptrINS0_10call_stackINS0_15task_io_serviceINS0_13epoll_reactorILb0EEEEEE7contextEEC2Ev[asio::detail::posix_tss_ptr > >::context>::posix_tss_ptr()]+0xd2): undefined reference to `std::allocator::~allocator()' /tmp/cclYV78g.o: In function `void boost::throw_exception(boost::bad_lexical_cast const&)': simple_client.cxx:(.text._ZN5boost15throw_exceptionINS_16bad_lexical_castEEEvRKT_[void boost::throw_exception(boost::bad_lexical_cast const&)]+0xf): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN5boost15throw_exceptionINS_16bad_lexical_castEEEvRKT_[void boost::throw_exception(boost::bad_lexical_cast const&)]+0x3a): undefined reference to `__cxa_throw' /tmp/cclYV78g.o: In function `asio::detail::posix_tss_ptr > >::context>::~posix_tss_ptr()': simple_client.cxx:(.text._ZN4asio6detail13posix_tss_ptrINS0_10call_stackINS0_15task_io_serviceINS0_13epoll_reactorILb0EEEEEE7contextEED2Ev[asio::detail::posix_tss_ptr > >::context>::~posix_tss_ptr()]+0xf): undefined reference to `pthread_key_delete' /tmp/cclYV78g.o: In function `std::istream_iterator, int>::_M_read()': simple_client.cxx:(.text._ZNSt16istream_iteratorIccSt11char_traitsIcEiE7_M_readEv[std::istream_iterator, int>::_M_read()]+0x29): undefined reference to `std::basic_ios >::operator void*() const' simple_client.cxx:(.text._ZNSt16istream_iteratorIccSt11char_traitsIcEiE7_M_readEv[std::istream_iterator, int>::_M_read()]+0x63): undefined reference to `std::basic_istream >& std::operator>> >(std::basic_istream >&, char&)' simple_client.cxx:(.text._ZNSt16istream_iteratorIccSt11char_traitsIcEiE7_M_readEv[std::istream_iterator, int>::_M_read()]+0x81): undefined reference to `std::basic_ios >::operator void*() const' /tmp/cclYV78g.o: In function `std::basic_string, std::allocator > libtorrent::detail::read_until, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, char)': simple_client.cxx:(.text._ZN10libtorrent6detail10read_untilISt16istream_iteratorIccSt11char_traitsIcEiEEESsRT_S6_c[std::basic_string, std::allocator > libtorrent::detail::read_until, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, char)]+0x2b): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN10libtorrent6detail10read_untilISt16istream_iteratorIccSt11char_traitsIcEiEEESsRT_S6_c[std::basic_string, std::allocator > libtorrent::detail::read_until, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, char)]+0x4f): undefined reference to `__cxa_throw' simple_client.cxx:(.text._ZN10libtorrent6detail10read_untilISt16istream_iteratorIccSt11char_traitsIcEiEEESsRT_S6_c[std::basic_string, std::allocator > libtorrent::detail::read_until, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, char)]+0x5a): undefined reference to `std::basic_string, std::allocator >::basic_string()' simple_client.cxx:(.text._ZN10libtorrent6detail10read_untilISt16istream_iteratorIccSt11char_traitsIcEiEEESsRT_S6_c[std::basic_string, std::allocator > libtorrent::detail::read_until, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, char)]+0x7c): undefined reference to `std::basic_string, std::allocator >::operator+=(char)' simple_client.cxx:(.text._ZN10libtorrent6detail10read_untilISt16istream_iteratorIccSt11char_traitsIcEiEEESsRT_S6_c[std::basic_string, std::allocator > libtorrent::detail::read_until, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, char)]+0xa9): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN10libtorrent6detail10read_untilISt16istream_iteratorIccSt11char_traitsIcEiEEESsRT_S6_c[std::basic_string, std::allocator > libtorrent::detail::read_until, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, char)]+0xcd): undefined reference to `__cxa_throw' simple_client.cxx:(.text._ZN10libtorrent6detail10read_untilISt16istream_iteratorIccSt11char_traitsIcEiEEESsRT_S6_c[std::basic_string, std::allocator > libtorrent::detail::read_until, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, char)]+0x102): undefined reference to `std::basic_string, std::allocator >::~basic_string()' /tmp/cclYV78g.o: In function `void libtorrent::detail::read_string, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, int, std::basic_string, std::allocator >&)': simple_client.cxx:(.text._ZN10libtorrent6detail11read_stringISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_iRSs[void libtorrent::detail::read_string, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, int, std::basic_string, std::allocator >&)]+0x58): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN10libtorrent6detail11read_stringISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_iRSs[void libtorrent::detail::read_string, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, int, std::basic_string, std::allocator >&)]+0x7c): undefined reference to `__cxa_throw' simple_client.cxx:(.text._ZN10libtorrent6detail11read_stringISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_iRSs[void libtorrent::detail::read_string, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, int, std::basic_string, std::allocator >&)]+0x9c): undefined reference to `std::basic_string, std::allocator >::operator+=(char)' /tmp/cclYV78g.o: In function `libtorrent::entry::entry(libtorrent::entry::data_type)': simple_client.cxx:(.text._ZN10libtorrent5entryC1ENS0_9data_typeE[libtorrent::entry::entry(libtorrent::entry::data_type)]+0x1c): undefined reference to `libtorrent::entry::construct(libtorrent::entry::data_type)' /tmp/cclYV78g.o: In function `libtorrent::type_error::type_error(char const*)': simple_client.cxx:(.text._ZN10libtorrent10type_errorC1EPKc[libtorrent::type_error::type_error(char const*)]+0xe): undefined reference to `std::allocator::allocator()' simple_client.cxx:(.text._ZN10libtorrent10type_errorC1EPKc[libtorrent::type_error::type_error(char const*)]+0x27): undefined reference to `std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&)' simple_client.cxx:(.text._ZN10libtorrent10type_errorC1EPKc[libtorrent::type_error::type_error(char const*)]+0x39): undefined reference to `std::runtime_error::runtime_error(std::basic_string, std::allocator > const&)' simple_client.cxx:(.text._ZN10libtorrent10type_errorC1EPKc[libtorrent::type_error::type_error(char const*)]+0x44): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN10libtorrent10type_errorC1EPKc[libtorrent::type_error::type_error(char const*)]+0x57): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN10libtorrent10type_errorC1EPKc[libtorrent::type_error::type_error(char const*)]+0x67): undefined reference to `std::allocator::~allocator()' simple_client.cxx:(.text._ZN10libtorrent10type_errorC1EPKc[libtorrent::type_error::type_error(char const*)]+0x84): undefined reference to `std::allocator::~allocator()' /tmp/cclYV78g.o: In function `libtorrent::entry::integer()': simple_client.cxx:(.text._ZN10libtorrent5entry7integerEv[libtorrent::entry::integer()]+0x20): undefined reference to `libtorrent::entry::construct(libtorrent::entry::data_type)' simple_client.cxx:(.text._ZN10libtorrent5entry7integerEv[libtorrent::entry::integer()]+0x35): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN10libtorrent5entry7integerEv[libtorrent::entry::integer()]+0x66): undefined reference to `__cxa_throw' simple_client.cxx:(.text._ZN10libtorrent5entry7integerEv[libtorrent::entry::integer()]+0x77): undefined reference to `__cxa_free_exception' /tmp/cclYV78g.o: In function `libtorrent::entry::list()': simple_client.cxx:(.text._ZN10libtorrent5entry4listEv[libtorrent::entry::list()]+0x20): undefined reference to `libtorrent::entry::construct(libtorrent::entry::data_type)' simple_client.cxx:(.text._ZN10libtorrent5entry4listEv[libtorrent::entry::list()]+0x36): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN10libtorrent5entry4listEv[libtorrent::entry::list()]+0x67): undefined reference to `__cxa_throw' simple_client.cxx:(.text._ZN10libtorrent5entry4listEv[libtorrent::entry::list()]+0x78): undefined reference to `__cxa_free_exception' /tmp/cclYV78g.o: In function `libtorrent::entry::string()': simple_client.cxx:(.text._ZN10libtorrent5entry6stringEv[libtorrent::entry::string()]+0x20): undefined reference to `libtorrent::entry::construct(libtorrent::entry::data_type)' simple_client.cxx:(.text._ZN10libtorrent5entry6stringEv[libtorrent::entry::string()]+0x36): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN10libtorrent5entry6stringEv[libtorrent::entry::string()]+0x67): undefined reference to `__cxa_throw' simple_client.cxx:(.text._ZN10libtorrent5entry6stringEv[libtorrent::entry::string()]+0x78): undefined reference to `__cxa_free_exception' /tmp/cclYV78g.o: In function `libtorrent::type_error::~type_error()': simple_client.cxx:(.text._ZN10libtorrent10type_errorD0Ev[libtorrent::type_error::~type_error()]+0x17): undefined reference to `std::runtime_error::~runtime_error()' simple_client.cxx:(.text._ZN10libtorrent10type_errorD0Ev[libtorrent::type_error::~type_error()]+0x2b): undefined reference to `operator delete(void*)' /tmp/cclYV78g.o: In function `libtorrent::type_error::~type_error()': simple_client.cxx:(.text._ZN10libtorrent10type_errorD1Ev[libtorrent::type_error::~type_error()]+0x17): undefined reference to `std::runtime_error::~runtime_error()' simple_client.cxx:(.text._ZN10libtorrent10type_errorD1Ev[libtorrent::type_error::~type_error()]+0x2b): undefined reference to `operator delete(void*)' /tmp/cclYV78g.o: In function `boost::detail::lexical_stream, std::allocator > >::operator<<(std::basic_string, std::allocator > const&)': simple_client.cxx:(.text._ZN5boost6detail14lexical_streamIxSsElsERKSs[boost::detail::lexical_stream, std::allocator > >::operator<<(std::basic_string, std::allocator > const&)]+0x17): undefined reference to `std::basic_ostream >& std::operator<< , std::allocator >(std::basic_ostream >&, std::basic_string, std::allocator > const&)' simple_client.cxx:(.text._ZN5boost6detail14lexical_streamIxSsElsERKSs[boost::detail::lexical_stream, std::allocator > >::operator<<(std::basic_string, std::allocator > const&)]+0x2b): undefined reference to `std::basic_ios >::fail() const' /tmp/cclYV78g.o: In function `bool boost::detail::lexical_stream, std::allocator > >::operator>>(long long&)': simple_client.cxx:(.text._ZN5boost6detail14lexical_streamIxSsErsIxEEbRT_[bool boost::detail::lexical_stream, std::allocator > >::operator>>(long long&)]+0x15): undefined reference to `std::basic_istream >::operator>>(long long&)' simple_client.cxx:(.text._ZN5boost6detail14lexical_streamIxSsErsIxEEbRT_[bool boost::detail::lexical_stream, std::allocator > >::operator>>(long long&)]+0x29): undefined reference to `std::basic_ios >::operator void*() const' simple_client.cxx:(.text._ZN5boost6detail14lexical_streamIxSsErsIxEEbRT_[bool boost::detail::lexical_stream, std::allocator > >::operator>>(long long&)]+0x38): undefined reference to `std::basic_istream >::get()' /tmp/cclYV78g.o: In function `boost::bad_lexical_cast::~bad_lexical_cast()': simple_client.cxx:(.text._ZN5boost16bad_lexical_castD0Ev[boost::bad_lexical_cast::~bad_lexical_cast()]+0x17): undefined reference to `std::bad_cast::~bad_cast()' simple_client.cxx:(.text._ZN5boost16bad_lexical_castD0Ev[boost::bad_lexical_cast::~bad_lexical_cast()]+0x2b): undefined reference to `operator delete(void*)' /tmp/cclYV78g.o: In function `boost::bad_lexical_cast::~bad_lexical_cast()': simple_client.cxx:(.text._ZN5boost16bad_lexical_castD1Ev[boost::bad_lexical_cast::~bad_lexical_cast()]+0x17): undefined reference to `std::bad_cast::~bad_cast()' simple_client.cxx:(.text._ZN5boost16bad_lexical_castD1Ev[boost::bad_lexical_cast::~bad_lexical_cast()]+0x2b): undefined reference to `operator delete(void*)' /tmp/cclYV78g.o: In function `long long boost::lexical_cast, std::allocator > >(std::basic_string, std::allocator > const&)': simple_client.cxx:(.text._ZN5boost12lexical_castIxSsEET_RKT0_[long long boost::lexical_cast, std::allocator > >(std::basic_string, std::allocator > const&)]+0x6b): undefined reference to `typeinfo for long long' /tmp/cclYV78g.o: In function `__gnu_cxx::new_allocator >::allocate(unsigned int, void const*)': simple_client.cxx:(.text._ZN9__gnu_cxx13new_allocatorISt10_List_nodeIN10libtorrent5entryEEE8allocateEjPKv[__gnu_cxx::new_allocator >::allocate(unsigned int, void const*)]+0x24): undefined reference to `std::__throw_bad_alloc()' simple_client.cxx:(.text._ZN9__gnu_cxx13new_allocatorISt10_List_nodeIN10libtorrent5entryEEE8allocateEjPKv[__gnu_cxx::new_allocator >::allocate(unsigned int, void const*)]+0x39): undefined reference to `operator new(unsigned int)' /tmp/cclYV78g.o: In function `libtorrent::entry::~entry()': simple_client.cxx:(.text._ZN10libtorrent5entryD1Ev[libtorrent::entry::~entry()]+0xd): undefined reference to `libtorrent::entry::destruct()' /tmp/cclYV78g.o: In function `libtorrent::entry::operator=(libtorrent::entry const&)': simple_client.cxx:(.text._ZN10libtorrent5entryaSERKS0_[libtorrent::entry::operator=(libtorrent::entry const&)]+0xd): undefined reference to `libtorrent::entry::destruct()' simple_client.cxx:(.text._ZN10libtorrent5entryaSERKS0_[libtorrent::entry::operator=(libtorrent::entry const&)]+0x1f): undefined reference to `libtorrent::entry::copy(libtorrent::entry const&)' /tmp/cclYV78g.o: In function `libtorrent::entry::entry(libtorrent::entry const&)': simple_client.cxx:(.text._ZN10libtorrent5entryC1ERKS0_[libtorrent::entry::entry(libtorrent::entry const&)]+0x14): undefined reference to `libtorrent::entry::copy(libtorrent::entry const&)' /tmp/cclYV78g.o: In function `std::list >::_M_create_node(libtorrent::entry const&)': simple_client.cxx:(.text._ZNSt4listIN10libtorrent5entryESaIS1_EE14_M_create_nodeERKS1_[std::list >::_M_create_node(libtorrent::entry const&)]+0x74): undefined reference to `__cxa_begin_catch' simple_client.cxx:(.text._ZNSt4listIN10libtorrent5entryESaIS1_EE14_M_create_nodeERKS1_[std::list >::_M_create_node(libtorrent::entry const&)]+0x8b): undefined reference to `__cxa_rethrow'simple_client.cxx:(.text._ZNSt4listIN10libtorrent5entryESaIS1_EE14_M_create_nodeERKS1_[std::list >::_M_create_node(libtorrent::entry const&)]+0x96): undefined reference to `__cxa_end_catch' /tmp/cclYV78g.o: In function `std::list >::_M_insert(std::_List_iterator, libtorrent::entry const&)': simple_client.cxx:(.text._ZNSt4listIN10libtorrent5entryESaIS1_EE9_M_insertESt14_List_iteratorIS1_ERKS1_[std::list >::_M_insert(std::_List_iterator, libtorrent::entry const&)]+0x29): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)' /tmp/cclYV78g.o: In function `void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)': simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x28): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x4c): undefined reference to `__cxa_throw' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x1ab): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x1ca): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x323): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x347): undefined reference to `__cxa_throw' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x46c): undefined reference to `libtorrent::entry::operator[](std::basic_string, std::allocator > const&)' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x4bc): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x4e0): undefined reference to `__cxa_throw' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x629): undefined reference to `std::basic_string, std::allocator >::c_str() const' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x6cf): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x6eb): undefined reference to `std::basic_string, std::allocator >::~basic_string()' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x70b): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN10libtorrent6detail17bdecode_recursiveISt16istream_iteratorIccSt11char_traitsIcEiEEEvRT_S6_RNS_5entryE[void libtorrent::detail::bdecode_recursive, int> >(std::istream_iterator, int>&, std::istream_iterator, int>, libtorrent::entry&)]+0x72f): undefined reference to `__cxa_throw' /tmp/cclYV78g.o: In function `libtorrent::entry libtorrent::bdecode, int> >(std::istream_iterator, int>, std::istream_iterator, int>)': simple_client.cxx:(.text._ZN10libtorrent7bdecodeISt16istream_iteratorIccSt11char_traitsIcEiEEENS_5entryET_S6_[libtorrent::entry libtorrent::bdecode, int> >(std::istream_iterator, int>, std::istream_iterator, int>)]+0x9d): undefined reference to `__cxa_begin_catch' simple_client.cxx:(.text._ZN10libtorrent7bdecodeISt16istream_iteratorIccSt11char_traitsIcEiEEENS_5entryET_S6_[libtorrent::entry libtorrent::bdecode, int> >(std::istream_iterator, int>, std::istream_iterator, int>)]+0xac): undefined reference to `__cxa_allocate_exception' simple_client.cxx:(.text._ZN10libtorrent7bdecodeISt16istream_iteratorIccSt11char_traitsIcEiEEENS_5entryET_S6_[libtorrent::entry libtorrent::bdecode, int> >(std::istream_iterator, int>, std::istream_iterator, int>)]+0xd0): undefined reference to `__cxa_throw' simple_client.cxx:(.text._ZN10libtorrent7bdecodeISt16istream_iteratorIccSt11char_traitsIcEiEEENS_5entryET_S6_[libtorrent::entry libtorrent::bdecode, int> >(std::istream_iterator, int>, std::istream_iterator, int>)]+0xdb): undefined reference to `__cxa_end_catch' /tmp/cclYV78g.o:(.rodata._ZTVN4asio10io_service7serviceE[vtable for asio::io_service::service]+0x10): undefined reference to `__cxa_pure_virtual' /tmp/cclYV78g.o:(.rodata._ZTIN4asio10io_service7serviceE[typeinfo for asio::io_service::service]+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info' /tmp/cclYV78g.o:(.rodata._ZTIN5boost12noncopyable_11noncopyableE[typeinfo for boost::noncopyable_::noncopyable]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' /tmp/cclYV78g.o:(.rodata._ZTIN4asio12system_errorE[typeinfo for asio::system_error]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /tmp/cclYV78g.o:(.rodata._ZTIN4asio12system_errorE[typeinfo for asio::system_error]+0x8): undefined reference to `typeinfo for std::exception' /tmp/cclYV78g.o:(.rodata._ZTIN10libtorrent16invalid_encodingE[typeinfo for libtorrent::invalid_encoding]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /tmp/cclYV78g.o:(.rodata._ZTIN10libtorrent16invalid_encodingE[typeinfo for libtorrent::invalid_encoding]+0x8): undefined reference to `typeinfo for std::exception' /tmp/cclYV78g.o:(.rodata._ZTIN10libtorrent10type_errorE[typeinfo for libtorrent::type_error]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /tmp/cclYV78g.o:(.rodata._ZTIN10libtorrent10type_errorE[typeinfo for libtorrent::type_error]+0x8): undefined reference to `typeinfo for std::runtime_error' /tmp/cclYV78g.o:(.rodata._ZTVN10libtorrent10type_errorE[vtable for libtorrent::type_error]+0x10): undefined reference to `std::runtime_error::what() const' /tmp/cclYV78g.o:(.rodata._ZTISs[typeinfo for std::basic_string, std::allocator >]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' /tmp/cclYV78g.o:(.rodata._ZTIN5boost16bad_lexical_castE[typeinfo for boost::bad_lexical_cast]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /tmp/cclYV78g.o:(.rodata._ZTIN5boost16bad_lexical_castE[typeinfo for boost::bad_lexical_cast]+0x8): undefined reference to `typeinfo for std::bad_cast' /tmp/cclYV78g.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status