Re:compile 2.4.17 kernel error
>On 05 Mar 2002, Hans Ekbrand wrote:
>> On Tue, Mar 05, 2002 at 04:33:42PM +0800, Eric. He wrote:
>> > I compile kernel-2.4.17 to support my ac'97 sound card of intel i815e. But i can't compile the kernel use "make bzIamge"command.
>> > the error lists:
>> > ....
>> > drivers/sound/sounddrivers.o(.data+0x194):undefined referecne to 'local symbols in discarded section .text.exit'
>> > make: *** [vmlinux] Error 1
>>
>> Sounds like that famous binutils incompability with recent kernels.
>> Two alternatives: upgrade bintuils, or uncomment a line in
>> /usr/src/kernel-source-2.4.17/arch/i386/vmlinux.lds, in the
>>
>> /* Sections to be discarded */
>>
>> comment out this line:
>>
>> *(.text.exit)
>>
>> --
>> Note that I use Debian version 3.0
>> Linux emac140 2.4.17 #1 s? feb 10 20:21:22 CET 2002 i686 unknown
>>
>> Hans Ekbrand
>
>
>Upgrade binutils or downgrade? I'm currently using an older version,
>binutils_2.11.92.0.10-4_i386.deb, which works with kernels up to 2.4.18.
>I was wondering if it was time to move to a later binutils, but
>seemingly not.
>
I also use the binutils_2.11.92.0.10-4_i386.deb,the same error takes place.
And i compile other 2.4.x kernel older than 2.4.17,the error still takes place.
what can i do?
BTW: who can give me a kernel ".config" file which was use to compile kernel 2.4.x with sound support successfully. Remember to mark the version number. Thanks!
Eric.He
eric_he@x263.net
欢迎使用263天下邮免费信箱 http://freemail.x263.net
welcome to enjoy 263 Freemail http://freemail.x263.net
_____________________________________________________
263在线_中国人的网上家园
Tel:010-64262631 Fax:010-64240295 (c)1998-2001版权所有
263服务热线 263@263.net.cn
Reply to: