Boost logo

Boost-Build :

Subject: Re: [Boost-build] error: Duplicate name of actual target
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-02 09:49:44


On Thursday 02 October 2008 15:28:54 Grigory Simonyan wrote:

> /projects/boost_1_36_0/tools/build/v2/build/virtual-target.jam:1032: in
> virtual-target.register-actual-name from module virtual-target
>
> error: Duplicate name of actual target:
> <p/projects/ivr/build/TimerTest/gcc-4.2.1/debug/threading-multi>TimerTest.o
>
> error: previous virtual target { gcc%gcc.compile.c++-TimerTest.o.OBJ {
> TimerTest.cpp.CPP } }
>
> error: created from ./TimerTest
>
> error: another virtual target { gcc%gcc.compile.c++-TimerTest.o.OBJ {
> TimerTest.cpp.CPP } }
>
> error: created from ./TimerTest
>
> error: added properties: <python-debugging>off <python>2.5
> <threadapi>pthread

Well, it means your target is built twice, with different properties, and of course
we cannot install two binaries named TimerTest into ".".

I don't know why this is happening, because you did not told everything about your
setup. In particular, you provide Jamfile -- where's Jamroot? What other project
refer to this TimerTest target?

- 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