Subject: bin/24277: netbsd-1-6 will not build
To: None <>
From: Joe Laffey <>
List: netbsd-bugs
Date: 01/30/2004 09:45:22
>Number:         24277
>Category:       bin
>Synopsis:       netbsd-1-6 (stable) will not build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 30 15:46:00 UTC 2004
>Originator:     Joe Laffey
>Release:        NetBSD 1.6.2_RC4
Laffey Computer
System: NetBSD 1.6.2_RC4 NetBSD 1.6.2_RC4 (HELIX_3) #0: Sat Jan 24 11:04:59 CST 2004 i386
Architecture: i386
Machine: i386
Attempting to build a checkout of netbsd-1-6 fails on both i386 and macppc.
/../../dist/dhcp/includes -nostdinc -isystem /usr/dest/usr/include  -c /usr/src/usr.sbin/dhcp/minires/../../../dist/dhcp/minires/res_init.c
cc1: warnings being treated as errors
/usr/src/usr.sbin/dhcp/minires/../../../dist/dhcp/minires/res_init.c:477: warning: type mismatch with previous implicit declaration
/usr/src/usr.sbin/dhcp/minires/../../../dist/dhcp/minires/res_init.c:165: warning: previous implicit declaration of `res_randomid'
/usr/src/usr.sbin/dhcp/minires/../../../dist/dhcp/minires/res_init.c:477: warning: `res_randomid' was previously implicitly declared to return `int'
*** Error code 1

I find problems in that file and other in that directory. It is almost as though a header file is missing, perhaps? There are missing prototypes and some missing var declarations elsewhere.

I am not certain what went wrong and when. So I am not able to offer what
would be a proper patch. Given the mod dates of the files in this directory
I doubt the problem is in these files.