Boost logo

Boost Users :

Subject: [Boost-users] linker error
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2012-07-19 06:56:09


Hello,

I have got some problems with linking some Boost libraries (1.50) on OSX
The linker shows:
      boost::detail::sp_counted_impl_p<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >::~sp_counted_impl_p()in test.o
      boost::detail::sp_counted_impl_p<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >::~sp_counted_impl_p()in test.o
      boost::system::error_category::~error_category()in test.o
      boost::detail::sp_counted_base::~sp_counted_base()in test.o
      boost::exception_detail::clone_base::~clone_base()in test.o
      boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>::clone() constin test.o
      boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>::~clone_impl()in test.o
      boost::system::system_error::~system_error()in test.o
      boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> >::~clone_impl()in test.o
      boost::thread_exception::~thread_exception()in test.o
      boost::thread_resource_error::~thread_resource_error()in test.o
      boost::exception_detail::bad_exception_::~bad_exception_()in test.o

and with ASIO

 "std::basic_streambuf<char, std::char_traits<char> >::pbackfail(int)", referenced from:
     vtable for boost::asio::basic_streambuf<std::allocator<char> >in twitter.o
     vtable for boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >in twitter.o
     vtable for boost::re_detail::parser_buf<char, std::char_traits<char> >in twitter.o
 "std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)", referenced from

I', using boost thread, iostreams, filesystem, exception an aiso. The exception library is linked with the static option, other dynamic. Which is the correct order to solve the dependency error?
Can anybody help me to solve this problem?

Thanks

Phil


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net