lkml.org 
[lkml]   [2001]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectUndefined symbol in nfsd.o kernel 2.4.17
I am getting an undefined symbol in nfsd.o in kernel 2.4.17.  The message
is "/lib/modules/2.4.17/kernel/fs/nfsd/nfsd.o: unresolved symbol
nfsd_linkage". Nfsd works fine when linked into the kernel.

Here's the NFS related section of my config:
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_SUNRPC=m
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y

I was able to make it work by changing "EXPORT_SYMBOL(nfsd_linkage);" in
fs/filesystems.c to "EXPORT_SYMBOL_NOVERS(nfsd_linkage);". Not sure if
that's the proper way to go about it, but it works :)

Please cc me on replies to this, because I haven't subscribed to the list.

Thanks,
Jeremy Drake

--
There are only two things in this world that I am sure of, death and
taxes, and we just might do something about death one of these days.
-- shades

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:14    [from the cache]
©2003-2011 Jasper Spaans