Boost logo

Boost-Build :

Subject: [Boost-build] boost::asio QNX linker error
From: memduha (memduha.aslan_at_[hidden])
Date: 2012-12-11 02:09:13


Hello,

I am new to using boost libraries in QNX platform. I am having trouble with
linking the asio library. It throws me undefined reference linker errors in
boost::asio::detail::socket_ops level. The messages are:

in function boost::asio::detail::socket_ops::call_bind undefined reference
to bind ..

& similar errors for listen, recvmsg, accept, setsockopt ..

I got these errors when I include the asio library only as header library( I
didn't separately compiled it).
Then I tried to compile the library explicitly by defining
BOOST_ASIO_SEPARATE_COMPILATION and including the
<boost/asio/ssl/impl/src.hpp> once. It throws me more undefined reference
errors to the functions defined in socket_ops.hpp.

The errors occurs in socket_ops.ipp and I am using boost_1_49 in QNX
Neutrino Momentics 6.50

Any help will be appreciated. Thank you.

--
View this message in context: http://boost.2283326.n4.nabble.com/boost-asio-QNX-linker-error-tp4639838.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk