Subject: Error compiling current kernel
To: None <current-users@netbsd.org>
From: Louis-Philippe Lessard <yayay@mac.com>
List: current-users
Date: 02/10/2001 12:49:25
I got an error when I try to "make" a kernel from the yesterday source :

cpp -traditional -D_LOCORE -I. -I../../../../arch -I../../../.. -nostdinc=
 -DHZ=3D"0x3c" -DM68040 -DLKM -DDIAGNOSTIC -DGRF_COMPAT -DMAXUSERS=3D16=
 -D_KERNEL -Dmac68k ../../../../arch/mac68k/mac68k/locore.s | sed -e=
 's/^#.*//' | as -o locore.o
{standard input}: Assembler messages:
{standard input}:974: Warning: Unknown expression: '%usp' defaulting to 0
{standard input}:974: Warning: Unknown expression: '%a0' defaulting to 0
{standard input}:975: Warning: Unknown expression: '%a0' defaulting to 0
{standard input}:975: Warning: Unknown expression: '%sp' defaulting to 0
{standard input}:976: Error: "Malformed operand" -- Statement 'clrl %sp@-' i=
gnored
{standard input}:977: Error: "Malformed operand" -- Statement 'clrl %sp@-' i=
gnored
{standard input}:978: Error: "Malformed operand" -- Statement 'movl=
 %d0,%sp@-' ignored
{standard input}:980: Error: "instruction/operands mismatch" -- Statement=
 'lea %sp@(12),%sp' ignored

[=8A]

{standard input}:1974: Warning: Unknown expression: '%a0' defaulting to 0
{standard input}:1975: Error: "instruction/operands mismatch" -- Statement=
 'cmpal %a0,%a1' ignored
{standard input}:1981: Error: "instruction/operands mismatch" -- Statement=
 'bclr %d0,%d1' ignored
{standard input}:1982: Warning: Unknown expression: '%d1' defaulting to 0
*** Error code 1

Stop.

I tried to recompile some critical tools (yacc, lex, compile_et, xlint), but=
 it changed nothing. The problem must be on my side, but I have no idea what=
 it could be. It's the first time I try to build a new kernel.

Any suggestion?

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
YayaY		Pourquoi pas?		Why not?
Louis-Philippe Lessard      (mailto://yayay@mac.com)
ICQ#  5625641		     PGP Key ID: 0x94E6A35D