Subject: kern/16534: 1.5.3 kernel compile fail in /sys/kern/kern_descrip.c - missing macro FILE_SET_MATURE
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik E. Fair <fair@ipswitch.clock.org>
List: netbsd-bugs
Date: 04/28/2002 16:02:54
>Number:         16534
>Category:       kern
>Synopsis:       1.5.3 kernel compile fail in /sys/kern/kern_descrip.c - missing macro FILE_SET_MATURE
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 28 16:04:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Erik E. Fair
>Release:        NetBSD 1.5.3
>Organization:
	The NetBSD Project
>Environment:
	
System: NetBSD ipswitch.clock.org 1.5.3_RC1 NetBSD 1.5.3_RC1 (ROUTER4M) #5: Sat Apr 13 12:22:18 PDT 2002 root@ipswitch.clock.org:/usr/obj/sys/arch/sparc/compile/ROUTER4M sparc


>Description:
	The latest pull ups to the release-1-5 branch contain a
	reference to FILE_SET_MATURE in /sys/kern/kern_descrip.c
	that is not defined.

	Perhaps a missing pull up?
>How-To-Repeat:
	sup of
release-1-5 release=ksrc host=sup.NetBSD.ORG hostbase=/ftp/pub base=/usr prefix=/usr backup use-rel-suffix delete

	config
	make
	cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-uninitialized -
	Wno-main -I. -I/sys/arch -I/sys -nostdinc -DSUN4M -DIPSEC_DEBUG -DNMBCLUSTERS="0x1000" -DIPFORWSRCRT
	="0" -DMAXUSERS=32 -D_KERNEL  -c /sys/kern/kern_descrip.c
	cc1: warnings being treated as errors
	/sys/kern/kern_descrip.c: In function `fdcheckstd':
	/sys/kern/kern_descrip.c:1441: warning: implicit declaration of function `FILE_SET_MATURE'
	/sys/kern/kern_descrip.c:1447: called object is not a function
	*** Error code 1

	Stop.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: