Subject: Can't compile GENERIC 1.4.1 kernel
To: None <netbsd-help@netbsd.org>
From: Zach Fine <zach@xdsl014.serv.net>
List: netbsd-help
Date: 11/11/1999 09:59:58
I tried compiling the GENERIC kernel just as a test. I made no changes
to the GENERIC config file that shipped with NetBSD 1.4.1. The make
process always stops at this point:

---------------------------------------------------------------------
xdsl014# make
cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DDIAGNOSTIC -DNS -DMAXUSERS=32 -D_KERNEL -Di386  -c ../../../../dev/pci/isp_pci.c
In file included from ../../../../dev/pci/isp_pci.c:39:
../../../../dev/microcode/isp/asm_pci.h:2996: syntax error before `0x00d0'
../../../../dev/microcode/isp/asm_pci.h:5156: syntax error before character 021
../../../../dev/microcode/isp/asm_pci.h:6542: numeric constant with no digits
../../../../dev/microcode/isp/asm_pci.h:6542: syntax error before character 021
../../../../dev/microcode/isp/asm_pci.h:6542: numeric constant contains digits beyond the radix
*** Error code 1

Stop.


xdsl014# pwd
/usr/src/sys/arch/i386/compile/GENERIC
xdsl014# cc --version
egcs-1.1.1
---------------------------------------------------------------------

I looked at the file "asm_pci.h", and here are lines 2995-2997:

	0x0001, 0x0078, 0x2f1e, 0x2300, 0x0079, 0x2f26, 0x2f2b, 0x2f29,
	0x2fac, 0x1078, 0x28ca, 0x78e4, 0xa005 0x00d0, 0x2f62, 0x3208,
	0x007e, 0x2001, 0x4a04, 0x2004, 0xd0ec, 0x007f, 0x0040, 0x2f3c,

So I'm wondering, where did that extra ^L come from, and has anyone
else seen this?

Thanks for any help or information.

-Zach Fine
czyz@serv.net