Re: 2.5.36 compile error (ide-cd) any fix yet ?

From: Skip Ford (skip.ford@verizon.net)
Date: Wed Sep 18 2002 - 04:45:00 EST


Corporal Pisang wrote:
> Any fixes yet for this compile error ?
>
> gcc -Wp,-MD,./.ide-cd.o.d -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_cd -c -o ide-cd.o ide-cd.c
> In file included from ide-cd.c:318:
> ide-cd.h:440: error: long, short, signed or unsigned used invalidly for `slot_tablelen'

I looked at this last time you reported it. Which compiler are you
using?

Line 440 of ide-cd.h is:

        __u8 short slot_tablelen;

'short' doesn't make any sense there. __u8 is unsigned char.
I can't figure out why you're the only one getting an error. That
change went in a few kernels ago and I've compiled ide-cd in every one
of them and it compiles fine for me.

-- 
Skip
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:22 EST