Boost logo

Boost-Build :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-01-15 00:21:06


I am sure it's something very simple, but I can't figure it out.

What I need to to link my unit test with thread library. I looked how other
Jamfiles are doing it and tried to reproduce it. It failed. After an hour of
jumping with tambourine around my Jamfile, I've tried thread library own
example. Same story. Here is an error:

bjam --preserve-test-targets -d +2 toolset=msvc-8.0
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
..../boost-trunk/tools/build/v2/build\virtual-target.jam:415: in
_adjust-name from module object(file-target)@411
error: <tag>@rulename is present but is not the only <tag> feature
..../boost-trunk/tools/build/v2/build\virtual-target.jam:224: in
abstract-file-target.__init__ from module object(file-target)@411
..../boost-trunk/tools/build/v2/build\virtual-target.jam:526: in
object(file-target)@411.__init__ from module object(file-target)@411
..../boost-trunk/tools/build/v2/kernel\class.jam:93: in class.new from
module class
..../boost-trunk/tools/build/v2/build\generators.jam:464: in
generated-targets from module object(C-compiling-generator)@24
..../boost-trunk/tools/build/v2/build\generators.jam:376: in
construct-result from module object(C-compiling-generator)@24
..../boost-trunk/tools/build/v2/build\generators.jam:343: in run-really from
module object(C-compiling-generator)@24
..../boost-trunk/tools/build/v2/build\generators.jam:317: in
object(C-compiling-generator)@24.run from module
object(C-compiling-generator)@24
..../boost-trunk/tools/build/v2/build\generators.jam:859: in
try-one-generator-really from module generators
..../boost-trunk/tools/build/v2/build\generators.jam:920: in
try-one-generator from module generators
..../boost-trunk/tools/build/v2/build\generators.jam:1131: in
construct-really from module generators
..../boost-trunk/tools/build/v2/build\generators.jam:1204: in construct from
module generators
..../boost-trunk/tools/build/v2/build\generators.jam:933: in
generators.construct-types from module generators
..../boost-trunk/tools/build/v2/build\generators.jam:517: in
convert-to-consumable-types from module object(linking-generator)@22
..../boost-trunk/tools/build/v2/build\generators.jam:576: in
convert-multiple-sources-to-consumable-types from module
object(linking-generator)@22
..../boost-trunk/tools/build/v2/build\generators.jam:331: in run-really from
module object(linking-generator)@22
..../boost-trunk/tools/build/v2/build\generators.jam:317: in generator.run
from module object(linking-generator)@22
..../boost-trunk/tools/build/v2/tools\builtin.jam:743: in
object(linking-generator)@22.run from module object(linking-generator)@22
..../boost-trunk/tools/build/v2/build\generators.jam:859: in
try-one-generator-really from module generators
..../boost-trunk/tools/build/v2/build\generators.jam:920: in
try-one-generator from module generators
..../boost-trunk/tools/build/v2/build\generators.jam:1131: in
construct-really from module generators
..../boost-trunk/tools/build/v2/build\generators.jam:1204: in
generators.construct from module generators
..../boost-trunk/tools/build/v2/tools\builtin.jam:487: in
object(lib-generator)@5.run from module object(lib-generator)@5
..../boost-trunk/tools/build/v2/build\generators.jam:859: in
try-one-generator-really from module generators
..../boost-trunk/tools/build/v2/build\generators.jam:920: in
try-one-generator from module generators
..../boost-trunk/tools/build/v2/build\generators.jam:1131: in
construct-really from module generators
..../boost-trunk/tools/build/v2/build\generators.jam:1204: in
generators.construct from module generators
..../boost-trunk/tools/build/v2/build\targets.jam:1368: in construct from
module object(typed-target)@319
..../boost-trunk/tools/build/v2/build\targets.jam:1206: in
object(typed-target)@319.generate from module object(typed-target)@319
..../boost-trunk/tools/build/v2/build\targets.jam:742: in generate-really
from module object(main-target)@389
..../boost-trunk/tools/build/v2/build\targets.jam:715: in
object(main-target)@389.generate from module object(main-target)@389
..../boost-trunk/tools/build/v2/build\targets.jam:858: in
targets.generate-from-reference from module targets
..../boost-trunk/tools/build/v2/build\targets.jam:1129: in
generate-dependencies from module object(typed-target)@356
..../boost-trunk/tools/build/v2/build\targets.jam:1176: in
object(typed-target)@356.generate from module object(typed-target)@356
..../boost-trunk/tools/build/v2/build\targets.jam:742: in generate-really
from module object(main-target)@371
..../boost-trunk/tools/build/v2/build\targets.jam:715: in
object(main-target)@371.generate from module object(main-target)@371
..../boost-trunk/tools/build/v2/build\targets.jam:254: in
object(project-target)@352.generate from module object(project-target)@352
..../boost-trunk/tools/build/v2\build-system.jam:658: in load from module
build-system
....\boost-trunk\tools\build\v2/kernel\modules.jam:267: in import from
module modules
....\boost-trunk\tools\build\v2/kernel/bootstrap.jam:132: in boost-build
from module
....\boost-trunk\boost-build.jam:11: in module scope from module

Please advise,

Gennadiy


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