Boost :: asio QNX linker error

I am new to using accelerator libraries in the QNX platform. I'm having trouble linking the asio library. It throws me undefined linker errors at boost::asio::detail::socket_ops . Messages:

in boost::asio::detail::socket_ops::call_bind undefined link to bind ..

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

I got these errors when I include the asio library only as a header library (I did not compile it separately).

Then I tried to compile the library explicitly by specifying BOOST_ASIO_SEPARATE_COMPILATION and turning on <boost/asio/ssl/impl/src.hpp> once. This causes more undefined reference errors for functions defined in socket_ops.hpp.

Errors occur in socket_ops.ipp and I use boost_1_49 in QNX Neutrino Momentics 6.50

+4
source share
1 answer

Have you created an incentive for your platform? Is it a compatible configuration for your application?

Asio requires several additional boost libraries (date_time and streams from them, if I recall) that must be created before use (some libraries are not just headers, or they depend on libraries that are not just headers).

0
source

All Articles