Subject: kern/11050: Cannot build kernel with current as of 09/20/2000
To: None <gnats-bugs@gnats.netbsd.org>
From: None <spiff@cybernarian.org>
List: netbsd-bugs
Date: 09/20/2000 14:27:23
>Number:         11050
>Category:       kern
>Synopsis:       Unable to build kernel due to nfs define errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 20 14:33:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jeffrey Finkelstein
>Release:        current-20000920
>Organization:
	Home User
>Environment:
System: NetBSD ryhope.cybernarian.org 1.5E NetBSD 1.5E (LOCAL) #1: Tue Sep 19 18:18:33 EDT 2000 root@ryhope.cybernarian.org:/usr/src/sys/arch/i386/compile/LOCAL i386


>Description:

After updating cvs tree as of 5pm EST on 09/20/2000, unable to build kernels 
due to nfs define errors. The following errors are encountered:

cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DDIAGNOSTIC -DMAXUSERS=64 -D_KERNEL -Di386  -c ../../../../nfs/nfs_bio.c
../../../../nfs/nfs_bio.c: In function `nfs_write':
../../../../nfs/nfs_bio.c:735: structure has no member named `n_commitlock'
cc1: warnings being treated as errors
../../../../nfs/nfs_bio.c:738: warning: implicit declaration of function `nfs_del_tobecommitted_range'
../../../../nfs/nfs_bio.c:740: warning: implicit declaration of function `nfs_del_committed_range'
../../../../nfs/nfs_bio.c:741: structure has no member named `n_commitlock'
../../../../nfs/nfs_bio.c: In function `nfs_doio':
../../../../nfs/nfs_bio.c:1100: structure has no member named `n_commitlock'
../../../../nfs/nfs_bio.c:1102: structure has no member named `n_commitlock'
../../../../nfs/nfs_bio.c:1105: warning: implicit declaration of function `nfs_in_committed_range'
../../../../nfs/nfs_bio.c:1106: warning: implicit declaration of function `nfs_in_tobecommitted_range'
../../../../nfs/nfs_bio.c:1108: structure has no member named `n_pushlo'
../../../../nfs/nfs_bio.c:1110: structure has no member named `n_pushhi'
../../../../nfs/nfs_bio.c:1110: structure has no member named `n_pushlo'
../../../../nfs/nfs_bio.c:1123: warning: implicit declaration of function `nfs_merge_commit_ranges'
../../../../nfs/nfs_bio.c:1126: warning: implicit declaration of function `nfs_add_committed_range'
../../../../nfs/nfs_bio.c:1129: structure has no member named `n_commitlock'
../../../../nfs/nfs_bio.c:1156: structure has no member named `n_commitlock'
../../../../nfs/nfs_bio.c:1157: warning: implicit declaration of function `nfs_add_tobecommitted_range'
../../../../nfs/nfs_bio.c:1158: structure has no member named `n_commitlock'
../../../../nfs/nfs_bio.c:1161: structure has no member named `n_commitlock'
../../../../nfs/nfs_bio.c:1163: structure has no member named `n_commitlock'
*** Error code 1

Stop.


>How-To-Repeat:
	Try to build kernel
>Fix:
	Add proper variables to nfs.h
>Release-Note:
>Audit-Trail:
>Unformatted: