Boost logo

Boost-Build :

From: Jürgen Hunold (hunold_at_[hidden])
Date: 2004-06-17 02:41:49


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi !

I'm having serious trouble when using build-project in one of my
project. What I get is

/ive/hunold/packages/boost/tools/build/v2/build/virtual-target.jam:797:
in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pbin>lm_new.o
error: previous virtual target { common%common.copy-lm_new.OBJ
{ /usr/local/flexlm/v9.2/i86_r9/lm_new.OBJ } }
error: another virtual target { common%common.copy-lm_new.OBJ
{ /usr/local/flexlm/v9.2/i86_r9/lm_new.OBJ } }
/ive/hunold/packages/boost/tools/build/v2/build/virtual-target.jam:175:
in actualize-no-scanner from module object(file-target)@13383

(full output attached).

My problem: I'm building several projects (=programs) from one top-level
Jamfile.
_Each_ sub-project compiles like a charm when bjam is invoked in the
sub-project's top-level directory. When building from the common
top-level directory (= project-root for all sub-projects), bjam chokes
with the message above when finding more than 6 build-project rules.
I've tried several combinations of my 10 sub-projects but I can only
build 6 of them at a time.

I don't have any idea whats going on here, especially because the error
message does not refer to any of my Jamfiles. This doesn't feel right.

Note: the top-level Jamfiles pulls flexlm target from my main project
via usage-requirements. It contains of the flexlm library and the
mentionend object file. The main project itself uses 8 build-project
rules to build our program suite, so this could be connected to the
usage-requirements.

Any Ideas ?

Yours,

Jürgen

- --
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA0Us9ljbJ/LLrxrYRAk40AJ9LOpP6zbp5k9NdV0knfa2mbvIOeACcDiPC
7gUCazLH3SdX3YXgqT1GMvg=
=lKO3
-----END PGP SIGNATURE-----
 --Boundary-00=_9sU0AMI1M0r+9Ky Content-Type: text/plain;
charset="utf-8";
name="out.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="out.txt"

LINUX
PYTHON_PATH
/ive/hunold/packages/boost/tools/build/v2/build/virtual-target.jam:797: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pbin>lm_new.o
error: previous virtual target { common%common.copy-lm_new.OBJ { /usr/local/flexlm/v9.2/i86_r9/lm_new.OBJ } }
error: another virtual target { common%common.copy-lm_new.OBJ { /usr/local/flexlm/v9.2/i86_r9/lm_new.OBJ } }
/ive/hunold/packages/boost/tools/build/v2/build/virtual-target.jam:175: in actualize-no-scanner from module object(file-target)@13383
/ive/hunold/packages/boost/tools/build/v2/build/virtual-target.jam:110: in object(file-target)@13383.actualize from module object(file-target)@13383
/ive/hunold/packages/boost/tools/build/v2/build-system.jam:169: in load from module build-system
/ive/hunold/src/../packages/boost/tools/build/v2/kernel/modules.jam:259: in import from module modules
/ive/hunold/src/../packages/boost/tools/build/v2/kernel/bootstrap.jam:120: in boost-build from module
/ive/hunold/src/boost-build.jam:1: in module scope from module

 --Boundary-00=_9sU0AMI1M0r+9Ky--


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