Suddenly unresolved symbols show up on the trunk

Hello, I number of string tests just started failing with the following error: ld: Unresolved: boost::debug::under_debugger(void) boost::debug::attach_debugger(bool) boost::debug::detect_memory_leaks(bool) boost::debug::break_memory_alloc(long) boost::debug::set_debugger(boost::unit_test::basic_cstring<const char>, boost::unit_test::callback1<const boost::debug::d For example: libs/algorithm/string/test/predicate.test libs/algorithm/string/test/find.test libs/algorithm/string/test/regex.test What happened? Markus

Markus Schöpflin <markus.schoepflin <at> comsoft.de> writes:
Hello,
I number of string tests just started failing with the following error:
ld: Unresolved: boost::debug::under_debugger(void)
There were couple revisions last night with this issue. It should be resolved by now. Do you still see it? What configuration r u using ? Gennadiy

Gennadiy Rozental wrote:
Markus Schöpflin <markus.schoepflin <at> comsoft.de> writes:
Hello,
I number of string tests just started failing with the following error:
ld: Unresolved: boost::debug::under_debugger(void)
There were couple revisions last night with this issue. It should be resolved by now. Do you still see it? What configuration r u using ?
The error was present in revision 40452, but it seems to be gone in revision 40471. I observed the error on Tru64/CXX. Markus

Markus Schöpflin wrote:
Gennadiy Rozental wrote:
Markus Schöpflin <markus.schoepflin <at> comsoft.de> 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 symbols: execution_monitor.obj : error LNK2019: unresolved external symbol "bool __cdecl boost::debug::attach_debugger(bool)" (?attach_debugger@debug@boost@@YA_N_N@Z) referenced in function "public: int __thiscall boost::detail::system_signal_exception::operator()(unsigned int,struct _EXCEPTION_POINTERS *)" (??Rsystem_signal_exception@detail@boost@@QAEHIPAU_EXCEPTION_POINTERS@@@Z) execution_monitor.obj : error LNK2019: unresolved external symbol "bool __cdecl boost::debug::under_debugger(void)" (?under_debugger@debug@boost@@YA_NXZ) referenced in function "public: int __thiscall boost::execution_monitor::execute(class boost::unit_test::callback0<int> const &)" (?execute@execution_monitor@boost@@QAEHABV?$callback0@H@unit_test@2@@Z) 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. Thanks, -Dave Index: Jamfile.v2 =================================================================== --- Jamfile.v2 (revision 40610) +++ Jamfile.v2 (working copy) @@ -20,6 +20,7 @@ PRG_EXEC_MON_SOURCES = execution_monitor + debug cpp_main ;

"David Deakins" <ddeakins@veeco.com> wrote in message news:fg83qu$tsk$1@ger.gmane.org... Markus Schopflin wrote:
Gennadiy Rozental wrote:
Markus Schopflin <markus.schoepflin <at> comsoft.de> 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 symbols:
Thanks, fixed Gennadiy
participants (3)
-
David Deakins
-
Gennadiy Rozental
-
Markus Schöpflin