Re: 2.5.1-pre6 compilation errors

Adrian Bunk
2001-12-07T11:41:05Z

On 7 Dec 2001, Falk Stern wrote:

> Hi.

Hi Falk,

> Just tried to compile a vanilla 2.5.1-pre6 and got following errors:
> (while doing "make dep clean bzImage modules modules_install" )
>...
> drivers/char/char.o(.data+0x46b4): undefined reference to `local symbols
> in discarded section .text.exit'
> drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
> discarded section .text.exit'
> make: *** [vmlinux] Error 1
>...
> # ld -V
> GNU ld version 2.11.92.0.12.3 20011121 Debian/GNU Linux
>...

this is a known bug in the kernel that shows up with the latest binutils
packages in Debian unstable. As a workaround you can downgrade your
binutils to the 2.11.92.0.10-4 package in Debian testing (you can
download it from [1] if don't have it any more).

cu
Adrian

[1] ftp://ftp.de.debian.org/debian/pool/main/b/binutils/

--

Get my GPG key: finger bunk@debian.org | gpg --import

Fingerprint: B29C E71E FE19 6755 5C8A 84D4 99FC EA98 4F12 B400