Subject: Re: netbsd-2 release build error
To: None <netbsd-help@NetBSD.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: netbsd-help
Date: 12/01/2005 17:23:59
Hi,

Mike M. Volokhov --> netbsd-help (2005-12-01 17:28:25 +0200):
> On Thu, 1 Dec 2005 17:23:24 +0200 (EET)
> "Mike M. Volokhov" <mishka@intostroy.com> wrote:
> 
> > Hello!
> > 
> > FYI, there is an error while building latest netbsd-2 release. Build
> > command: ./build.sh -O ../obj -D ../dst -R ../rel -X ../xsrc-2 -x -U release
> > 
> > 
> > dependall ===> usr.bin/cap_mkdb
> > /build/netbsd/src-2/usr.bin/cap_mkdb/cap_mkdb.c: In function `db_build':
> > /build/netbsd/src-2/usr.bin/cap_mkdb/cap_mkdb.c:180: warning: passing arg 2 of `cgetnext' from incompatible pointer type
> > 
> > *** Failed target:  cap_mkdb.o
> > *** Failed command: /build/netbsd/src-2/../obj-2/tooldir.NetBSD-3.0_RC1-i386/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Werror -nostdinc -isystem /build/netbsd/src-2/../dst-2/usr/include -c /build/netbsd/src-2/usr.bin/cap_mkdb/cap_mkdb.c
> > *** Error code 1
> 
> Just wondering, may it be overriden from system (NetBSD/i386 3.0_RC1) includes:
> 
> buildfm: {17} grep cgetnext /usr/include/stdlib.h
> int      cgetnext(char **, const char * const *);
> buildfm: {18} grep cgetnext /build/netbsd/src-2/../dst-2/usr/include/stdlib.h
> int      cgetnext __P((char **, char **));

Seems to be PR 32142.


HTH, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~