Boost logo

Boost-Build :

From: Michael Stevens (Michael.Stevens_at_[hidden])
Date: 2004-02-10 04:14:20


Hi,

It seems to have gone quite with regards to "Duplicate name for actual target"
errors. The latest CVS HEADshows there seems to be at least one more case that
is problematic. Following test Jamfile shows the problem.

# Jamfile - See Boost.build v2
# Test for duplicate name for <file> library problem

# System libraries - specify local link requirements for lapack
lib lapack : : <file>"lapack.a" ;

# The executable for testing
exe test :
test.cpp
lapack
:
: debug release
;

When ever two or more targets are specified for building (in this case debug
and release) it fails with the following back trace.

/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/build/virtual-target.jam:797
: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <p.>lapack.a
previous virtual target { %.no-action-lapack.STATIC_LIB }
another virtual target { %.no-action-lapack.STATIC_LIB }
/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/build/virtual-target.jam:175
: in actualize-no-scanner from module object(file-target)@8
/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/build/virtual-target.jam:110
: in object(file-target)@8.actualize from module object(file-target)@8
/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/build/virtual-target.jam:630
: in actualize-source-type from module object(action)@2
/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/build/virtual-target.jam:649
: in actualize-sources from module object(action)@2
/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/build/virtual-target.jam:596
: in object(action)@2.actualize from module object(action)@2
/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/build/virtual-target.jam:301
: in actualize-action from module object(file-target)@13
/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/build/virtual-target.jam:182
: in actualize-no-scanner from module object(file-target)@13
/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/build/virtual-target.jam:110 :
in object(file-target)@13.actualize from module object(file-target)@13
/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/build-system.jam:169:
in load from module build-system
/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/kernel/modules.jam:259:
in import from module modules
/home/michael/Documents/MyProjects/boost/boost_CVS/tools/build/v2/kernel/bootstrap.jam:120:
in boost-build from module
/home/michael/Documents/MyProjects/boost-build.jam:15: in module scope from
module

Hope this help,
Michael

-- 
___________________________________
Michael Stevens Systems Engineering
Lilienweg 13a
34128 Kassel, Germany
Phone/Fax: +49 561 5218038
___________________________________
 

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