Boost C++ Libraries: Ticket #9038: [pool] Test cases need to link with boost_system DSO on Linux https://svn.boost.org/trac10/ticket/9038 <p> Currently running the test suite for Boost.Pool gives me messages like the following: </p> <pre class="wiki">/home/petr/rpmbuild/BUILD/boost_1_53_0/tests-out/boost/bin.v2/libs/pool/test/test_simple_seg_storage.test/gcc-4.8.1/debug/test_simple_seg_storage.o: In function `__static_initialization_and_destruction_0': /home/petr/rpmbuild/BUILD/boost_1_53_0/libs/pool/test/../../../boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()' /home/petr/rpmbuild/BUILD/boost_1_53_0/libs/pool/test/../../../boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()' /home/petr/rpmbuild/BUILD/boost_1_53_0/libs/pool/test/../../../boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()' </pre><p> I'm not sure whether Boost.Pool uses Boost.System directly, but on Linux, linking with Boost.System DSO is commonly needed also when one uses Boost.Thread header files. </p> <p> I'm attaching a patch that fixes the obvious cases. Unfortunately I don't know enough Jam magic to fix the valgrind invocations as well. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9038 Trac 1.4.3 Petr Machata <pmachata@…> Thu, 22 Aug 2013 21:20:10 GMT attachment set https://svn.boost.org/trac10/ticket/9038 https://svn.boost.org/trac10/ticket/9038 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-1.54.0-pool-test_linking.patch</span> </li> </ul> <p> A fix. </p> Ticket Jonathan Wakely <jwakely.boost@…> Tue, 15 Sep 2015 14:38:25 GMT attachment set https://svn.boost.org/trac10/ticket/9038 https://svn.boost.org/trac10/ticket/9038 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-1.58.0-pool-test_linking.patch</span> </li> </ul> <p> Updated patch for 1.58.0 and 1.59.0 </p> Ticket