Subject: Re: Build problem with "-j 2" in "src/usr.bin/ktruss"
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 07/10/2004 01:22:32
In article <20040709222106.GD16679@drowsy.duskware.de>,
Martin Husemann <martin@duskware.de> wrote:
>On Fri, Jul 09, 2004 at 10:07:34PM +0000, Matthias Scheler wrote:
>> The reason is that it shares the dynamically
>> generated source file "ioctl.c" with "src/usr.bin/kdump" but doesn't
>> (reliably) wait until the file has really been created.
>
>I don't understand the problem. There are two copies of the generated
>file created, and both makefiles have theier own rules to do so.
>
>Some path magic getting confused if the other generated file already
>exists but then the local generated file is used? Did you try the .WAIT
>and does it solve the problem?

Maybe he is building without an objdir, and there is a .PATH?

christos