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

(SOLVED) Re: Problem compiling a new kernel, possibly gcc related



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi there, i got the kernel source for 2.4.20 from an ftp.kernel.org, but
> > when doing a make bzImage  I get the following error:
> >
> > ide-cd.h:440: error: long, short, signed or unsigned used invalidly for
> > `slot_tablelen'
>
> [ snip ]
>
> > Can anyone point me to a location or should i file a bugreport, if so,
> > against which package ?
>
> Hi.  If you look back through the archives of this mailing list, you'll
> see that a lot of people have posted a lot of stuff about this in the
> last 48 hours.
>
> It's a known issue when compiling kernels with versions of gcc other
> than 2.95.  Use gcc-2.95 to compile your kernel.
>

So the problem can easily be solved by replacing gcc by gcc-2.95 in the 
Makefile in /usr/src/linux/

Everything works fine now 

thank you Chris
- -- 
Homepage: http://www.de-brauwer.be
BSD is for Unix lover
Linux is for windows haters,
I run Linux 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+zNAEpSQix3Sc+ZgRAllpAKCwErVdC5riqFCWFIz6c74gOhyiUwCeLzb6
HVbMtpGhHI/0U0oVB0vMr5w=
=GUG5
-----END PGP SIGNATURE-----



Reply to: