public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Undefined symbol in nfsd.o kernel 2.4.17
@ 2001-12-23  3:49 Jeremy Drake
  2001-12-23  4:01 ` Arnaldo Carvalho de Melo
  2001-12-23  5:09 ` Keith Owens
  0 siblings, 2 replies; 4+ messages in thread
From: Jeremy Drake @ 2001-12-23  3:49 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Undefined symbol in nfsd.o kernel 2.4.17
  2001-12-23  3:49 Undefined symbol in nfsd.o kernel 2.4.17 Jeremy Drake
@ 2001-12-23  4:01 ` Arnaldo Carvalho de Melo
  2001-12-23  4:26   ` Jeremy Drake
  2001-12-23  5:09 ` Keith Owens
  1 sibling, 1 reply; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-12-23  4:01 UTC (permalink / raw)
  To: Jeremy Drake; +Cc: linux-kernel

Em Sat, Dec 22, 2001 at 07:49:55PM -0800, Jeremy Drake escreveu:
> 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.

which gcc version are you using?

- Arnaldo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Undefined symbol in nfsd.o kernel 2.4.17
  2001-12-23  4:01 ` Arnaldo Carvalho de Melo
@ 2001-12-23  4:26   ` Jeremy Drake
  0 siblings, 0 replies; 4+ messages in thread
From: Jeremy Drake @ 2001-12-23  4:26 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: linux-kernel

On Sun, 23 Dec 2001, Arnaldo Carvalho de Melo wrote:
> Em Sat, Dec 22, 2001 at 07:49:55PM -0800, Jeremy Drake escreveu:
> > 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.
>
> which gcc version are you using?
>
> - Arnaldo

gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Undefined symbol in nfsd.o kernel 2.4.17
  2001-12-23  3:49 Undefined symbol in nfsd.o kernel 2.4.17 Jeremy Drake
  2001-12-23  4:01 ` Arnaldo Carvalho de Melo
@ 2001-12-23  5:09 ` Keith Owens
  1 sibling, 0 replies; 4+ messages in thread
From: Keith Owens @ 2001-12-23  5:09 UTC (permalink / raw)
  To: Jeremy Drake; +Cc: linux-kernel

On Sat, 22 Dec 2001 19:49:55 -0800 (PST), 
Jeremy Drake <jeremyd@apptechsys.com> wrote:
>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.
>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 :)

http://www.tux.org/lkml/#s8-8


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-12-23  5:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-23  3:49 Undefined symbol in nfsd.o kernel 2.4.17 Jeremy Drake
2001-12-23  4:01 ` Arnaldo Carvalho de Melo
2001-12-23  4:26   ` Jeremy Drake
2001-12-23  5:09 ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox