Subject: Re: Unable to build current kernel
To: Jan H. van Gils <JanVG@Knoware.NL>
From: James Chacon <jmc@NetBSD.org>
List: current-users
Date: 12/03/2004 11:45:10
On Fri, Dec 03, 2004 at 02:21:21PM +0100, Jan H. van Gils wrote:
> On donderdag 2 december 2004 22:39 Manual Bouyer wrote:
> >-----Original Message-----
> >From: Manuel Bouyer [mailto:bouyer@antioche.eu.org] 
> >Subject: Re: Unable to build current kernel
> >
> >
> >On Wed, Dec 01, 2004 at 10:22:24PM +0100, Jan H. van Gils wrote:
> >> Hi,
> >> 
> >> [...]
> >> /build/tools/bin/i386--netbsdelf-ld -T
> >> ../../../../arch/i386/conf/kern.ldscript
> >> -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} 
> >${EXTRA_OBJ} vers.o
> >> /build/tools/bin/i386--netbsdelf-ld: cannot open 
> >athhal-elf.o: No such file
> >
> >You're missing the src/contrib/sys directory tree.
> 
> No Manual, the problem was that athhal-elf.o was locate in:
>  src/contrib/sys/arch/i386/dev
>  and it should be in src/sys/arch/i386/compile/<config name>

There shouldn't be a .o there. There should be a uuencoded version of the .o
there only.

> 
> After I removed the file from src/contrib/sys/arch/i386/dev the kernel
> compile went fine.

Yes, as it picks up the .uue from contrib/sys/... and unpacks it into a .o
in your compile directory.

don't know how you got a .o there but it's not in CVS that way

James

> 
> >Manuel Bouyer <bouyer@antioche.eu.org>
> >     NetBSD: 26 ans d'experience feront toujours la difference
> 
> 
> Greetz Jan van Gils
> 
>