Subject: GENERIC build failure since aac_pci.c pullup
To: None <netbsd-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: netbsd-users
Date: 05/13/2005 12:38:06
Hi,
using netbsd-2 sources, the GENERIC kernel fails to build:
# compile GENERIC/aac_pci.o
/opt/tools/i386/bin/i386--netbsdelf-gcc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c /usr/src/sys/dev/pci/aac_pci.c
/usr/src/sys/dev/pci/aac_pci.c:244: error: `AAC_QUIRK_NO4GB' undeclared here (not in a function)
/usr/src/sys/dev/pci/aac_pci.c:244: error: initializer element is not constant
[...]
So src/sys/dev/ic/aacvar.h should probably be pulled up, too.
Cheers, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~