Next-in-Thread Next Message

Note compilation problems with pcmcia-cs-3.1.19 and linux-2.4.0-test4 

Forum: Installing Linux using or onto a PCMCIA device
Date: 2000, Jul 23
From: Juergen Rose jrrose

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

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None Already fixed by David Hinds, 2000, Jul 24

Add Message to: "compilation problems with pcmcia-cs-3.1.19 and linux-2.4.0-test4"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10