Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2005-01-11 16:21:14


Alexey Syomichev wrote:
> ------ ./project-root.jam ------
> path-constant DIST : ./build ;
> using sun ;
> ------ ./Jamfile --------
> build-project a ;
> build-project b ;
> ------ a/Jamfile --------
> project a ;
> lib a : a.cpp ;
> stage dist : a : <location>$(DIST) ;
> ------ b/Jamfile --------
> project b : requirements <define>B ;
> lib b : b.cpp : <library>/a//a ;
> stage dist : b : <location>$(DIST) ;
> -------------------------
> $ bjam link=static
> error: Duplicate name of actual target:
> <p/bb/home4/asyomich/temp/bj/build>a.a

My guess is that the problem is that inside 'a/Jamfile' you have twice a
target names 'a': the project and the library. Try to rename the project
to 'module_a' for instance or soth. and see what happens.

 


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