2002-11-05 11:19:16

by Allan Duncan

[permalink] [raw]
Subject: 2.5.46 - missing symbol from binfmt_aout built as a module

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



2002-11-05 15:36:00

by Olaf Dietsche

[permalink] [raw]
Subject: Re: 2.5.46 - missing symbol from binfmt_aout built as a module

Allan Duncan <[email protected]> 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 */

2002-11-13 14:13:07

by lee leahu

[permalink] [raw]
Subject: Re: 2.5.46 - missing symbol from binfmt_aout built as a module

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:

> Allan Duncan <[email protected]> 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 */
> -
> 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/
>


--
+----------------------------------+---------------------------------+
| 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) |
+--------------------------------------------------------------------+