On Wed, May 21, 2003 at 01:03:46PM +0200, Tom Verbreyt wrote: > Ron Johnson wrote: > > >> I get these errors when make-ing a bzImage: > >> > >> In file included from ide-cd.c:318: > >> ide-cd.h:440: error: long, short, signed or unsigned used invalidly for > >> 'slot_tablelen' > >> make[3]: *** [ide-cd.o] Error 1 > >> make[3]: Leaving directory '/usr/.../drivers/ide' > >> make[2]: *** [first_rule] Error 2 > >> make[2]: Leaving directory '/usr/.../drivers/ide' > >> make[1]: *** [_subdir_ide] Error 2 > >> make[1]: Leaving directory '/usr/.../drivers' > >> make: *** [_dir_drivers] Error 2 > > > > I successfully built kernel-source-2.4.20 2.4.20-6, including > > compiling ide-cd as a module. > > Well, I did so too in the past, several times even... That's what bothers > me - as far as I recall, I don't do anything different than previous times, > and still, it just won't compile. As I said, when I just get rid of ide-cd.h, > not knowing what else to do, other errors come up with ReiserFS support... It's because gcc 3.3 became the default version of gcc in sid a few days ago. Thus, /usr/bin/gcc now points at /usr/bin/gcc-3.3; gcc 3.3 doesn't work for compiling kernels, so it fails :) > > Here's what /usr/src/kernel-source-2.4.20/drivers/ide/ide-cd.h:440 looks > > like in my source tree: > > __u8 short slot_tablelen; > > Well - it looks exactly the same with me... :( > > This can't be a hardware-related problem at all, can it? Or do I perhaps > miss some essential tools for the job? Well, it could be, but it's almost certainly not :) > Anyway. I'll just try to start from zero, I guess... Have some quite > important > things to do, and this is my only machine... :s Use gcc 3.2 or 2.95.4. I just edit the root kernel Makefile to use 'gcc-2.95' instead of 'gcc', but 'make CC=gcc-2.95 dep bzImage modules' should work, too. I know of no way, aside from editing the Makefile, to make make-kpkg use a non-default gcc, though. -- Rob Weir <rweir@ertius.org> | mlspam@ertius.org | http://www.ertius.org/ GPG keys: 1024D/1E73B7CD, 4096R/3ABDE5EC | Do I look like I want a CC? Words of the day: condor ANC enigma investigation Dateline pink noise Clinton
Attachment:
pgp8c3XVITUlJ.pgp
Description: PGP signature