Subject: toolchain/25533: cross build netbsd-1-6 tools from -current failes
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <taya@ba2.so-net.ne.jp>
List: netbsd-bugs
Date: 05/11/2004 14:47:50
>Number: 25533
>Category: toolchain
>Synopsis: cross build netbsd-1-6 tools on -current failes
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 11 05:48:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Shin'ichiro TAYA
>Release: NetBSD 2.0E
>Organization:
--
Shin'ichiro TAYA <taya@ba2.so-net.ne.jp>
>Environment:
System: NetBSD mmgserv 2.0E NetBSD 2.0E (MMGSERV) #26: Sun May 9 14:12:42 JST 2004 taya@mmgserv:/export/NetBSD/NetBSD-current/src/sys/arch/i386/compile/MMGSERV i386
Architecture: i386
Machine: i386
>Description:
cross build netbsd-1-6 tools on -current failes like below.
I don't know which is guilty netbsd-1-6 source or -current toolchain.
This is a log of building mac68k, but building shark is the same.
dependall ===> cap_mkdb
cc -O -I/export/NetBSD/NetBSD-release-1-6/src/tools/compat/obj.mac68k -I/export/NetBSD/NetBSD-release-1-6/src/tools/compat/obj.mac68k/include -I/export/NetBSD/NetBSD-release-1-6/src/tools/cap_mkdb/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -c -o getcap.lo.o /export/NetBSD/NetBSD-release-1-6/src/lib/libc/gen/getcap.c
/export/NetBSD/NetBSD-release-1-6/src/lib/libc/gen/getcap.c: In function `cgetent':
/export/NetBSD/NetBSD-release-1-6/src/lib/libc/gen/getcap.c:213: error: argument `db_array' doesn't match prototype
/usr/include/stdlib.h:245: error: prototype declaration
/export/NetBSD/NetBSD-release-1-6/src/lib/libc/gen/getcap.c: In function `cgetfirst':
/export/NetBSD/NetBSD-release-1-6/src/lib/libc/gen/getcap.c:727: error: argument `db_array' doesn't match prototype
/usr/include/stdlib.h:246: error: prototype declaration
/export/NetBSD/NetBSD-release-1-6/src/lib/libc/gen/getcap.c:733: warning: passing arg 2 of `cgetnext' from incompatible pointer type
/export/NetBSD/NetBSD-release-1-6/src/lib/libc/gen/getcap.c: In function `cgetnext':
/export/NetBSD/NetBSD-release-1-6/src/lib/libc/gen/getcap.c:762: error: argument `db_array' doesn't match prototype
/usr/include/stdlib.h:248: error: prototype declaration
*** Error code 1
Stop.
nbmake: stopped in /export/NetBSD/NetBSD-release-1-6/src/tools/cap_mkdb
*** Error code 1
>How-To-Repeat:
cross build netbsd-1-6 on -current
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: