Subject: Re: intptr_t undefined building pmax kernel
To: NetBSD Mailing list <netbsd@mrynet.com>
From: Klaus Klein <kleink@ira.uka.de>
List: current-users
Date: 12/23/1999 10:27:52
netbsd@mrynet.com (NetBSD Mailing list) writes:

> Starting after cvsup last night some time, the following is occuring:
> 
> 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 -DMIPS3 -DLKM -DNKMEMCLUSTERS=1024 -DHZ=256 -DMAXUSERS=64 -D_KERNEL -Dpmax  -c ../../../../kern/init_main.c
> In file included from ../../../../kern/init_main.c:92:
> ../../../../sys/syscallargs.h:313: syntax error before `intptr_t'
> ../../../../sys/syscallargs.h:313: `intptr_t' undeclared here (not in a function)
> ../../../../sys/syscallargs.h:313: `intptr_t' undeclared here (not in a function)
> ../../../../sys/syscallargs.h:313: syntax error before `intptr_t'
> *** Error code 1
> 
> Stop.
> 
> Could someone else check a pmax kernel build in case sup is barfing somehow?

It's a machine-independent problem; it's fixed in <sys/param.h>
rev. 1.80, which will be available after the next supscan.