Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-07-10 09:54:27


(Moved to the jamboost list at yahoogroups, where this discussion should
take place)

----- Original Message -----
From: "Gennadiy Rozental" <rogeeff_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.devel
To: <boost_at_[hidden]>
Sent: Wednesday, July 10, 2002 10:38 AM
Subject: [boost] Re: Error while using testing.jam

>
> "Gennadiy Rozental" <rogeeff_at_[hidden]> wrote in message
> news:age14m$14b$1_at_main.gmane.org...
> > I've got following error:
> >
> > ....\boost\tools\build\boost-base.jam:1427: in
find-compatible-subvariant
> > *** argument error
> > * rule is-link-compatible ( feature : value1 : value2 )
> > * called with: ( <target-type> : RUN_FAIL : )
> > * missing argument value2
> > ....\boost\tools\build\boost-base.jam:1389:see definition of rule
> > 'is-link-compatible' being called
> > ....\boost\tools\build\boost-base.jam:1456: in link-libraries
> > ....\boost\tools\build\boost-base.jam:1654: in subvariant-target
> > ....\boost\tools\build\boost-base.jam:1737: in main-target
> > ....\boost\tools\build\boost-base.jam:1303: in declare-local-target
> > ....\boost\tools\build\testing.jam:50: in boost-test
> > ....\boost\tools\build\testing.jam:369: in run-fail
> >
> > Any help?
> >
> > Gennadiy.
> >
>
> I found out that the reason is wrong name of the library specified as a
> source to run rule. But why does it produce syntax error?

It's not a syntax error, but a run-time error.
It would be better if we produced a better error message, but we're not
going to try to do that for v1.

-Dave

 


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