Boost logo

Boost :

Subject: [boost] Problem building Boost test framework
From: Matthias Troyer (troyer_at_[hidden])
Date: 2010-05-05 03:51:21


Hi,

I am trying to build the libraries for the Boost test framework myself (using my own CMake files) instead of using bjam. When trying to link the file execution_monitor.cpp debug.cpp cpp_main.cpp into a dynamic library libboost_prg_exec_monitor.dylib I get the following linker erros:

Linking CXX shared library libboost_prg_exec_monitor.dylib
ld: warning: duplicate dylib /usr/lib/libpthread.dylib
Undefined symbols:
  "boost::debug::attach_debugger(bool)", referenced from:
      _execution_monitor_attaching_signal_handler in execution_monitor.cpp.o
  "boost::debug::under_debugger()", referenced from:
      boost::execution_monitor::execute(boost::unit_test::callback0<int> const&)in execution_monitor.cpp.o

Do I need to link additional files?

Matthias


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk