Subject: lib/28220: tip compile is failed.
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 11/11/2004 16:10:00
>Number:         28220
>Category:       lib
>Synopsis:       tip compile is failed.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 11 16:10:00 +0000 2004
>Originator:     Tomofumi Hayashi
>Release:        NetBSD-current (2.99.10)
Alaxala Networks.
NetBSD sin-bay 2.99.10 NetBSD 2.99.10 (PWB4) #2: Tue Oct 19 11:41:17 JST 2004  tom@kagaribi:/work/NetBSD-current/src/sys/arch/macppc/compile/PWB4 macppc
Notice!: This report should be replace #28203 with this report because old one is not correct information. (sorry...)

I use NetBSD-current from (in, and fetch the current source using cvsup.
During tip compile using headers in "/usr/include", this error message is occured and build is failed.

------ error log.
....... (compile logs)......
#   compile  tip/remote.o
/usr/src/obj/tooldir.NetBSD-2.99.10-powerpc/bin/powerpc--netbsd-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings  -Werror   -I/usr/src/usr.bin/tip  -DDEFBR=1200 -DDEFFS=BUFSIZ -DACULOG -DPRISTINE -DCONNECT  -DV831 -DVENTEL -DHAYES -DCOURIER -DT3000  -nostdinc -isystem /usr/include  -c    /usr/src/usr.bin/tip/remote.c
/usr/src/usr.bin/tip/remote.c: In function `getremcap':
/usr/src/usr.bin/tip/remote.c:92: warning: passing arg 2 of `cgetent' from incompatible pointer type
*** Error code 1

make: stopped in /usr/src/usr.bin/tip

cd /usr/src/usr.bin/tip/
make depend
This problem is occured because header file(stdlib.h), that is in releng server, is older revision(1.64) than the true current header file(1.66). So, please update header file in releng server to rev 1.66.

----- In /usr/include/stdlib.h
/*      $NetBSD: stdlib.h,v 1.64 2003/08/07 09:44:11 agc Exp $  */
----- In /usr/src/include/stdlib.h
/*      $NetBSD: stdlib.h,v 1.66 2004/04/23 14:44:54 christos Exp $     */