Boost logo

Boost :

Subject: Re: [boost] [python] [context] [release]: build errors (was: [1.53.0] Beta release candidates 2 now available for testing)
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2013-01-06 13:20:24


2013/1/6 Eric Niebler <eric_at_[hidden]>

> Can anybody comment on this?
>

msvc.link.dll
bin.v2\libs\context\build\msvc-11.0\debug\threading-multi\boost_context-vc110-mt-gd-1_53.dll

   Creating library
bin.v2\libs\context\build\msvc-11.0\debug\threading-multi\boost_context-vc110-mt-gd-1_53.lib

and object bin.v2\libs\context\build\msvc-11.0\
debug\threading-multi\boost_context-vc110-mt-gd-1_53.exp
make_i386_ms_pe_masm.obj : error LNK2019: unresolved external symbol
__exit referenced in function _make_fcontext
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup_at_12

I assume the error report refers to target-os=Windows (32bit)

As the error describes the linker can not find symbol __exit (note two
underscores!).
the assembler code in make_i386_ms_pe_masm.asm calls _exit (_exit() from
c-library) - I don't know why
the assembler (is it MASM?, which version?) adds a leading underscore to
_exit (and _DllMainCRTStartup too).

If take a I look at the regression tests in trunk I see that the test pass (
teeks99-1a-win7-32on64).<http://www.boost.org/development/tests/trunk/teeks99-1a-win7-32on64.html>

Even __DllMainCRTStartup should be _DllMainCRTStartup.

maybe some additional compiler flags are responsive for this behaviour?


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