* modular nfs broken in 2.5.1-pre5
@ 2001-12-01 12:47 Peter Osterlund
0 siblings, 0 replies; only message in thread
From: Peter Osterlund @ 2001-12-01 12:47 UTC (permalink / raw)
To: linux-kernel; +Cc: Alexander Viro
Hi,
Compiling nfs as a module doesn't work because of missing symbols.
The patch below works for me.
--- linux/fs/Makefile.old Sat Dec 1 13:26:58 2001
+++ linux/fs/Makefile Sat Dec 1 13:15:42 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 \
--- linux/fs/seq_file.c.old Sat Dec 1 13:26:49 2001
+++ linux/fs/seq_file.c Sat Dec 1 12:57:17 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>
@@ -275,6 +276,7 @@
m->count = p - m->buf;
return 0;
}
+EXPORT_SYMBOL(seq_escape);
int seq_printf(struct seq_file *m, const char *f, ...)
{
@@ -293,3 +295,4 @@
m->count = m->size;
return -1;
}
+EXPORT_SYMBOL(seq_printf);
--
Peter Österlund petero2@telia.com
Sköndalsvägen 35 http://w1.894.telia.com/~u89404340
S-128 66 Sköndal +46 8 942647
Sweden
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-01 12:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-01 12:47 modular nfs broken in 2.5.1-pre5 Peter Osterlund
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®