Compilation of pcmcia-cs-3.1.19 stops with:
cc -MD -O3 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include -D__KERNEL__ -DMODULE -c ray_cs.c
In file included from ray_cs.c:68:
ray_cs.h:54: field `stats' has incomplete type
ray_cs.c: In function `ray_get_stats':
ray_cs.c:1956: warning: control reaches end of non-void function
make[1]: *** [ray_cs.o] Error 1
Compilation of pcmcia-cs-3.1.18 stops with a similar error in
xirc2ps_cs.c. It seems me, that the error is caused by the use
of struct enet_statistics, which is not defined in the headers
of the new kernel. The error can be removed by the following patch.
--- pcmcia-cs-3.1.19/wireless/ray_cs.h Wed Apr 5 01:14:19 2000
+++ pcmcia-cs-3.1.19_patched/wireless/ray_cs.h Sun Jul 23 13:49:51 2000
@@ -51,7 +51,7 @@
UCHAR auth_id[6];
UCHAR net_default_tx_rate;
UCHAR encryption;
- struct enet_statistics stats;
+ struct net_device_stats stats;
UCHAR net_type;
UCHAR sta_type;
With best regards
Juergen
|
[ Edit This Forum ]