On Mon, Feb 18, 2002 at 08:27:02PM +0100, Lionel DARNIS <xfs@xxxxxxxxxxx> wrote:
> drivers/char/char.o(.data+0x46b4): undefined reference to `local symbols
> in discarded section .text.exit'
> make: *** [kallsyms] Error 1
> make: Leaving directory `/usr/src/linux'
> make: *** [vmlinux] Error 2
> An idea ??
Sure. You have a recent version of binutils right? It has some problems
with kernel version 2.4.x and above. As the bug is in the kernel, there will
be some workaround for it. It is true for newly created kernels only.
So you have two options:
- wait for a newer kernel which has the workaround for this problem,
- read the README or whatsoever in binutils. It says you can also fix this.
You have to edit a file in $KERNEL_HOME/arch/i386/some/file, and uncomment
the discard line for .text.exit . It affects the kernel, but should not
cause any harm.
BorsodChem Joint-Stock Company Linux Support Center University of Miskolc
Software engineer Programmer System administrator