Boost logo

Boost-Build :

From: chyipin (chyipin_at_[hidden])
Date: 2004-09-21 03:47:25


I am failing to build the v2/example/libraries example project.
Please help.

The following is the output from the bjam invocation on the
v2/example/libraries directory:

bjam debug
...found 11 targets...
...updating 2 targets...
gcc.compile.c++ bar\bin\gcc\debug\bar.o
gcc.link.dll bar\bin\gcc\debug\bar.dll
C:\MinGW\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe:
invalid hex number for PE parameter 'bar.dll'

g++ -g -o "bar\bin\gcc\debug\bar.dll" -Wl,-h -Wl,bar.dll
-shared "bar\bin\gcc\debug\bar.o" -Wl,-Bdynamic -Wl,-Bstatic
-Wl,-Bdynamic -Wl,-Bstatic -Wl,-Bdynamic

...failed gcc.link.dll bar\bin\gcc\debug\bar.dll...
...failed updating 1 target...
...updated 1 target...

bjam --version
Boost.Build V2 (Milestone 9.1)
Boost.Jam 03.01.09

I'm using MinGW on Windows XP. It seems that ld.exe is the culprit,
but I can't find any useful references to fix this problem.

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk