Subject: Re: kernel compile problem
To: Phil Nelson <philnelson@attbi.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 03/21/2002 20:26:19
On Wed, Mar 20, 2002 at 11:51:29PM -0800, Phil Nelson wrote:
> Hi,
> 
>   I'm trying to compile a -current version of GENERIC_LAPTOP and I 
> get the following error during the compile.  If I remove the
> apm0 config line I get a complete kernel.  But I want apm!
> 
>   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.
> 
>   Any clues to help speed my search?  Thanks.
> 
> 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

Did you try updating your assembler first ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--