Re: kernel build failed (2.4.20-ben10 and gcc 3.3)
On Thu, May 29 2003, Marius Berntsberg wrote:
> Hi list!
>
> Dont know if this is the right place to post, bu here goes anyway :)
>
> I'm trying to compile 2.4.20-ben10, which i got by rsync, and it fails.
> i have compiled it before on woody, but fails under sarge.
>
> Anyone else got this problem?
>
> gcc -D__KERNEL__ -I/usr/src/benh_kernel/include -Wall
> -Wstrict-prototypes -Wno-t rigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -I/usr/src/be nh_kernel/arch/ppc -fsigned-char
> -msoft-float -pipe -ffixed-r2 -Wno-uninitialize d -mmultiple -mstring
> -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_ta blelen'
> make[4]: *** [ide-cd.o] Error 1
> make[4]: Leaving directory `/usr/src/benh_kernel/drivers/ide'
> make[3]: *** [first_rule] Error 2
> make[3]: Leaving directory `/usr/src/benh_kernel/drivers/ide'
> make[2]: *** [_subdir_ide] Error 2
> make[2]: Leaving directory `/usr/src/benh_kernel/drivers'
> make[1]: *** [_dir_drivers] Error 2
> make[1]: Leaving directory `/usr/src/benh_kernel'
> make: *** [stamp-build] Error 2
it needs to read __u16 slot_tablelen at that location in ide-cd.h, it
was discussed here no less than a week ago.
--
Jens Axboe
Reply to: