On Wed, 28 Aug 2002, Marcelo Tosatti wrote:
>...
> <hch@lst.de>:
> o Merge ETHTOOL_GDRVINFO support for several pcmcia net drivers
>...
This change broke the compilation of wavelan_cs.c. The following error is
still present in -pre6:
<-- snip -->
...
gcc -D__KERNEL__
-I/home/bunk/linux/kernel-2.4/linux-2.4.19-full/include -Wall -
Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -iwithprefix include
-DKBUILD_BASENAME=wavelan_cs -c -o wavelan_cs.o wavelan_cs.c
In file included from wavelan_cs.c:66:
/home/bunk/linux/kernel-2.4/linux-2.4.19-full/include/linux/ethtool.h:18:
parse error before `u32'
...
make[4]: *** [wavelan_cs.o] Error 1
make[4]: Leaving directory
`/home/bunk/linux/kernel-2.4/linux-2.4.19-full/drivers/net/pcmcia'
<-- snip -->
The following patch (stolen from -ac) fixes it:
--- linux.20pre5/drivers/net/pcmcia/wavelan_cs.c 2002-08-29 18:39:55.000000000 +0100
+++ linux.20pre5-ac4/drivers/net/pcmcia/wavelan_cs.c 2002-08-30 13:45:09.000000000 +0100
@@ -63,6 +63,7 @@
*
*/
+#include <linux/types.h>
#include <linux/ethtool.h>
#include <asm/uaccess.h>
#include "wavelan_cs.h" /* Private header */
cu
Adrian
--You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox
- 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 : Sun Sep 15 2002 - 22:00:23 EST