Subject: Re: kernel compile problem
To: None <bouyer@antioche.eu.org>
From: None <phil@cs.wwu.edu>
List: port-i386
Date: 03/21/2002 13:37:22
I said:

>>   I've rebuilt, and reinstalled gas.new and egcs.  I suspect I didn't
>> update something (I have an older -current) but I'm not sure what.

Manuel said:

>Did you try updating your assembler first ?

I rebuilt and installed all of gnu/usr.bin/{binutils,gas.new,egcs}.
I then tried again and still got the error.  Were those not the correct
versions?  I also tried gnu/usr.bin/gas and got a different set of
assembler errors.  I think that was about an unknows pseudo operation.

I also considered that this was an include problem, but after thinking
about it a lot, and seeing the "-nostdinc" it must be that the kernel
compiles use the full sys source tree and that shouldn't be a problem.

The error again:
>> cc  -x assembler-with-cpp -traditional-cpp -D_LOCORE  -Di386 -I.  -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c ../../../../arch/i386/i386/apmcall.s
>> /tmp/ccukbKdC.s: Assembler messages:
>> /tmp/ccukbKdC.s:618: Error: operands given don't match any known 386 instruction
>> *** Error code 1

I'll keep looking ....  

--Phil

-- 
Phil Nelson
e-mail: phil@cs.wwu.edu