public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nigel Cunningham <ncunningham@linuxmail.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: SoftwareSuspend Development  <softwaresuspend-devel@lists.berlios.de>
Subject: [PATCH] Missing Select in NFS server support causes comile error
Date: Sun, 06 Feb 2005 08:26:28 +1100	[thread overview]
Message-ID: <1107638788.6348.31.camel@desktop.cunninghams> (raw)
In-Reply-To: <1107637875.6348.22.camel@desktop.cunninghams>

Hi.

(Resent in a format that can be more easily applied).

This issues was picked up by Peter Frühberger.

If NFS server support is selected, but ExportFS is not, the following
compile time errors occur:

> > >   LD      init/built-in.o
> > >   LD      .tmp_vmlinux1
> > > fs/built-in.o(.text+0x7329f): In function `fh_verify':
> > > : undefined reference to `export_op_default'
> > > fs/built-in.o(.text+0x738b7): In function `fh_compose':
> > > : undefined reference to `export_op_default'
> > > fs/built-in.o(.text+0x73bb7): In function `fh_update':
> > > : undefined reference to `export_op_default'
> > > fs/built-in.o(.text+0x73e80): In function `_fh_update':
> > > : undefined reference to `export_op_default'
> > > fs/built-in.o(.text+0x78150): In function `check_export':
> > > : undefined reference to `find_exported_dentry'
> > > make[1]: *** [.tmp_vmlinux1] Error 1
> > > 

Signed-off by: Nigel Cunningham <ncunningham@linuxmail.org>

diff -ruNp 990-select-exportfs-on-nfs-server-old/fs/Kconfig 990-select-exportfs-on-nfs-server-new/fs/Kconfig
--- 990-select-exportfs-on-nfs-server-old/fs/Kconfig	2005-02-03 22:33:40.000000000 +1100
+++ 990-select-exportfs-on-nfs-server-new/fs/Kconfig	2005-02-06 08:22:25.000000000 +1100
@@ -1400,6 +1400,7 @@ config NFSD
 	tristate "NFS server support"
 	depends on INET
 	select LOCKD
+	select EXPORTFS
 	select SUNRPC
 	help
 	  If you want your Linux box to act as an NFS *server*, so that other

-- 
Nigel Cunningham
Software Engineer, Canberra, Australia
http://www.cyclades.com

Ph: +61 (2) 6292 8028      Mob: +61 (417) 100 574


      reply	other threads:[~2005-02-05 21:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-05 21:11 Missing Select in NFS server support causes comile error Nigel Cunningham
2005-02-05 21:26 ` Nigel Cunningham [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1107638788.6348.31.camel@desktop.cunninghams \
    --to=ncunningham@linuxmail.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=softwaresuspend-devel@lists.berlios.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox