Subject: Help with building a kernel
To: None <port-vax@NetBSD.ORG>
From: Thomas S. Traylor <tst@titan.cs.mci.com>
List: port-vax
Date: 01/28/1996 21:34:10
Hey,

I just got NetBSD install on a MicroVAX II and I'm trying to build a 
new/first kernel.  I'm running the GENERIC kernel from ftp.NetBSD.org.

 NetBSD vax1.cs.mci.com 1.0A NetBSD 1.0A (GENERIC) #165: Mon Dec 11 
 23:54:20  1995     root@urban:/usr/src/sys/arch/vax/compile/GENERIC vax

I'v tried both NetBSD-1.1 and NetBSD-current source to build a kernel, 
but I keep getting the same errors. Everthing seems to go well up until the 
very end when it checks on the kern library.  Here is what I get 
when I'm using the NetBSD-1.1 sources:

making sure the kern library is up to date...
"../../../../../../lib/libkern/Makefile", line 19: Malformed conditional 
((${MACHINE_ARCH} != "alpha"))
"../../../../../../lib/libkern/Makefile", line 19: Missing dependency operator
"../../../../../../lib/libkern/Makefile", line 24: if-less endif
"../../../../../../lib/libkern/Makefile", line 24: Need an operator
"/usr/share/mk/bsd.own.mk", line 57: Malformed conditional ((${MACHINE_ARCH} ==
 "mips") || (${MACHINE_ARCH} == "alpha") ||  (${MACHINE_ARCH} == "vax"))
"/usr/share/mk/bsd.own.mk", line 57: Missing dependency operator
"/usr/share/mk/bsd.own.mk", line 59: if-less endif
"/usr/share/mk/bsd.own.mk", line 59: Need an operator
"/usr/share/mk/bsd.own.mk", line 62: Malformed conditional ((${MACHINE_ARCH} ==
 "alpha"))
"/usr/share/mk/bsd.own.mk", line 62: Missing dependency operator
"/usr/share/mk/bsd.own.mk", line 64: if-less endif
"/usr/share/mk/bsd.own.mk", line 64: Need an operator
"/usr/share/mk/bsd.own.mk", line 57: Malformed conditional ((${MACHINE_ARCH} ==
 "mips") || (${MACHINE_ARCH} == "alpha") ||  (${MACHINE_ARCH} == "vax"))
"/usr/share/mk/bsd.own.mk", line 57: Missing dependency operator
"/usr/share/mk/bsd.own.mk", line 59: if-less endif
"/usr/share/mk/bsd.own.mk", line 59: Need an operator
"/usr/share/mk/bsd.own.mk", line 62: Malformed conditional ((${MACHINE_ARCH} ==
 "alpha"))
"/usr/share/mk/bsd.own.mk", line 62: Missing dependency operator
"/usr/share/mk/bsd.own.mk", line 64: if-less endif
"/usr/share/mk/bsd.own.mk", line 64: Need an operator
Fatal errors encountered -- cannot continue
*** Error code 1

Stop.

I'm sure that I'm missing something.  Any pointer to get me going in the 
right direction would ba apperciated.

Thanks,
Tom
tst@titan.cs.mci.com