Subject: lib/28203: tip compile is failed.
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 11/11/2004 09:42:00
>Number:         28203
>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 09:42:00 +0000 2004
>Originator:     Tomofumi Hayashi
>Release:        NetBSD-current (2.99.10)
Alaxala Networks
etBSD 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
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 /usr/include/stdlib.h
is older revision(1.64). /usr/src/include/stdlib.h is revision 1.66, so, please update /usr/include/stdlib.h 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 $     */