2.4.27-rc3 with gcc-3.4.0 compile error (even with the fix patch)

From: haiquy
Date: Sun Jul 25 2004 - 03:04:43 EST



Hi, I got the error when compiling ...

The kernel has the gcc-3.4 fix patch

make[3]: Entering directory `/home/linux-2.4.27-rc3/drivers/usb/gadget'
gcc-4 -D__KERNEL__ -I/home/linux-2.4.27-rc3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-strength-reduce -ffast-math -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -fno-unit-at-a-time -nostdinc -iwithprefix include -DKBUILD_BASENAME=net2280 -DEXPORT_SYMTAB -c net2280.c
net2280.c: In function `write_fifo':
net2280.c:540: error: `typeof' applied to a bit-field
net2280.c: In function `handle_ep_small':
net2280.c:2194: error: `typeof' applied to a bit-field
make[3]: *** [net2280.o] Error 1
make[3]: Leaving directory `/home/linux-2.4.27-rc3/drivers/usb/gadget'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/linux-2.4.27-rc3/drivers/usb/gadget'
make[1]: *** [_subdir_usb/gadget] Error 2
make[1]: Leaving directory `/home/linux-2.4.27-rc3/drivers'
make: *** [_dir_drivers] Error 2

with gcc-3.3.3 all were okay.

Best regards,

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