2.4.23-pre8: usbnet.c doesn't compile with gcc 2.95

From: Adrian Bunk
Date: Thu Oct 23 2003 - 14:48:43 EST


I'm getting the following compile error in 2.4.23-pre8 with gcc 2.95:

<-- snip -->

...
gcc-2.95 -D__KERNEL__
-I/home/bunk/linux/kernel-2.4/linux-2.4.23-pre8-full/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6
-nostdinc -iwithprefix include -DKBUILD_BASENAME=usbnet -c -o usbnet.o
usbnet.c
usbnet.c:161: warning: `CONFIG_USB_AX8817X' redefined
/home/bunk/linux/kernel-2.4/linux-2.4.23-pre8-full/include/linux/autoconf.h:2074:
warning: this is the location of the previous definition
usbnet.c: In function `ax8817x_write_cmd_async':
usbnet.c:496: parse error before `;'
usbnet.c:501: parse error before `;'
make[3]: *** [usbnet.o] Error 1
make[3]: Leaving directory `/home/bunk/linux/kernel-2.4/linux-2.4.23-pre8-full/drivers/usb'

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/