From nobody@FreeBSD.org  Tue Dec  3 09:42:38 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 99DF335F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  3 Dec 2013 09:42:38 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 86975137D
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  3 Dec 2013 09:42:38 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rB39gciL005302
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 3 Dec 2013 09:42:38 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rB39gcZH005298;
	Tue, 3 Dec 2013 09:42:38 GMT
	(envelope-from nobody)
Message-Id: <201312030942.rB39gcZH005298@oldred.freebsd.org>
Date: Tue, 3 Dec 2013 09:42:38 GMT
From: Konstantin <ikv@inbox.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kernel doesn't compilling with options NFS_DEBUG
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         184466
>Category:       kern
>Synopsis:       kernel doesn't compilling with options NFS_DEBUG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 03 09:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Konstantin
>Release:        9.2 RELEASE
>Organization:
home
>Environment:
FreeBSD web_storage1 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
I inserted 
options         NFS_DEBUG
in kernel config and try to build kernel
building stops with following:

linking kernel.debug
nfs_clbio.o: In function `ncl_asyncio':
/usr/src/sys/fs/nfsclient/nfs_clbio.c:1457: undefined reference to `nfs_debug'
/usr/src/sys/fs/nfsclient/nfs_clbio.c:1500: undefined reference to `nfs_debug'
/usr/src/sys/fs/nfsclient/nfs_clbio.c:1474: undefined reference to `nfs_debug'
/usr/src/sys/fs/nfsclient/nfs_clbio.c:1443: undefined reference to `nfs_debug'
/usr/src/sys/fs/nfsclient/nfs_clbio.c:1534: undefined reference to `nfs_debug'
nfs_clnfsiod.o:/usr/src/sys/fs/nfsclient/nfs_clnfsiod.c:319: more undefined references to `nfs_debug' follow
*** [kernel.debug] Error code 1

Stop in /usr/obj/usr/src/sys/STORAGE.
*** [buildkernel] Error code 1

Stop in /usr/src.
*** [buildkernel] Error code 1

Stop in /usr/src.

>How-To-Repeat:
Recompile kernel with
options         NFS_DEBUG

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
