Subject: bin/10973: src/usr.bin/kdump does not compile on netbsd-1-5 branch
To: None <gnats-bugs@gnats.netbsd.org>
From: Andreas Wrede <andreas@planix.com>
List: netbsd-bugs
Date: 09/07/2000 14:16:12
>Number:         10973
>Category:       bin
>Synopsis:       usr.bin/kdump does not compile on netbsd-1-5 branch
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 07 14:17:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Wrede
>Release:        <NetBSD-current source date>NetBSD 1.5_ALPHA2 Sep 6,2000
>Organization:
Planix, Inc.
>Environment:
	
System: NetBSD woffi.planix.com 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (PLANIX-IPv6) #0: Thu Sep 7 12:21:01 EDT 2000 root@woffi.planix.com:/usr/src/sys/arch/i386/compile/WOFFI i386


>Description:
/usr.bin/kdump does not compile on netbsd-1-5 branch
>How-To-Repeat:
# cd /usr/src/usr.bin/kdump 
# make
cc -O2 -pipe -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../../sys -nostdinc -idirafter /m1/netbsd/destdir/usr/include -c ioctl.c
ioctl.c: In function `ioctlname':
ioctl.c:157: `SIOCIFCREATE' undeclared (first use in this function)
ioctl.c:157: (Each undeclared identifier is reported only once
ioctl.c:157: for each function it appears in.)
ioctl.c:213: `SIOCIFDESTROY' undeclared (first use in this function)
*** Error code 1

Stop.

>Fix:
Unknown. It appears that there is a missing pull-up for sys/sys/sockio.h as 
SIOCIFCREATE and SIOCIFDESTROY are defined for -current.
>Release-Note:
>Audit-Trail:
>Unformatted: