Boost logo

Boost-Build :

From: Alexey Syomichev (asyomichev_at_[hidden])
Date: 2005-01-11 22:00:39

Toon Knapen wrote:
> Alexey Syomichev wrote:
>>$ bjam link=static
>>error: Duplicate name of actual target:
> 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.

Does the "project" rule generate any targets? I didn't think so.
Anyway, I gave it a shot and renamed both projects. It didn't help.
>From looking at the error I can say that duplicate targets are actually
created for the the same library with different sets of properties
("added properties: <define>B"). The other thing is that both
conflicting targets are produced by the "stage" rule. The question is,
why common%common.copy-a.STATIC_LIB is generated second time with the
requirements of the project "b"?



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