Boost logo

Boost-Build :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2005-07-28 22:34:14


I was reading the Libraries section of the manual at:

I tried this example under Linux:

lib dl : : <name>dl ; # works
#lib dl ; # does not work

bin prog : somefile.cpp dl ;

The example works with the first line uncommented, i.e.
when it compiles prog, it passes -ldl to the linker. If I comment out
the first line, and uncomment the second line, I get this error message:

/opt/home/rodrigc/boost/tools/build/v2/build/generators.jam:826: in try-one-generator-really
*** argument error
* rule object(gcc-linking-generator) ( project name ? : property-set : sources + )
* called with: ( object(project-target)@3 edit : object(property-set)@3 : )
* missing argument sources
/opt/home/rodrigc/boost/tools/build/v2/tools/unix.jam:40:see definition of rule 'run' being called
/opt/home/rodrigc/boost/tools/build/v2/build/generators.jam:873: in try-one-generator

Is the manual wrong, or is something wrong in BBv2?

Craig Rodrigues 

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at