[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compile kernel-2.4.17 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ön 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.

AC



-- 
Anthony Campbell - running Linux GNU/Debian (Windows-free zone)
For electronic books on the Assassins and on homeopathy, skeptical 
essays, and over 150 book reviews, go to: http://www.acampbell.org.uk/

Our planet is a lonely speck in the great enveloping cosmic dark. In our
obscurity, in all this vastness, there is no hint that help will come
from elsewhere to save us from ourselves. [Carl Sagan]





Reply to: