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?

   Creating library

and object bin.v2\libs\context\build\msvc-11.0\
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
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 (

Even __DllMainCRTStartup should be _DllMainCRTStartup.

maybe some additional compiler flags are responsive for this behaviour?

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