On Wed, 2003-06-11 at 22:45, Lester Cheung wrote:
> I believe that the top level makefile set CC to gcc explictly.
> 
> /usr/src/kernel-source-2.4.20/Makefile:
>      30 CC      = $(CROSS_COMPILE)gcc

Is anyone having problems building the kernel with gcc-3.3?

My previously compilable kernel 2.4.19 (using gcc 2.95.4) is no longer
buildable under gcc 3.3.

The first error I get is for the IDE cd-rom module:

    gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.19/include -Wall
    -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
    -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
    -march=i686   -nostdinc -I /usr/lib/gcc-lib/i386-linux/3.3/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'
    make[4]: *** [ide-cd.o] Error 1
    make[4]: Leaving directory
    `/usr/src/kernel-source-2.4.19/drivers/ide'
    make[3]: *** [first_rule] Error 2
    make[3]: Leaving directory
    `/usr/src/kernel-source-2.4.19/drivers/ide'
    make[2]: *** [_subdir_ide] Error 2
    make[2]: Leaving directory `/usr/src/kernel-source-2.4.19/drivers'
    make[1]: *** [_dir_drivers] Error 2
    make[1]: Leaving directory `/usr/src/kernel-source-2.4.19'
    make: *** [stamp-build] Error 2

Seems funny.

I tried setting CC=/usr/bin/gcc-2.95 but same problem.

-- 
**************
* Simon Wong *
**************

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to