Subject: kern/11734: kernel build fails on 1.5-release
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/14/2000 06:39:15
>Number:         11734
>Category:       kern
>Synopsis:       kernel build fails in 1.5 release branch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 14 06:39:00 PST 2000
>Originator:     Chris Pinnock
>Release:        1.5.1_ALPHA checked out today
School of Mathematical Sciences, QM, Uni of LONDON, UK
	1.5.1_ALPHA on intel
System: NetBSD 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (SYLOW) #3: Thu Dec 7 14:40:37 GMT 2000 i386


	Kernel fails to build. The problem seems to be in 
	netinet/udp_usrreq.c. Is this a typo (see fix below)?

	cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -Di386  -c ../../../../netinet/udp_usrreq.c
../../../../netinet/udp_usrreq.c: In function `udp6_realinput':
../../../../netinet/udp_usrreq.c:724: `dst4' undeclared (first use in this function)
../../../../netinet/udp_usrreq.c:724: (Each undeclared identifier is reported only once
../../../../netinet/udp_usrreq.c:724: for each function it appears in.)
*** Error code 1

	Build a kernel.
Looking at a colour diff, the dst4 on line 724 was src4 in the last 
version. If one replaces the dst4 with src4 then the kernel will
compile (whether this is the Right Thing to do I don't know...).