2001-12-26 08:26:49

by Luca Amigoni

[permalink] [raw]
Subject: Davicom DM910x (dfme) doesn't link

I've tried to compile kernel version 2.4.17 with static dfme support,
but ld fails to link. Here is the error I get:

drivers/net/net.o(.data+0x434): undefined reference to `local symbols \
in discarded section .text.exit'
make: *** [vmlinux] Error 1

Setting dfme as module is ok. Same problem with 2.4.16-pre1; I've found
references about a dfme problem in 2.4.7 kernel, but nothing for new
ones.

I've used gcc 2.95.4 and ld version 2.11.92.0.12.3.


Luca Amigoni


2001-12-26 09:00:34

by Keith Owens

[permalink] [raw]
Subject: Re: Davicom DM910x (dfme) doesn't link

On Wed, 26 Dec 2001 09:26:33 +0100,
Luca Amigoni <[email protected]> wrote:
>I've tried to compile kernel version 2.4.17 with static dfme support,
>but ld fails to link. Here is the error I get:
>
>drivers/net/net.o(.data+0x434): undefined reference to `local symbols \
> in discarded section .text.exit'

Known problem, the fix will be in 2.4.18-pre<something>. Use the
previous version of binutils until the kernel is fixed.