Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-02-19 11:56:19


"Victor A. Wagner, Jr." <vawjr_at_[hidden]> writes:

> I'd be happy to help out with the regression tests but currently when
> I get everything from the CVS repository, then simply tell it to:
>
> bjam "-sTOOLS=vc7 msvc vc71" >bjam.log
>
> I get 32 things which fail:
>
> ...failed updating 36 targets...
> ...skipped 36 targets...
> ...updated 852 targets...
>
> from the most recent run (8 hours ago).
>
> all of the errors seem to be triggered by this:
>
> vc-Link
> libs\signals\build\bin\boost_signals.dll\vc71\release\runtime-link-dynamic\boost_signals.dll
> libs\signals\build\bin\boost_signals.dll\vc71\release\runtime-link-dynamic\boost_signals.lib
> Creating library
> libs\signals\build\bin\boost_signals.dll\vc71\release\runtime-link-dynamic\boost_signals.lib
> and object
> libs\signals\build\bin\boost_signals.dll\vc71\release\runtime-link-dynamic\boost_signals.exp
> vc-Link
> libs\test\build\bin\boost_prg_exec_monitor.dll\vc7\debug\runtime-link-static\threading-single\boost_prg_exec_monitor.dll
> libs\test\build\bin\boost_prg_exec_monitor.dll\vc7\debug\runtime-link-static\threading-single\boost_prg_exec_monitor.lib
> cpp_main.obj : error LNK2019: unresolved external symbol "int __cdecl
> cpp_main(int,char * * const)" (?cpp_main@@YAHHQAPAD_at_Z) referenced in
> function "public: virtual int __thiscall `anonymous
> namespace'::cpp_main_caller::function(void)"
> (?function_at_cpp_main_caller@?A0xb7c10447@@UAEHXZ)
> libs\test\build\bin\boost_prg_exec_monitor.dll\vc7\debug\runtime-link-static\threading-single\boost_prg_exec_monitor.dll
> : fatal error LNK1120: 1 unresolved externals
>
> Any suggestions on fixing this would be helpful, and then what do I do
> to actually run the regressions tests?

I think this is just a mistake in Gennadiy's build for Win32.

On Win32, a DLL (boost_prg_exec_monitor.dll) cannot link to a symbol
in an executable, period. To make this work, the user has to supply a
DLL containing cpp_main.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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