Boost logo

Boost Users :

From: Alexis H. Rivera-Rios (ahrivera_at_[hidden])
Date: 2004-06-17 15:00:46


Hi,

I downloaded boost 1.31.0 and I'm using bjam version
3.1.10. I want to compile the code with Mingw by
doing the following:

bjam -s"TOOLS=mingw" and I get the following message:

C:\opt\boost_1_31_0>bjam -s"TOOLS=mingw" install
...found 8817 targets...
...updating 3260 targets...
MkDir1 C:\Boost
MkDir1 C:\Boost\lib
gcc-Link-action
bin\boost\libs\date_time\build\boost_date_time.dll\mingw\debug\b
oost_date_time-mgw-d-1_31.dll
bin\boost\libs\date_time\build\boost_date_time.dll
\mingw\debug\boost_date_time-mgw-d-1_31.lib
spawn: Invalid argument

I have no idea were to start looking to debug the
code.

If it may help, I downloaded the source code for bjam
and compiled it and get the following messages:

C:\opt\boost-jam-3.1.10>build mingw
###
### Using 'mingw' toolset.
###

C:\opt\boost-jam-3.1.10>rd /S /Q bootstrap.mingw

C:\opt\boost-jam-3.1.10>md bootstrap.mingw

C:\opt\boost-jam-3.1.10>gcc -DNT -o
bootstrap.mingw\jam0.exe command.c compile.
c execnt.c execunix.c execvms.c expand.c filent.c
fileos2.c fileunix.c filevms.c
 glob.c hash.c hdrmacro.c headers.c jam.c jambase.c
jamgram.c lists.c make.c mak
e1.c newstr.c option.c parse.c pathunix.c pathvms.c
regexp.c rules.c scan.c sear
ch.c subst.c timestamp.c variable.c modules.c
strings.c filesys.c builtins.c pwd
.c class.c w32_getreg.c native.c modules/set.c
modules/path.c modules/regex.c m
odules/property-set.c modules/sequence.c
modules/order.c
execnt.c: In function `execcmd':
execnt.c:651: warning: passing arg 3 of `spawnvp' from
incompatible pointer type

execnt.c:682: warning: passing arg 3 of `spawnvp' from
incompatible pointer type

C:\opt\boost-jam-3.1.10>.\bootstrap.mingw\jam0 -f
build.jam --toolset=mingw "--t
oolset-root= " clean
...found 1 target...
...updating 1 target...
.rm. clean
...updated 1 target...

C:\opt\boost-jam-3.1.10>.\bootstrap.mingw\jam0 -f
build.jam --toolset=mingw "--t
oolset-root= "
...found 83 targets...
...updating 4 targets...
.cc. bin.ntx86\yyacc.exe
.cc. bin.ntx86\mkjambase.exe
.cc. bin.ntx86\jam.exe
execnt.c: In function `execcmd':
execnt.c:651: warning: passing arg 3 of `spawnvp' from
incompatible pointer type

execnt.c:682: warning: passing arg 3 of `spawnvp' from
incompatible pointer type

.link. bin.ntx86\bjam.exe
        1 file(s) copied.
...updated 4 targets...

The executables are generated, but I suspect the spawn
 warning has to do with the build error.

I'll appreciate your help,
Alex

=====
Programming Tutorial:
In Python: To do this, do this
In Perl: To do this, do this or this or this or this...
In C: To do this, do this, but be careful
In C++: To do this, do this, but don't do this, be careful of this, watch out for this, and whatever you do, don't do this

                
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net