Subject: RE: Can't compile kernel as of (Sept. 08, 2002)
To: Frederick Bruckman <fredb@immanent.net>
From: sucho2 <sucho2@vt.edu>
List: netbsd-help
Date: 09/08/2002 19:56:53
>===== Original Message From Frederick Bruckman <fredb@immanent.net> =====
>On Sun, 8 Sep 2002, sucho2 wrote:
>
>> 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
>>
>> I get same error using GENERIC_LAPTOP so it's not an error in MYKERNEL.
>
>Try using ${TOOLDIR}/bin/nbconfig, rather than config.
>
>> I was able to compile the kernel on Thursday.  So it must be any addition 
or
>> changes made afterwards creating this problem.
>
>Yes, you must rebuild config (and then use the rebuilt one!).
>
>Frederick


Hi,

Thank you very much!  That solved the problem.  Somehow I thought ./build.sh 
-t would automatically update the tools, config, etc in the system.  This time 
I had to manually go into /usr/src/tools/config and do make && make install.

#cd /usr/src/sys/arch/i386/conf

#/usr/src/tools/obj/tools.NetBSD-1.6G-i386/bin/nbconfig GENERIC_LAPTOP

did it.

Thank you.


Yours sincerely,
S. N. Cho,
Sunday, Sept. 08, 2002.