Subject: Re: Build error while compiling sys/arch/i386/stand (atomic.h related)
To: None <current-users@NetBSD.org>
From: Bernd Ernesti <firstname.lastname@example.org>
Date: 12/29/2007 08:30:44
On Sat, Dec 29, 2007 at 12:26:56AM +0000, Andrew Doran wrote:
> On Mon, Dec 24, 2007 at 06:26:47PM +0000, Andrew Doran wrote:
> > On Sun, Dec 23, 2007 at 06:08:24PM +0100, Bernd Ernesti wrote:
> > > a normal build in src/sys/arch/i386/stand fails with :
> > >
> > > compile kern/atomic_add_64_cas.o
> > > In file included from /src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/atomic/atomic_add_64_cas.c:41:
> > > /src/sys/arch/i386/stand/boot/biosboot/../../../../../sys/atomic.h:44:20: error: stdint.h: No such file or directory
> > > *** Error code 1
> > Oh, I didn't see that one. I'll have a look now.
> I still don't see this. Have you tried a fresh build? I think it's stale deps.
There can't be any stale deps because I removed the sperate object directories and
the source directory was read only.
This is just a normal make dependall under sys/arch/i386, nothing with build.sh.
The compile flags use -nostdinc so there can't and shouldn't be any include files used
outside of the kernel source.