Re: build failure in 2.4.20

From: Marc-Christian Petersen (m.c.p@wolk-project.de)
Date: Mon Dec 09 2002 - 12:09:57 EST


On Monday 09 December 2002 16:22, David Ronis wrote:

Hi David,

> drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
> discarded section .text.exit' make: *** [vmlinux] Error 1
> It sounds like this is a problem with ld or as, but I'm not sure. Any
> suggestions?
$editor arch/i386/vmlinux.lds

you'll see starting at line 67 this:

  /* Sections to be discarded */
  /DISCARD/ : {
        *(.text.exit)
        *(.data.exit)
        *(.exitcall.exit)
        }

remove this:

        *(.text.exit)

try again.

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



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:14 EST