Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-08-22 06:11:01


On Wednesday 22 August 2007 12:01:26 Thorsten Ottosen wrote:
> Hi Vladimir,
>
> I was hoping you could help me out a bit with bjam.

Hi Thorsten,
please direct all Boost.Build questions to the boost-build_at_[hidden]
mailing list, where you'll get help from more persons and where
any answers will benefit new users.

I CC the list, please reply to the list.

> I'm getting a warning
>
> D:/boost/trunk/tools/build/v2/build\virtual-target.jam:996: in
> virtual-target.re
> gister-actual-name from module virtual-target
> error: Duplicate name of actual target:
> <pbin\msvc-8.0\debug\threading-multi>bay
> esian.lib

Well, is this a *complete* error message? I'm pretty
sure it is not, and the part you've trimmed out
contains important information -- how the conflicting
targets differ in properties.

> in my project. I can run normal boost unit-test inside the boost
> repository, but I'm now using bjam in a non-boost related project.
> There was a FAQ entry about this in the new documentation, but that is
> not the reason here. Maybe you can see the problem by looking at my Jamfile?
>
> In the above warning, I don't get why it says "threading-multi", because
> I only want to build a static library.

Because msvc-8.0 cannot create single-threaded code. The problem you
see can be possibly related to this, but I need full output to be sure.
So, please run again and send me the full output. Also, add the
--debug-building option to bjam invocation -- this will provide some extra
information.

- Volodya


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