Boost logo

Boost :

From: David Deakins (ddeakins_at_[hidden])
Date: 2007-10-30 16:22:54

Markus Schöpflin wrote:
> Gennadiy Rozental wrote:
>> Markus Schöpflin <markus.schoepflin <at>> writes:
>>> ld:
>>> Unresolved:
>>> boost::debug::under_debugger(void)

I am seeing what may or may not be a related error under VC8 when
building the prg_exec_monitor DLL. The linker is reporting 2 unresolved

execution_monitor.obj : error LNK2019: unresolved external symbol "bool
__cdecl boost::debug::attach_debugger(bool)"
(?attach_debugger_at_debug@boost@@YA_N_N_at_Z) referenced in function "public:
int __thiscall
boost::detail::system_signal_exception::operator()(unsigned int,struct

execution_monitor.obj : error LNK2019: unresolved external symbol "bool
__cdecl boost::debug::under_debugger(void)"
(?under_debugger_at_debug@boost@@YA_NXZ) referenced in function "public:
int __thiscall boost::execution_monitor::execute(class
  boost::unit_test::callback0<int> const &)"

I am pretty sure this is because the Jamfile.v2 in libs/test/build does
not include the debug source file in the list of PRG_EXEC_MON_SOURCES.
I attached a patch for this jamfile to add the missing source.


Index: Jamfile.v2
--- Jamfile.v2 (revision 40610)
+++ Jamfile.v2 (working copy)
@@ -20,6 +20,7 @@
+ debug

Boost list run by bdawes at, gregod at, cpdaniel at, john at