Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2009 00:07:29 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: 7-stable kernel not compiling: nlm_prot_impl.c "undefined reference to `nfs_*"
Message-ID:  <499BC1C1.4060204@FreeBSD.org>
In-Reply-To: <499B6A51.8020704@FreeBSD.org>
References:  <499B6A51.8020704@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I "solved" this by adding NFSCLIENT back to my kernel config file. I
had NFSSERVER and NFSLOCKD in there already. Given that this is a file
server system it doesn't seem logical that it would need NFSCLIENT in
the kernel.


Doug


Doug Barton wrote:
> With up to date sources buildworld completes, but kernel fails here:
> 
> linking kernel.debug
> nlm_advlock.o(.text+0x11a8): In function `nlm_advlock_internal':
> /data/src/sys/nlm/nlm_advlock.c:225: undefined reference to
> `nfs_vinvalbuf'
> nlm_advlock.o(.text+0x1243):/data/src/sys/nlm/nlm_advlock.c:236:
> undefined reference to `nfs_ticks'
> nlm_prot_impl.o(.text+0x2af1): In function `nlm_syscall':
> /data/src/sys/nlm/nlm_prot_impl.c:1543: undefined reference to
> `nfs_advlock_p'
> nlm_prot_impl.o(.text+0x2af7):/data/src/sys/nlm/nlm_prot_impl.c:1544:
> undefined reference to `nfs_advlock_p'
> nlm_prot_impl.o(.text+0x2b01):/data/src/sys/nlm/nlm_prot_impl.c:1545:
> undefined reference to `nfs_reclaim_p'
> nlm_prot_impl.o(.text+0x2b07):/data/src/sys/nlm/nlm_prot_impl.c:1546:
> undefined reference to `nfs_reclaim_p'
> nlm_prot_impl.o(.text+0x2b1f):/data/src/sys/nlm/nlm_prot_impl.c:1551:
> undefined reference to `nfs_advlock_p'
> nlm_prot_impl.o(.text+0x2b25):/data/src/sys/nlm/nlm_prot_impl.c:1552:
> undefined reference to `nfs_reclaim_p'
> *** Error code 1
> 
> Stop in /usr/local/obj/data/src/sys/HOME.
> *** Error code 1
> 
> 


-- 

    This .signature sanitized for your protection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499BC1C1.4060204>