Subject: bin/21477: Compile error at usr.sbin/bind/lib/ after include/arpa/inet.h change
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
List: netbsd-bugs
Date: 05/06/2003 14:13:11
>Number:         21477
>Category:       bin
>Synopsis:       Compile error at usr.sbin/bind/lib/ after include/arpa/inet.h change
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 06 05:14:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     FUKAUMI Naoki
>Release:        NetBSD 1.6R
>Organization:
	FUKAUMI Naoki
>Environment:
System: NetBSD nforce.naobsd.org 1.6R NetBSD 1.6R (NFORCE) #0: Mon Apr 28 11:07:04 JST 2003 fun@nforce.naobsd.org:/usr/obj/i386/sys/arch/i386/compile/NFORCE i386
Architecture: i386
Machine: i386
>Description:
	This is error log:
  :
/home/t/i386/bin/i386--netbsdelf-gcc -O2   -Werror  -I/usr/obj/i386/usr.sbin/bind/lib -I/usr/obj/i386/usr.sbin/bind/lib -I/usr/src/dist/bind/include -I/usr/src/dist/bind/lib/dst  -DHMAC_MD5 -DUSE_MD5 -nostdinc -isystem /home/d/i386/usr/include  -c /usr/src/dist/bind/lib/inet/inet_lnaof.c
/usr/src/dist/bind/lib/inet/inet_lnaof.c:55: conflicting types for `inet_lnaof'
/home/d/i386/usr/include/arpa/inet.h:82: previous declaration of `inet_lnaof'
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.sbin/bind/lib
  :
>How-To-Repeat:
	build.sh
>Fix:
	Fix src/dist/bind/* to match newer include/arpa/inet.h.
>Release-Note:
>Audit-Trail:
>Unformatted: