Subject: Re: kernel build failure after Feb 16 sup (NKMEMCLUSTERS)
To: NetBSD Mailing list <netbsd@mrynet.com>
From: Simon Burge <simonb@netbsd.org>
List: port-pmax
Date: 02/17/2000 21:37:10
NetBSD Mailing list wrote:

> The following problem did not occur after the previous night's sup and
> kernel build, but after last night's sup I am experiencing the following
> failure:
> 
> cc  -O2 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-main -G 0 -mno-abicalls -mno-half-pic -I. -I.
/../../../arch -I../../../.. -nostdinc -I../../../../../gnu/sys -DMIPS1 -DLKM -DNKMEMCLUSTERS=1024 -DHZ=256 -DMAXUSERS=64 -D_KERNE
L -Dpmax  -c ../../../../kern/kern_malloc.c 
> ./../../../kern/kern_malloc.c:59: #error NKMEMCLUSTERS is obsolete; use NKMEMPAGES instead or let the kernel auto-size
> *** Error code 1

I'd guess you should delete the NKMEMCLUSTERS line from your kernel
config file, rerun config(8) and things should be fine.

Simon.