2001-12-02 15:53:03

by Kilobug

[permalink] [raw]
Subject: [2.5.1-pre5] Unresolved symbols in nfs module

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

--
** Gael Le Mignot, Ing3 EPITA, Coder of The Kilobug Team **
Home Mail : [email protected] Work Mail : [email protected]
GSM : 06.71.47.18.22 (in France) ICQ UIN : 7299959
Web : http://kilobug.freesurf.fr or http://drizzt.dyndns.org

"Software is like sex it's better when it's free.", Linus Torvalds


2001-12-02 16:17:38

by Bruce Harada

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

On Sun, 02 Dec 2001 16:52:54 +0100
Kilobug <[email protected]> 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);