From: Craig Christophel <merlin@transgeek.com>
To: Keith Owens <kaos@ocs.com.au>
Cc: Olaf Kirch <okir@monad.swb.de>, linux-kernel@vger.kernel.org
Subject: Re: 2.5.1-pre8 -- fix to compile nfs as module
Date: Tue, 11 Dec 2001 21:45:58 -0500 [thread overview]
Message-ID: <20011211224246.CB260C7382@smtp.transgeek.com> (raw)
In-Reply-To: <10961.1008114502@kao2.melbourne.sgi.com>
In-Reply-To: <10961.1008114502@kao2.melbourne.sgi.com>
[-- Attachment #1: Type: text/plain, Size: 725 bytes --]
Thanks for the tip..... I thought that could be incorrect.
well here is an updated patch without the modversions stuff.
Craig.
On Tuesday 11 December 2001 18:48, Keith Owens wrote:
> On Tue, 11 Dec 2001 08:19:35 -0500,
>
> Craig Christophel <merlin@transgeek.com> wrote:
> >added an ifdef for modversions in fs/nfs/inode.c.
>
> Don't! The Makefile automatically adds modversions.h when required,
> any code that explicitly includes modversions.h is broken.
>
> -
> 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/
[-- Attachment #2: nfs-module-2.5-unresolved-symbols.diff --]
[-- Type: text/x-diff, Size: 2046 bytes --]
diff -urN linux/fs/Makefile linux.mt/fs/Makefile
--- linux/fs/Makefile Sun Dec 9 23:57:24 2001
+++ linux.mt/fs/Makefile Mon Dec 10 22:18:31 2001
@@ -7,7 +7,7 @@
O_TARGET := fs.o
-export-objs := filesystems.o open.o dcache.o buffer.o bio.o
+export-objs := filesystems.o open.o dcache.o buffer.o bio.o seq_file.o
mod-subdirs := nls
obj-y := open.o read_write.o devices.o file_table.o buffer.o \
diff -urN linux/fs/seq_file.c linux.mt/fs/seq_file.c
--- linux/fs/seq_file.c Sat Nov 17 21:16:22 2001
+++ linux.mt/fs/seq_file.c Tue Dec 11 00:39:09 2001
@@ -8,6 +8,7 @@
#include <linux/fs.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
+#include <linux/module.h>
#include <asm/uaccess.h>
@@ -293,3 +294,9 @@
m->count = m->size;
return -1;
}
+EXPORT_SYMBOL(seq_printf);
+EXPORT_SYMBOL(seq_escape);
+EXPORT_SYMBOL(seq_release);
+EXPORT_SYMBOL(seq_lseek);
+EXPORT_SYMBOL(seq_open);
+EXPORT_SYMBOL(seq_read);
diff -urN linux/include/linux/seq_file.h linux.mt/include/linux/seq_file.h
--- linux/include/linux/seq_file.h Sun Dec 9 23:57:24 2001
+++ linux.mt/include/linux/seq_file.h Mon Dec 10 23:47:15 2001
@@ -26,11 +26,11 @@
int (*show) (struct seq_file *m, void *v);
};
-int seq_open(struct file *, struct seq_operations *);
-ssize_t seq_read(struct file *, char *, size_t, loff_t *);
-loff_t seq_lseek(struct file *, loff_t, int);
-int seq_release(struct inode *, struct file *);
-int seq_escape(struct seq_file *, const char *, const char *);
+extern int seq_open(struct file *, struct seq_operations *);
+extern ssize_t seq_read(struct file *, char *, size_t, loff_t *);
+extern loff_t seq_lseek(struct file *, loff_t, int);
+extern int seq_release(struct inode *, struct file *);
+extern int seq_escape(struct seq_file *, const char *, const char *);
static inline int seq_putc(struct seq_file *m, char c)
{
@@ -53,7 +53,7 @@
return -1;
}
-int seq_printf(struct seq_file *, const char *, ...)
+extern int seq_printf(struct seq_file *, const char *, ...)
__attribute__ ((format (printf,2,3)));
#endif
prev parent reply other threads:[~2001-12-12 2:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-11 13:19 Craig Christophel
2001-12-11 23:48 ` Keith Owens
2001-12-12 2:45 ` Craig Christophel [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=20011211224246.CB260C7382@smtp.transgeek.com \
--to=merlin@transgeek.com \
--cc=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=okir@monad.swb.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
all inboxes | Powered by JetHome®