Boost logo

Boost-Build :

From: Lian Cheng (rhythm.mail_at_[hidden])
Date: 2008-04-24 02:31:31


Sorry.. forgot the attachment...

Lian Cheng wrote:
> Thanks very much for the tip!
>
> I've done exactly what you told me to do, and I attached the result.
> These lines seem important:
>
> ###
> ### Using 'gcc' toolset.
> ###
> rm -rf bootstrap
> mkdir bootstrap
> gcc -o bootstrap/jam0 command.c compile.c [...]
> ./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= clean
> XXX
> XXX bin.linuxx86_64
> XXX :bin.linuxx86_64
> ...found 1 target...
> ...updating 1 target...
> ...updated 1 target...
> ./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root=
> XXX
> XXX bin.linuxx86_64
> XXX :bin.linuxx86_64
> ...found 47 targets...
> ...updating 2 targets...
> [MKDIR] :bin.linuxx86_64
> [COMPILE] :bin.linuxx86_64/bjam
> [...]
>
> But I still cannot figure out what's going on... This line seems to be
> the trouble maker:
>
> locate-target ?= bin$(.)$(OS:L)$(OSPLAT:L) ;
>
> Vladimir Prus wrote:
>> In jam's src directory there's build.jam, that includes the following code:
>>
>> # Put executables in platform-specific subdirectory.
>> locate-target = $(LOCATE_TARGET) ;
>> if $(VMS)
>> {
>> locate-target ?= bin$(.)vms ;
>> }
>> ...
>> if $(debug)
>> {
>> locate-target = [ .path $(locate-target)$(.)debug ] ;
>> }
>> else
>> {
>> locate-target = [ .path $(locate-target) ] ;
>> }
>>
>> Can you add:
>>
>> ECHO XXX $(locate-target) ;
>>
>> after each assignment and see where the wrong name first appears?
>>
>> - Volodya
>>
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


###
### Using 'gcc' toolset.
###
rm -rf bootstrap
mkdir bootstrap
gcc -o bootstrap/jam0 command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= clean
XXX
XXX bin.linuxx86_64
XXX :bin.linuxx86_64
...found 1 target...
...updating 1 target...
...updated 1 target...
./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root=
XXX
XXX bin.linuxx86_64
XXX :bin.linuxx86_64
...found 47 targets...
...updating 2 targets...
[MKDIR] :bin.linuxx86_64
[COMPILE] :bin.linuxx86_64/bjam
filemac.c:115:5: warning: C++ style comments are not allowed in ISO C90
filemac.c:115:5: warning: (this will be reported only once per input file)
/tmp/ccY4Hn2C.o(.text+0x903): In function `var_expand':
: undefined reference to `path_parse'
/tmp/ccY4Hn2C.o(.text+0x9ee): In function `var_expand':
: undefined reference to `path_build'
/tmp/ccY4Hn2C.o(.text+0xa1d): In function `var_expand':
: undefined reference to `path_parent'
/tmp/ccDcqX1z.o(.text+0x5cb): In function `make1':
: undefined reference to `execwait'
/tmp/ccDcqX1z.o(.text+0x75a): In function `make1':
: undefined reference to `execcmd'
/tmp/ccyve8JC.o(.text+0x12f): In function `search_for_target':
: undefined reference to `path_parse'
/tmp/ccyve8JC.o(.text+0x1c7): In function `search_for_target':
: undefined reference to `path_build'
/tmp/ccyve8JC.o(.text+0x25e): In function `search_for_target':
: undefined reference to `path_build'
/tmp/ccu6BfKy.o(.text+0x179): In function `search':
: undefined reference to `path_parse'
/tmp/ccu6BfKy.o(.text+0x1cc): In function `search':
: undefined reference to `path_build'
/tmp/ccu6BfKy.o(.text+0x350): In function `search':
: undefined reference to `path_build'
/tmp/ccu6BfKy.o(.text+0x3ad): In function `search':
: undefined reference to `path_build'
/tmp/ccugHdZF.o(.text+0xbb): In function `timestamp':
: undefined reference to `path_parse'
/tmp/ccugHdZF.o(.text+0x1a0): In function `timestamp':
: undefined reference to `path_parent'
/tmp/ccugHdZF.o(.text+0x1ad): In function `timestamp':
: undefined reference to `path_build'
/tmp/ccugHdZF.o(.text+0x2d5): In function `timestamp':
: undefined reference to `file_dirscan'
/tmp/ccugHdZF.o(.text+0x3e5): In function `timestamp':
: undefined reference to `path_build'
/tmp/ccugHdZF.o(.text+0x456): In function `timestamp':
: undefined reference to `file_archscan'
/tmp/ccugHdZF.o(.text+0x478): In function `timestamp':
: undefined reference to `file_time'
/tmp/cc8ZaPaO.o(.text+0x6dc): In function `var_string':
: undefined reference to `path_tmpfile'
/tmp/cc8ZaPaO.o(.text+0xd41): In function `var_get':
: undefined reference to `path_tmpnam'
/tmp/cc8ZaPaO.o(.text+0xd64): In function `var_get':
: undefined reference to `path_tmpdir'
/tmp/cc8ZaPaO.o(.text+0xd73): In function `var_get':
: undefined reference to `path_tmpfile'
/tmp/ccaXidhd.o(.text+0x35c): In function `builtin_glob_back':
: undefined reference to `path_parse'
/tmp/ccaXidhd.o(.text+0x3f5): In function `builtin_glob_back':
: undefined reference to `path_build'
/tmp/ccaXidhd.o(.text+0x592): In function `builtin_glob':
: undefined reference to `file_dirscan'
/tmp/ccaXidhd.o(.text+0x635): In function `glob1':
: undefined reference to `file_dirscan'
/tmp/ccaXidhd.o(.text+0x72f): In function `glob_recursive':
: undefined reference to `path_parse'
/tmp/ccaXidhd.o(.text+0x7b7): In function `glob_recursive':
: undefined reference to `path_build'
/tmp/ccaXidhd.o(.text+0x86c): In function `glob_recursive':
: undefined reference to `file_dirscan'
/tmp/ccaXidhd.o(.text+0x8bb): In function `glob_recursive':
: undefined reference to `file_dirscan'
/tmp/ccaXidhd.o(.text+0x92f): In function `glob_recursive':
: undefined reference to `path_build'
/tmp/ccaXidhd.o(.text+0x1ae4): In function `builtin_check_if_file':
: undefined reference to `file_is_file'
collect2: ld returned 1 exit status

    "gcc" -o :bin.linuxx86_64/bjam -DNDEBUG -DOPT_HEADER_CACHE_EXT -DOPT_GRAPH_DEBUG_EXT -DOPT_SEMAPHORE -DOPT_AT_FILES -DOPT_DEBUG_PROFILE -DOPT_FIX_TARGET_VARIABLES_EXT -DOPT_IMPROVED_PATIENCE_EXT -DYYSTACKSIZE=5000 -pedantic -fno-strict-aliasing -s -O3 -Wno-long-long command.c compile.c debug.c expand.c glob.c hash.c hcache.c headers.c hdrmacro.c jam.c jambase.c jamgram.c lists.c make.c make1.c mem.c newstr.c option.c output.c parse.c regexp.c rules.c scan.c search.c subst.c w32_getreg.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execmac.c filemac.c pathmac.c

...failed [COMPILE] :bin.linuxx86_64/bjam...
...failed updating 1 target...
...updated 1 target...
./build_dist.sh: line 22: ../stage/bin.*/bjam: No such file or directory
cp: cannot stat `html/*': No such file or directory
###
### Using 'gcc' toolset.
###
rm -rf bootstrap
mkdir bootstrap
gcc -o bootstrap/jam0 command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= clean
XXX
XXX bin.linuxx86_64
XXX :bin.linuxx86_64
...found 1 target...
...updating 1 target...
...updated 1 target...
./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= --- dist
XXX
XXX bin.linuxx86_64
XXX :bin.linuxx86_64
don't know how to make :modulesset.c
don't know how to make :modulespath.c
don't know how to make :modulesregex.c
don't know how to make :modulesproperty-set.c
don't know how to make :modulessequence.c
don't know how to make :modulesorder.c
...found 212 targets...
...updating 98 targets...
...can't find 6 targets...
...can't make 7 targets...
[MKDIR] boost-jam-3.1.16
[COPY] boost-jam-3.1.16/builtins.c
[COPY] boost-jam-3.1.16/class.c
[COPY] boost-jam-3.1.16/command.c
[COPY] boost-jam-3.1.16/compile.c
[COPY] boost-jam-3.1.16/debug.c
[COPY] boost-jam-3.1.16/execmac.c
[COPY] boost-jam-3.1.16/execnt.c
[COPY] boost-jam-3.1.16/execunix.c
[COPY] boost-jam-3.1.16/execvms.c
[COPY] boost-jam-3.1.16/expand.c
[COPY] boost-jam-3.1.16/filemac.c
[COPY] boost-jam-3.1.16/filent.c
[COPY] boost-jam-3.1.16/fileos2.c
[COPY] boost-jam-3.1.16/filesys.c
[COPY] boost-jam-3.1.16/fileunix.c
[COPY] boost-jam-3.1.16/filevms.c
[COPY] boost-jam-3.1.16/frames.c
[COPY] boost-jam-3.1.16/glob.c
[COPY] boost-jam-3.1.16/hash.c
[COPY] boost-jam-3.1.16/hcache.c
[COPY] boost-jam-3.1.16/hdrmacro.c
[COPY] boost-jam-3.1.16/headers.c
[COPY] boost-jam-3.1.16/jambase.c
[COPY] boost-jam-3.1.16/jam.c
[COPY] boost-jam-3.1.16/jamgram.c
[COPY] boost-jam-3.1.16/lists.c
[COPY] boost-jam-3.1.16/make1.c
[COPY] boost-jam-3.1.16/make.c
[COPY] boost-jam-3.1.16/mem.c
[COPY] boost-jam-3.1.16/mkjambase.c
[COPY] boost-jam-3.1.16/modules.c
[COPY] boost-jam-3.1.16/native.c
[COPY] boost-jam-3.1.16/newstr.c
[COPY] boost-jam-3.1.16/option.c
[COPY] boost-jam-3.1.16/output.c
[COPY] boost-jam-3.1.16/parse.c
[COPY] boost-jam-3.1.16/pathmac.c
[COPY] boost-jam-3.1.16/pathunix.c
[COPY] boost-jam-3.1.16/pathvms.c
[COPY] boost-jam-3.1.16/pwd.c
[COPY] boost-jam-3.1.16/regexp.c
[COPY] boost-jam-3.1.16/rules.c
[COPY] boost-jam-3.1.16/scan.c
[COPY] boost-jam-3.1.16/search.c
[COPY] boost-jam-3.1.16/strings.c
[COPY] boost-jam-3.1.16/subst.c
[COPY] boost-jam-3.1.16/timestamp.c
[COPY] boost-jam-3.1.16/variable.c
[COPY] boost-jam-3.1.16/w32_getreg.c
[COPY] boost-jam-3.1.16/yyacc.c
[COPY] boost-jam-3.1.16/builtins.h
[COPY] boost-jam-3.1.16/class.h
[COPY] boost-jam-3.1.16/command.h
[COPY] boost-jam-3.1.16/compile.h
[COPY] boost-jam-3.1.16/debug.h
[COPY] boost-jam-3.1.16/execcmd.h
[COPY] boost-jam-3.1.16/expand.h
[COPY] boost-jam-3.1.16/filesys.h
[COPY] boost-jam-3.1.16/frames.h
[COPY] boost-jam-3.1.16/hash.h
[COPY] boost-jam-3.1.16/hcache.h
[COPY] boost-jam-3.1.16/hdrmacro.h
[COPY] boost-jam-3.1.16/headers.h
[COPY] boost-jam-3.1.16/jambase.h
[COPY] boost-jam-3.1.16/jamgram.h
[COPY] boost-jam-3.1.16/jamgramtab.h
[COPY] boost-jam-3.1.16/jam.h
[COPY] boost-jam-3.1.16/lists.h
[COPY] boost-jam-3.1.16/make.h
[COPY] boost-jam-3.1.16/mem.h
[COPY] boost-jam-3.1.16/modules.h
[COPY] boost-jam-3.1.16/native.h
[COPY] boost-jam-3.1.16/newstr.h
[COPY] boost-jam-3.1.16/option.h
[COPY] boost-jam-3.1.16/output.h
[COPY] boost-jam-3.1.16/parse.h
[COPY] boost-jam-3.1.16/patchlevel.h
[COPY] boost-jam-3.1.16/pathsys.h
[COPY] boost-jam-3.1.16/pwd.h
[COPY] boost-jam-3.1.16/regexp.h
[COPY] boost-jam-3.1.16/rules.h
[COPY] boost-jam-3.1.16/scan.h
[COPY] boost-jam-3.1.16/search.h
[COPY] boost-jam-3.1.16/strings.h
[COPY] boost-jam-3.1.16/timestamp.h
[COPY] boost-jam-3.1.16/variable.h
[COPY] boost-jam-3.1.16/build.jam
[COPY] boost-jam-3.1.16/build.bat
[COPY] boost-jam-3.1.16/build.sh
[COPY] boost-jam-3.1.16/build_vms.com
[COPY] boost-jam-3.1.16/Jambase
[COPY] boost-jam-3.1.16/jamgram.y
[COPY] boost-jam-3.1.16/jamgram.yy
...skipped boost-jam-3.1.16/:modulesset.c for lack of :modulesset.c...
...skipped boost-jam-3.1.16/:modulespath.c for lack of :modulespath.c...
...skipped boost-jam-3.1.16/:modulesregex.c for lack of :modulesregex.c...
...skipped boost-jam-3.1.16/:modulesproperty-set.c for lack of :modulesproperty-set.c...
...skipped boost-jam-3.1.16/:modulessequence.c for lack of :modulessequence.c...
...skipped boost-jam-3.1.16/:modulesorder.c for lack of :modulesorder.c...
...skipped boost-jam-3.1.16.tgz for lack of boost-jam-3.1.16/:modulesset.c...
[COMPILE] :bin.linuxx86_64/bjam
filemac.c:115:5: warning: C++ style comments are not allowed in ISO C90
filemac.c:115:5: warning: (this will be reported only once per input file)
/tmp/ccK9IXF0.o(.text+0x903): In function `var_expand':
: undefined reference to `path_parse'
/tmp/ccK9IXF0.o(.text+0x9ee): In function `var_expand':
: undefined reference to `path_build'
/tmp/ccK9IXF0.o(.text+0xa1d): In function `var_expand':
: undefined reference to `path_parent'
/tmp/ccagvx8B.o(.text+0x5cb): In function `make1':
: undefined reference to `execwait'
/tmp/ccagvx8B.o(.text+0x75a): In function `make1':
: undefined reference to `execcmd'
/tmp/ccvD4OSb.o(.text+0x12f): In function `search_for_target':
: undefined reference to `path_parse'
/tmp/ccvD4OSb.o(.text+0x1c7): In function `search_for_target':
: undefined reference to `path_build'
/tmp/ccvD4OSb.o(.text+0x25e): In function `search_for_target':
: undefined reference to `path_build'
/tmp/ccXGFxGh.o(.text+0x179): In function `search':
: undefined reference to `path_parse'
/tmp/ccXGFxGh.o(.text+0x1cc): In function `search':
: undefined reference to `path_build'
/tmp/ccXGFxGh.o(.text+0x350): In function `search':
: undefined reference to `path_build'
/tmp/ccXGFxGh.o(.text+0x3ad): In function `search':
: undefined reference to `path_build'
/tmp/cc8hCIUv.o(.text+0xbb): In function `timestamp':
: undefined reference to `path_parse'
/tmp/cc8hCIUv.o(.text+0x1a0): In function `timestamp':
: undefined reference to `path_parent'
/tmp/cc8hCIUv.o(.text+0x1ad): In function `timestamp':
: undefined reference to `path_build'
/tmp/cc8hCIUv.o(.text+0x2d5): In function `timestamp':
: undefined reference to `file_dirscan'
/tmp/cc8hCIUv.o(.text+0x3e5): In function `timestamp':
: undefined reference to `path_build'
/tmp/cc8hCIUv.o(.text+0x456): In function `timestamp':
: undefined reference to `file_archscan'
/tmp/cc8hCIUv.o(.text+0x478): In function `timestamp':
: undefined reference to `file_time'
/tmp/ccSg7MNI.o(.text+0x6dc): In function `var_string':
: undefined reference to `path_tmpfile'
/tmp/ccSg7MNI.o(.text+0xd41): In function `var_get':
: undefined reference to `path_tmpnam'
/tmp/ccSg7MNI.o(.text+0xd64): In function `var_get':
: undefined reference to `path_tmpdir'
/tmp/ccSg7MNI.o(.text+0xd73): In function `var_get':
: undefined reference to `path_tmpfile'
/tmp/ccQhUQSq.o(.text+0x35c): In function `builtin_glob_back':
: undefined reference to `path_parse'
/tmp/ccQhUQSq.o(.text+0x3f5): In function `builtin_glob_back':
: undefined reference to `path_build'
/tmp/ccQhUQSq.o(.text+0x592): In function `builtin_glob':
: undefined reference to `file_dirscan'
/tmp/ccQhUQSq.o(.text+0x635): In function `glob1':
: undefined reference to `file_dirscan'
/tmp/ccQhUQSq.o(.text+0x72f): In function `glob_recursive':
: undefined reference to `path_parse'
/tmp/ccQhUQSq.o(.text+0x7b7): In function `glob_recursive':
: undefined reference to `path_build'
/tmp/ccQhUQSq.o(.text+0x86c): In function `glob_recursive':
: undefined reference to `file_dirscan'
/tmp/ccQhUQSq.o(.text+0x8bb): In function `glob_recursive':
: undefined reference to `file_dirscan'
/tmp/ccQhUQSq.o(.text+0x92f): In function `glob_recursive':
: undefined reference to `path_build'
/tmp/ccQhUQSq.o(.text+0x1ae4): In function `builtin_check_if_file':
: undefined reference to `file_is_file'
collect2: ld returned 1 exit status

    "gcc" -o :bin.linuxx86_64/bjam -DNDEBUG -DOPT_HEADER_CACHE_EXT -DOPT_GRAPH_DEBUG_EXT -DOPT_SEMAPHORE -DOPT_AT_FILES -DOPT_DEBUG_PROFILE -DOPT_FIX_TARGET_VARIABLES_EXT -DOPT_IMPROVED_PATIENCE_EXT -DYYSTACKSIZE=5000 -pedantic -fno-strict-aliasing -s -O3 -Wno-long-long command.c compile.c debug.c expand.c glob.c hash.c hcache.c headers.c hdrmacro.c jam.c jambase.c jamgram.c lists.c make.c make1.c mem.c newstr.c option.c output.c parse.c regexp.c rules.c scan.c search.c subst.c w32_getreg.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execmac.c filemac.c pathmac.c

...failed [COMPILE] :bin.linuxx86_64/bjam...
[MKDIR] boost-jam-3.1.16-1-linuxx86_64
...skipped boost-jam-3.1.16-1-linuxx86_64/bjam for lack of bjam...
...skipped boost-jam-3.1.16-1-linuxx86_64.tgz for lack of boost-jam-3.1.16-1-linuxx86_64/bjam...
...failed updating 1 target...
...skipped 9 targets...
...updated 95 targets...


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