Re: [Boost-bugs] [Boost C++ Libraries] #5565: Python tests fail to link on QNX due to missing socket functions

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5565: Python tests fail to link on QNX due to missing socket functions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-25 23:38:05


#5565: Python tests fail to link on QNX due to missing socket functions
-------------------------------------------------------+--------------------
  Reporter: Niklas Angare <li51ckf02@…> | Owner: rwgk
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: Python
   Version: Boost Release Branch | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------------+--------------------

Comment (by Niklas Angare <li51ckf02@…>):

 QNX is a Unix-like OS so it's not that exotic. You just need to make sure
 the linker command-line contains -lsocket.

 I've created a patch that fixes the problem by linking all tests to the
 socket lib, even though only the following tests needed it:
 {{{
 bases
 exec
 exec-dynamic
 import_
 operators
 pointee
 pointer_type_id_test
 upcast
 }}}

 The fix is based the build file for the Asio tests,
 http://svn.boost.org/svn/boost/trunk/libs/asio/test/Jamfile.v2.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5565#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC