Subject: Re: 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 14:09:43
Martti Kuparinen --> netbsd-users (2005-05-13 14:14:53 +0300):
> Jukka Salmi wrote:
> >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
> >
> 
> 
> Try this:
> 
> # cvs update -kk -j1.4 -j1.6 sys/dev/ic/aacvar.h
> # cvs update -kk -j1.10 -j1.13 sys/dev/pci/aac_pci.c

Thanks, GENERIC builds fine after merging in these changes. Will they
be pulled up to netbsd-2?


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~