Subject: Unable to build current Kernel on VAXstattion 4000 90a
To: Current-Users-Owner <current-users@netbsd.org>
From: Jan H. van Gils <JanVG@Knoware.NL>
List: current-users
Date: 05/24/2002 09:20:41
Hi,

Thanks for reading.

Error message when building Current Kernel on a VAXstation 4000 90a

I did the following :

Installed current snapshot for VAX
>>>
uname -a
NetBSD scooter.onsight.nl 1.5ZC NetBSD 1.5ZC (GENERIC) #0: Sun Mar 31
10:51:52 PST 2002
matt@pilot.local:/tmp/vax/obj/sys/arch/vax/compile/GENERIC vax
<<<

1. Got the latest updates via sup.
2. Cd /usr/src/sys/arch/vax/conf; cp GENERIC MYHOST; cd ../compile/MYHOST;
make depend; make

Here is my /etc/mk.conf

>>>
USR_OBJMACHINE=yes
OBJMACHINE=yes
#OBJECT_FMT=a.out
OBJECT_FMT=ELF
#DESTDIR=/
BSDSRCDIR=/usr/src
BSDOBJDIR=/usr/obj
MKOBJDIRS=yes
TOOLDIR=/usr/tools.vax
#RELEASEDIR=/usr/release
USE_NEW_TOOLCHAIN=yes
USETOOLS=never
MKTOOLS=yes
MKPROFILE=no
BUILD=1
KERBEROS5=yes
KERBEROS=yes
UVM=1
PMAP_NEW=1
USE_EGCS=1
NOLINT=1
PAPERSIZE=A4
LOCALBASE=/usr/local
# MASTER_SITE_OVERRIDE=
USA_RESIDENT=YES
USE_RSAREF2=YES
ACCEPTABLE_LICENSES+=no-commercial-use
ACCEPTABLE_LICENSES+=shareware
ACCEPTABLE_LICENSES+=mosaic-license
ACCEPTABLE_LICENSES+=adobe-acrobat-license
ACCEPTABLE_LICENSES+=kermit-license
USE_XF86_4=yes
MKINFO=yes
<<<

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

Stop.
make: stopped in /usr/src/sys/arch/vax/compile/SCOOTER
<<<

Does somebody haven any idea ?

Jan

----
With regards Jan H. van Gils
Internet web-page http://www.VGNet.NL/
Internet e-mail address JanVG@Knoware.NL
RIPE Whois JHG5-RIPE, 6BONE Whois JHG1-6BONE