Skip to contentSkip to conversation

2.5.46 - missing symbol from binfmt_aout built as a module

DISCUSSION Allan Duncan 3 participants 3 messages Nov 5, 2002 – Nov 13, 2002

lore
Share & tools
lore
#0 lore raw

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

And the relevant bit of .config:

#
# Executable file formats
#
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m

#1 lore raw
Quoted 8 lines · Allan Duncan

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.

kernel/ksyms.c +2 -0
@@ -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 */
#2 lore raw

This is still broken is 2.5.47 as well.

Olaf Dietsche <olaf.dietsche#[email protected]> scribbled something about Re: 2.5.46 - missing symbol from binfmt_aout built as a module:

Quoted 37 lines
Quoted 8 lines · Allan Duncan

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.

kernel/ksyms.c +2 -1
@@ -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 */
-

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 9 lines
+----------------------------------+---------------------------------+
| Lee Leahu                        | voice -> 708-444-2690           |
| Internet Technology Specialist   | fax -> 708-444-2697             |
| RICIS, Inc.                      | email -> [email protected]          |
+----------------------------------+---------------------------------+
| I cannot conceive that anybody will require multiplications at the |
| rate of 40,000 or even 4,000 per hour ...                          |
|		-- F. H. Wales (1936)                                |
+--------------------------------------------------------------------+