Subject: Re: Unable to build CURRENT kernel on VAXstation 4000 90a
To: Jan H. van Gils <JanVG@Knoware.NL>
From: Greg Oster <oster@cs.usask.ca>
List: port-vax
Date: 05/25/2002 09:54:42
"Jan H. van Gils" writes:

> The make depend was working fine, but the make gave the following error !
> 
> >>>
> cc  -ffreestanding  -O2 -Werror -Wall -Wno-main -Wpointer-arith
> -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized
> -D_VAX_INLINE_ -I.  -I../../../../arch -I../../../.. -nostdinc -DLKM
> -DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT   -c
> /usr/src/sys/arch/vax/compile/SCOOTER/../../../../dev/raidframe/rf_asele
> ct.c
> /usr/src/sys/arch/vax/compile/SCOOTER/../../../../dev/raidframe/rf_asele
> ct.c: In function `rf_SelectAlgorithm':
> /usr/src/sys/arch/vax/compile/SCOOTER/../../../../dev/raidframe/rf_asele
> ct.c:219: parse error before `;'
> /usr/src/sys/arch/vax/compile/SCOOTER/../../../../dev/raidframe/rf_asele
> ct.c:237: `lastdag_h' undeclared (first use in this function)
> /usr/src/sys/arch/vax/compile/SCOOTER/../../../../dev/raidframe/rf_asele
> ct.c:237: (Each undeclared identifier is reported only once
> /usr/src/sys/arch/vax/compile/SCOOTER/../../../../dev/raidframe/rf_asele
> ct.c:237: for each function it appears in.)
> *** Error code 1

Can you verify that the rf_aselect.c file in your sources is the same as this 
one:

  ftp://ftp.netbsd.org/pub/NetBSD-current/src/sys/dev/raidframe/rf_aselect.c

(rf_aselect.c hasn't changed in some time, and so I'm suspecting that maybe 
the file is corrupt on your end?)

Later...

Greg Oster