Re: [2.5.1-pre5] Unresolved symbols in nfs module

Bruce Harada (bruce@ask.ne.jp)
Mon, 3 Dec 2001 01:17:03 +0900


On Sun, 02 Dec 2001 16:52:54 +0100
Kilobug <kilobug@freesurf.fr> wrote:

> make modules_install:
>
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.1-pre5; fi
> depmod: *** Unresolved symbols in
> /lib/modules/2.5.1-pre5/kernel/fs/nfs/nfs.o
> depmod: seq_escape
> depmod: seq_printf

The following patch is not guaranteed to not eat your entire HD, chew it up
and spit it out, or for that matter to work.
(Original patch from Tommy Reynolds, but if it breaks anything for you, don't
blame him and preferably not me either).

--- ksyms.c_ORIG Mon Dec 3 01:08:46 2001
+++ ksyms.c Mon Dec 3 01:12:30 2001
@@ -46,6 +46,7 @@
#include <linux/tty.h>
#include <linux/in6.h>
#include <linux/completion.h>
+#include <linux/seq_file.h>
#include <asm/checksum.h>

#if defined(CONFIG_PROC_FS)
@@ -553,3 +554,12 @@

EXPORT_SYMBOL(tasklist_lock);
EXPORT_SYMBOL(pidhash);
+
+/* Sequential file systems */
+
+EXPORT_SYMBOL(seq_open);
+EXPORT_SYMBOL(seq_read);
+EXPORT_SYMBOL(seq_lseek);
+EXPORT_SYMBOL(seq_release);
+EXPORT_SYMBOL(seq_escape);
+EXPORT_SYMBOL(seq_printf);
-
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/