Subject: kern/20274: cannot compile kernel with NFSSERVER but without NFS
To: None <gnats-bugs@gnats.netbsd.org>
From: None <gcw@primenet.com.au>
List: netbsd-bugs
Date: 02/10/2003 17:43:48
>Number: 20274
>Category: kern
>Synopsis: cannot compile kernel with NFSSERVER but without NFS
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 09 22:44:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Geoff C. Wing
>Release: NetBSD 1.6N (2003/02/09)
>Organization:
>Environment:
System: NetBSD sparkles.primenet.com.au 1.6N NetBSD 1.6N (SPARKLES) #0: Mon Feb 10 12:19:08 EST 2003 gcw@sparkles.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/SPARKLES i386
Architecture: i386
Machine: i386
>Description:
sys/nfs/nfs_subs.c uses M_NFSDIROFF but it's declared via
MALLOC_DEFINE() in sys/nfs/nfs_node.c
sys/nfs/files.nfs says:
file nfs/nfs_node.c nfs
file nfs/nfs_subs.c nfsserver | nfs
>How-To-Repeat:
build kernel with "options NFSSERVER" and without "file-system NFS"
>Fix:
Move MALLOC_DEFINE(M_NFSDIROFF... to an appropriate common file.
>Release-Note:
>Audit-Trail:
>Unformatted: