Re: 2.5.46 - missing symbol from binfmt_aout built as a module

Olaf Dietsche
2002-11-05T15:36:00Z

Allan Duncan <allan.d@bigpond.com> writes:

> A new glitch since 2.5.45.
>
> From the "make modules_install":
>
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.46; fi
> depmod: *** Unresolved symbols in /lib/modules/2.5.46/kernel/fs/binfmt_aout.o
> depmod: ptrace_notify
> make: *** [_modinst_post] Error 1

Regards, Olaf.

--- a/kernel/ksyms.c Tue Nov 5 16:33:06 2002
+++ b/kernel/ksyms.c Tue Nov 5 16:36:40 2002
@@ -53,6 +53,7 @@
#include <linux/percpu.h>
#include <linux/smp_lock.h>
#include <linux/dnotify.h>
+#include <linux/ptrace.h>
#include <asm/checksum.h>

#if defined(CONFIG_PROC_FS)
@@ -492,6 +493,7 @@
#if !defined(__ia64__)
EXPORT_SYMBOL(loops_per_jiffy);
#endif
+EXPORT_SYMBOL(ptrace_notify);

/* misc */