Subject: Re: Can't compile kernel as of (Sept. 08, 2002)
To: sucho2 <sucho2@vt.edu>
From: Chris Pinnock <cjep@fawlty.net>
List: netbsd-help
Date: 09/09/2002 08:24:56
On Sun, Sep 08, 2002 at 06:43:32PM -0400, sucho2 wrote:
> Hello,
> 
> tools build using ./build.sh -t seem to finish without error.  But when I try 
> to compile the kernel I get the error:
> 
> ../../../../arch/i386/conf/majors.i386:6: syntax error
> *** Stop.
> 
> This error I get when I do
> 
> cd /usr/src/sys/arch/i386/conf
> 
> config MYKERNEL

You are still using the "old" config in userland. Try using the config
that you have just build. e.g. /wherever/your/new/tools/are/bin/nbconfig
or cd /usr/src/usr.sbin/config && make dependall && make install to
rebuild config.

> I was able to compile the kernel on Thursday.  So it must be any addition or 
> changes made afterwards creating this problem.

This will probably be the merge of the gehenna-devsw branch into the trunk.

best wishes,
Chris