8 messages in com.perforce.jamming[jamming] xxx already defined in lib,...
FromSent OnAttachments
Paul Forgey11 Feb 2004 15:41 
Marco Pappalardo11 Feb 2004 19:26 
Alen Ladavac13 Feb 2004 00:11 
Paul Forgey16 Feb 2004 17:01 
Paul Forgey16 Feb 2004 17:19 
Alen Ladavac17 Feb 2004 09:18 
Alen Ladavac17 Feb 2004 09:21 
Anthony Heading22 Feb 2004 20:44 
Subject:[jamming] xxx already defined in lib, ignoring second definition
From:Paul Forgey (pau@metainfo.com)
Date:02/11/2004 03:41:21 PM
List:com.perforce.jamming

If you build from one directory, then update one of the library's members and build from another directory, the object file isn't seen as the same object file because the paths are different.

So your updated object file is now in the library twice. cd to where the library lives and jam clean.

Unlike ar, lib.exe stores the path specified on the command line of the object files in the resulting library. This is a problem for us too. I suppose it could be solved by modifying the Library rule to be in the directory of the object files when updating the library, but this becomes a hard problem to solve when the object files are all over the place.

Add it to the very long list of stupid MS behaviors in their tools. (You should see the tricks I had to do just to get parallel builds working properly)

On Feb 11, 2004, at 7:26 PM, Marco Pappalardo wrote:

warning : myfunction() already defined in mylib.lib, ignoring second definition.   Am I right to assume from this message that the old code for myfunction() is not being replaced by the new code for myfunction() ? Any ideas on how to fix this ?