[ 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 ] 

Select this message: compilation problems with pcmcia-cs-3.1.19 and linux-2.4.0-test4

Messages Inline: [ 1 ]  [ All ]  Outline: [ 1 ]  [ 2 ]  [ All ] 

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

Message Administration

This form allows you to delete, move, or copy one or more messages. You can move messages by copying and deleting the original. The action will be applied to the messages you select above and all replies to those selected messages.


If you want to copy or move messages, specify the HyperNews path of a destination forum or message that all messages will be copied or moved to. The destination must already exist, so maybe create it first.

Path of Destination (a Forum or Message): (e.g. "test")

Notify Subscribers at destination
NO


If you want to delete messages (the default), specify that here. If you want to move messages, you need to delete the original messages; placeholders will be left pointing to where they were moved.

Delete Messages
NO


Caution: After deleteing messages (the default), if you have not copied them (i.e. no destination above), then the selected messages are not be recoverable.

[ Members ]  [ Subscribe ]  [ No Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ] 
[ Edit This Forum ]