Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-03-15 12:15:20


On 2002-03-15 at 04:30 PM, ghost_at_[hidden] (Vladimir Prus) wrote:

>
>When trying to run the most recent build system on the following jamfile
>
> project-root ;
>
> exe nm_asm_estimate : nm_asm_estimate.cpp <lib>nm_time_estimate ;
> lib nm_time_estimate : BasicBlock.cpp ;
>
>I get:
>
>/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1330: in
>find-compatible-subvariant
>*** argument error
>* rule is-link-compatible ( feature : value1 : value2 )
>* called with: ( <target-type> : EXE : )
>* missing argument value2
>/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1301:see definition of
>rule 'is-link-compatible' being called
>/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1359: in
link-libraries
>/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1545: in
>subvariant-target
>/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1628: in main-target
>/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1213: in
>declare-local-target
>/home/ghost/build/boost-cvs/tools/build/boost-base.jam:1639: in exe
>Jamfile:4: in module scope
>
>Could anyone try to reproduce it, in order to check that I don't have simply
>broken local configuration?

I get the same errors, but this works...

project-root ;

lib nm_time_estimate : BasicBlock.cpp ;
exe nm_asm_estimate : nm_asm_estimate.cpp <lib>nm_time_estimate ;

The bug really is that it should tell you that there is no
<lib>nm_time_estimate target defined. I'll see if I can put that error message
in there.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]

 


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