Pages : 1
#1 Le 02/12/2009, à 03:01
- Jamay
Problème de compilation driver svn
Bonjour à tous,
J'sais pas trop si je suis au bon endroit mais j'suis tombé ici en cherchant "compilation"
J'voudrais mettre les dernier driver pour ma carte wifi USB Zydas
c'est pour la mettre en mode master donc exit ndiswrapper et madwifi (si je me trompe dites le moi )
donc je m'explique :
j'ai été sur cette page : https://help.ubuntu.com/community/WifiDocs/MasterMode
ZyDAS ZD1211
ZyDAS ZD1211 802.11b/g USB WLAN chipset Linux drivers Initially contributed by ZyDAS under the GPL license, the ZD1211 Linux driver is maintained by the open source community..
zd1211 chipset supports master mode, but the drivers built into Ubuntu for the zd1211 chipset do not. Luckily another set of drivers exist and they work with master mode. http://zd1211.wiki.sourceforge.net/VendorBasedDriver
If you’re compiling and installing the zd1211 VendorBasedDriver for your wifi module (depending your chipset version) you may need to edit the Makefile to enable zd1211b mode. Also you’ll likely need to blacklist the driver built-in to the kernel to let the new VendorBasedDriver load instead.
j'vais donc dans le terminal et je tape la commande
svn co https://zd1211.svn.sourceforge.net/svnroot/zd1211 zd1211
jusque là tout ce passe bien, j'ai bien un dossier ZD1211 dans mon dossier /home
j'ai copier/coller ce dossier dans /usr/src/
Là je sais pas trop j'ai un dossier branches et un dossier trunk
J'ai été dans le dossier trunk et j'ai modifier dans le fichier makefile comme indiquer dans le premier lien
# set to 1 for zd1211b
j'ai remplacer ça : ZD1211REV_B=0
par ça : ZD1211REV_B=1
Jusque là tout se passe bien, donc si j'ai bien compris ensuite je dois me mettre dans le dossier avec le terminal et taper ça : sudo make clean && make && make install
Et là c'est le drame :
jamay@jamay-desktop:/usr/src/zd1211/trunk$ sudo make clean && make && make install
rm -rf .tmp_versions .*.cmd *.ko *.mod.c *.mod.o *.o src/*.o src/.*.o.cmd
/lib/modules/2.6.31-15-generic/build
/usr/src/zd1211/trunk
-I/usr/src/zd1211/trunk/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZD1211B
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /lib/modules/2.6.31-15-generic/build SUBDIRS=/usr/src/zd1211/trunk modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.31-15-generic »
mkdir: ne peut créer le répertoire `/usr/src/zd1211/trunk/.tmp_versions': Permission non accordée
CC [M] /usr/src/zd1211/trunk/src/zd1205.o
Assembler messages:
Fatal error: can't create /usr/src/zd1211/trunk/src/.tmp_zd1205.o: Permission denied
In file included from /usr/src/zd1211/trunk/src/zd1205.h:49,
from /usr/src/zd1211/trunk/src/zd1205.c:47:
/usr/src/zd1211/trunk/src/zdcompat.h:69: error: conflicting types for ‘irqreturn_t’
include/linux/irqreturn.h:16: note: previous declaration of ‘irqreturn_t’ was here
In file included from /usr/src/zd1211/trunk/src/zd1205.h:49,
from /usr/src/zd1211/trunk/src/zd1205.c:47:
/usr/src/zd1211/trunk/src/zdcompat.h:72:1: warning: "IRQ_RETVAL" redefined
In file included from include/linux/interrupt.h:10,
from include/linux/netdevice.h:1058,
from include/net/sock.h:50,
from include/linux/tcp.h:177,
from /usr/src/zd1211/trunk/src/zd1205.c:41:
include/linux/irqreturn.h:17:1: warning: this is the location of the previous definition
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd_writel’:
/usr/src/zd1211/trunk/src/zd1205.c:704: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd_readl’:
/usr/src/zd1211/trunk/src/zd1205.c:744: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_enable_int’:
/usr/src/zd1211/trunk/src/zd1205.c:877: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_mgt_mon_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:1290: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘HKeepingCB’:
/usr/src/zd1211/trunk/src/zd1205.c:1591: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_rx_isr’:
/usr/src/zd1211/trunk/src/zd1205.c:4159: warning: assignment makes integer from pointer without a cast
/usr/src/zd1211/trunk/src/zd1205.c:4162: error: ‘struct sk_buff’ has no member named ‘mac’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_open’:
/usr/src/zd1211/trunk/src/zd1205.c:4356: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_get_stats’:
/usr/src/zd1211/trunk/src/zd1205.c:4731: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_iw_get_stats’:
/usr/src/zd1211/trunk/src/zd1205.c:4782: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c:4783: error: ‘struct driver_stats’ has no member named ‘iw_stats’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_set_mac’:
/usr/src/zd1211/trunk/src/zd1205.c:4826: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_close’:
/usr/src/zd1211/trunk/src/zd1205.c:4900: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_xmit_frame’:
/usr/src/zd1211/trunk/src/zd1205.c:5003: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_set_multi’:
/usr/src/zd1211/trunk/src/zd1205.c:5648: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_watchdog_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:5812: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setiwencode’:
/usr/src/zd1211/trunk/src/zd1205.c:6142: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_getiwencode’:
/usr/src/zd1211/trunk/src/zd1205.c:6263: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setessid’:
/usr/src/zd1211/trunk/src/zd1205.c:6309: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_getessid’:
/usr/src/zd1211/trunk/src/zd1205.c:6350: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setfreq’:
/usr/src/zd1211/trunk/src/zd1205.c:6386: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setrts’:
/usr/src/zd1211/trunk/src/zd1205.c:6454: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setfrag’:
/usr/src/zd1211/trunk/src/zd1205.c:6475: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_getfrag’:
/usr/src/zd1211/trunk/src/zd1205.c:6500: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_getrate’:
/usr/src/zd1211/trunk/src/zd1205.c:6524: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setpower’:
/usr/src/zd1211/trunk/src/zd1205.c:6646: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_getpower’:
/usr/src/zd1211/trunk/src/zd1205.c:6675: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setmode’:
/usr/src/zd1211/trunk/src/zd1205.c:6705: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_giwfreq’:
/usr/src/zd1211/trunk/src/zd1205.c:6807: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_giwmode’:
/usr/src/zd1211/trunk/src/zd1205.c:6823: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_giwrts’:
/usr/src/zd1211/trunk/src/zd1205.c:6869: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_commit’:
/usr/src/zd1211/trunk/src/zd1205.c:6989: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_siwscan’:
/usr/src/zd1211/trunk/src/zd1205.c:7003: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘encode_ie’:
/usr/src/zd1211/trunk/src/zd1205.c:7100: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
include/linux/kernel.h:180: note: expected ‘char *’ but argument is of type ‘u8 *’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_translate_scan’:
/usr/src/zd1211/trunk/src/zd1205.c:7131: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7131: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7131: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘long unsigned int’
/usr/src/zd1211/trunk/src/zd1205.c:7131: error: too few arguments to function ‘iwe_stream_add_event’
/usr/src/zd1211/trunk/src/zd1205.c:7141: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7141: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7141: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘U8 *’
/usr/src/zd1211/trunk/src/zd1205.c:7141: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c:7153: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7153: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7153: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘long unsigned int’
/usr/src/zd1211/trunk/src/zd1205.c:7153: error: too few arguments to function ‘iwe_stream_add_event’
/usr/src/zd1211/trunk/src/zd1205.c:7166: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7166: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7166: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘long unsigned int’
/usr/src/zd1211/trunk/src/zd1205.c:7166: error: too few arguments to function ‘iwe_stream_add_event’
/usr/src/zd1211/trunk/src/zd1205.c:7191: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7191: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7191: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7191: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c:7202: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7202: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7202: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘U8 *’
/usr/src/zd1211/trunk/src/zd1205.c:7202: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c:7220: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type
include/net/iw_handler.h:569: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7220: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type
include/net/iw_handler.h:569: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7220: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast
include/net/iw_handler.h:569: note: expected ‘struct iw_event *’ but argument is of type ‘long unsigned int’
/usr/src/zd1211/trunk/src/zd1205.c:7220: error: too few arguments to function ‘iwe_stream_add_value’
/usr/src/zd1211/trunk/src/zd1205.c:7229: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type
include/net/iw_handler.h:569: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7229: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type
include/net/iw_handler.h:569: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7229: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast
include/net/iw_handler.h:569: note: expected ‘struct iw_event *’ but argument is of type ‘long unsigned int’
/usr/src/zd1211/trunk/src/zd1205.c:7229: error: too few arguments to function ‘iwe_stream_add_value’
/usr/src/zd1211/trunk/src/zd1205.c:7245: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7245: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7245: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7245: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c:7264: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7264: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7264: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7264: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c:7276: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7276: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7276: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7276: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_giwscan’:
/usr/src/zd1211/trunk/src/zd1205.c:7290: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1211_set_auth_param’:
/usr/src/zd1211/trunk/src/zd1205.c:7537: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1211_set_encode_ext’:
/usr/src/zd1211/trunk/src/zd1205.c:7673: warning: pointer targets in passing argument 1 of ‘zd_SetKeyInfo’ differ in signedness
/usr/src/zd1211/trunk/src/zdpsmon.h:11: note: expected ‘U8 *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7697: warning: pointer targets in passing argument 1 of ‘zd_SetKeyInfo’ differ in signedness
/usr/src/zd1211/trunk/src/zdpsmon.h:11: note: expected ‘U8 *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1211_mlme’:
/usr/src/zd1211/trunk/src/zd1205.c:7730: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
include/linux/kernel.h:180: note: expected ‘char *’ but argument is of type ‘u8 *’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl’:
/usr/src/zd1211/trunk/src/zd1205.c:7769: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c:7877: warning: pointer targets in passing argument 2 of ‘zd1205_dump_data’ differ in signedness
/usr/src/zd1211/trunk/src/zd1205.c:1752: note: expected ‘u8 *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_init’:
/usr/src/zd1211/trunk/src/zd1205.c:8529: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_setup_next_send’:
/usr/src/zd1211/trunk/src/zd1205.c:8974: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_rx_ind’:
/usr/src/zd1211/trunk/src/zd1205.c:9402: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c:9415: error: implicit declaration of function ‘eth_copy_and_sum’
/usr/src/zd1211/trunk/src/zd1205.c:9420: warning: assignment makes integer from pointer without a cast
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_status_notify’:
/usr/src/zd1211/trunk/src/zd1205.c:9450: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘chal_tout_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:9550: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘scan_tout_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:9561: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘asoc_tout_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:9572: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘auth_tout_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:9583: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_start_timer’:
/usr/src/zd1211/trunk/src/zd1205.c:9593: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_stop_timer’:
/usr/src/zd1211/trunk/src/zd1205.c:9640: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_dis_intr’:
/usr/src/zd1211/trunk/src/zd1205.c:9666: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_set_intr_mask’:
/usr/src/zd1211/trunk/src/zd1205.c:9683: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_check_tcb_avail’:
/usr/src/zd1211/trunk/src/zd1205.c:9712: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_delay_us’:
/usr/src/zd1211/trunk/src/zd1205.c:9735: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_AcquireDoNotSleep’:
/usr/src/zd1211/trunk/src/zd1205.c:9769: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_ReleaseDoNotSleep’:
/usr/src/zd1211/trunk/src/zd1205.c:9775: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘ChangeMacMode’:
/usr/src/zd1211/trunk/src/zd1205.c:10373: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c:10374: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_iw_getstats’:
/usr/src/zd1211/trunk/src/zd1205.c:10396: error: ‘struct net_device’ has no member named ‘priv’
make[2]: *** [/usr/src/zd1211/trunk/src/zd1205.o] Erreur 2
make[1]: *** [_module_/usr/src/zd1211/trunk] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.31-15-generic »
make: *** [all] Erreur 2
jamay@jamay-desktop:/usr/src/zd1211/trunk$
j'ai essayer en root au cas où :
root@jamay-desktop:/usr/src/zd1211/trunk# sudo make clean && make && make install
rm -rf .tmp_versions .*.cmd *.ko *.mod.c *.mod.o *.o src/*.o src/.*.o.cmd
/lib/modules/2.6.31-15-generic/build
/usr/src/zd1211/trunk
-I/usr/src/zd1211/trunk/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZD1211B
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /lib/modules/2.6.31-15-generic/build SUBDIRS=/usr/src/zd1211/trunk modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.31-15-generic »
CC [M] /usr/src/zd1211/trunk/src/zd1205.o
In file included from /usr/src/zd1211/trunk/src/zd1205.h:49,
from /usr/src/zd1211/trunk/src/zd1205.c:47:
/usr/src/zd1211/trunk/src/zdcompat.h:69: error: conflicting types for ‘irqreturn_t’
include/linux/irqreturn.h:16: note: previous declaration of ‘irqreturn_t’ was here
In file included from /usr/src/zd1211/trunk/src/zd1205.h:49,
from /usr/src/zd1211/trunk/src/zd1205.c:47:
/usr/src/zd1211/trunk/src/zdcompat.h:72:1: warning: "IRQ_RETVAL" redefined
In file included from include/linux/interrupt.h:10,
from include/linux/netdevice.h:1058,
from include/net/sock.h:50,
from include/linux/tcp.h:177,
from /usr/src/zd1211/trunk/src/zd1205.c:41:
include/linux/irqreturn.h:17:1: warning: this is the location of the previous definition
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd_writel’:
/usr/src/zd1211/trunk/src/zd1205.c:704: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd_readl’:
/usr/src/zd1211/trunk/src/zd1205.c:744: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_enable_int’:
/usr/src/zd1211/trunk/src/zd1205.c:877: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_mgt_mon_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:1290: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘HKeepingCB’:
/usr/src/zd1211/trunk/src/zd1205.c:1591: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_rx_isr’:
/usr/src/zd1211/trunk/src/zd1205.c:4159: warning: assignment makes integer from pointer without a cast
/usr/src/zd1211/trunk/src/zd1205.c:4162: error: ‘struct sk_buff’ has no member named ‘mac’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_open’:
/usr/src/zd1211/trunk/src/zd1205.c:4356: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_get_stats’:
/usr/src/zd1211/trunk/src/zd1205.c:4731: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_iw_get_stats’:
/usr/src/zd1211/trunk/src/zd1205.c:4782: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c:4783: error: ‘struct driver_stats’ has no member named ‘iw_stats’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_set_mac’:
/usr/src/zd1211/trunk/src/zd1205.c:4826: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_close’:
/usr/src/zd1211/trunk/src/zd1205.c:4900: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_xmit_frame’:
/usr/src/zd1211/trunk/src/zd1205.c:5003: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_set_multi’:
/usr/src/zd1211/trunk/src/zd1205.c:5648: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_watchdog_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:5812: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setiwencode’:
/usr/src/zd1211/trunk/src/zd1205.c:6142: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_getiwencode’:
/usr/src/zd1211/trunk/src/zd1205.c:6263: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setessid’:
/usr/src/zd1211/trunk/src/zd1205.c:6309: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_getessid’:
/usr/src/zd1211/trunk/src/zd1205.c:6350: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setfreq’:
/usr/src/zd1211/trunk/src/zd1205.c:6386: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setrts’:
/usr/src/zd1211/trunk/src/zd1205.c:6454: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setfrag’:
/usr/src/zd1211/trunk/src/zd1205.c:6475: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_getfrag’:
/usr/src/zd1211/trunk/src/zd1205.c:6500: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_getrate’:
/usr/src/zd1211/trunk/src/zd1205.c:6524: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setpower’:
/usr/src/zd1211/trunk/src/zd1205.c:6646: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_getpower’:
/usr/src/zd1211/trunk/src/zd1205.c:6675: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl_setmode’:
/usr/src/zd1211/trunk/src/zd1205.c:6705: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_giwfreq’:
/usr/src/zd1211/trunk/src/zd1205.c:6807: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_giwmode’:
/usr/src/zd1211/trunk/src/zd1205.c:6823: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_giwrts’:
/usr/src/zd1211/trunk/src/zd1205.c:6869: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_commit’:
/usr/src/zd1211/trunk/src/zd1205.c:6989: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_siwscan’:
/usr/src/zd1211/trunk/src/zd1205.c:7003: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_translate_scan’:
/usr/src/zd1211/trunk/src/zd1205.c:7131: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7131: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7131: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘long unsigned int’
/usr/src/zd1211/trunk/src/zd1205.c:7131: error: too few arguments to function ‘iwe_stream_add_event’
/usr/src/zd1211/trunk/src/zd1205.c:7141: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7141: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7141: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘U8 *’
/usr/src/zd1211/trunk/src/zd1205.c:7141: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c:7153: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7153: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7153: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘long unsigned int’
/usr/src/zd1211/trunk/src/zd1205.c:7153: error: too few arguments to function ‘iwe_stream_add_event’
/usr/src/zd1211/trunk/src/zd1205.c:7166: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7166: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7166: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘long unsigned int’
/usr/src/zd1211/trunk/src/zd1205.c:7166: error: too few arguments to function ‘iwe_stream_add_event’
/usr/src/zd1211/trunk/src/zd1205.c:7191: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7191: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7191: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7191: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c:7202: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7202: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7202: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘U8 *’
/usr/src/zd1211/trunk/src/zd1205.c:7202: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c:7220: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type
include/net/iw_handler.h:569: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7220: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type
include/net/iw_handler.h:569: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7220: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast
include/net/iw_handler.h:569: note: expected ‘struct iw_event *’ but argument is of type ‘long unsigned int’
/usr/src/zd1211/trunk/src/zd1205.c:7220: error: too few arguments to function ‘iwe_stream_add_value’
/usr/src/zd1211/trunk/src/zd1205.c:7229: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type
include/net/iw_handler.h:569: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7229: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type
include/net/iw_handler.h:569: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7229: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast
include/net/iw_handler.h:569: note: expected ‘struct iw_event *’ but argument is of type ‘long unsigned int’
/usr/src/zd1211/trunk/src/zd1205.c:7229: error: too few arguments to function ‘iwe_stream_add_value’
/usr/src/zd1211/trunk/src/zd1205.c:7245: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7245: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7245: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7245: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c:7264: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7264: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7264: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7264: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c:7276: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7276: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/usr/src/zd1211/trunk/src/zd1205.c:7276: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
/usr/src/zd1211/trunk/src/zd1205.c:7276: error: too few arguments to function ‘iwe_stream_add_point’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205wext_giwscan’:
/usr/src/zd1211/trunk/src/zd1205.c:7290: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1211_set_auth_param’:
/usr/src/zd1211/trunk/src/zd1205.c:7537: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_ioctl’:
/usr/src/zd1211/trunk/src/zd1205.c:7769: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_init’:
/usr/src/zd1211/trunk/src/zd1205.c:8529: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_setup_next_send’:
/usr/src/zd1211/trunk/src/zd1205.c:8974: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_rx_ind’:
/usr/src/zd1211/trunk/src/zd1205.c:9402: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c:9415: error: implicit declaration of function ‘eth_copy_and_sum’
/usr/src/zd1211/trunk/src/zd1205.c:9420: warning: assignment makes integer from pointer without a cast
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_status_notify’:
/usr/src/zd1211/trunk/src/zd1205.c:9450: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘chal_tout_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:9550: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘scan_tout_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:9561: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘asoc_tout_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:9572: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘auth_tout_cb’:
/usr/src/zd1211/trunk/src/zd1205.c:9583: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_start_timer’:
/usr/src/zd1211/trunk/src/zd1205.c:9593: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_stop_timer’:
/usr/src/zd1211/trunk/src/zd1205.c:9640: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_dis_intr’:
/usr/src/zd1211/trunk/src/zd1205.c:9666: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_set_intr_mask’:
/usr/src/zd1211/trunk/src/zd1205.c:9683: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_check_tcb_avail’:
/usr/src/zd1211/trunk/src/zd1205.c:9712: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_delay_us’:
/usr/src/zd1211/trunk/src/zd1205.c:9735: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_AcquireDoNotSleep’:
/usr/src/zd1211/trunk/src/zd1205.c:9769: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zdcb_ReleaseDoNotSleep’:
/usr/src/zd1211/trunk/src/zd1205.c:9775: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘ChangeMacMode’:
/usr/src/zd1211/trunk/src/zd1205.c:10373: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c:10374: error: ‘struct net_device’ has no member named ‘priv’
/usr/src/zd1211/trunk/src/zd1205.c: In function ‘zd1205_iw_getstats’:
/usr/src/zd1211/trunk/src/zd1205.c:10396: error: ‘struct net_device’ has no member named ‘priv’
make[2]: *** [/usr/src/zd1211/trunk/src/zd1205.o] Erreur 1
make[1]: *** [_module_/usr/src/zd1211/trunk] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.31-15-generic »
make: *** [all] Erreur 2
root@jamay-desktop:/usr/src/zd1211/trunk#
Voilà je m'en remet donc à vous pour me guider dans ma quête.
Où bien une autre methode, j'suis ouvert à toute proposition
Merci d'avance.
Hors ligne
#2 Le 02/12/2009, à 03:03
- Jamay
Re : Problème de compilation driver svn
J'ai oublié de préciser que j'était sous ubuntu 9.10 64bit
que j'avais installer ceci :
sudo aptitude install linux-headers-$(uname -r) build-essential
Si vous désirez d'autre info...
Hors ligne
#3 Le 02/12/2009, à 22:38
- Jamay
Re : Problème de compilation driver svn
Personne pour me donner un coup de main?
Svp les gens
Hors ligne
#4 Le 02/12/2009, à 22:49
- HymnToLife
Re : Problème de compilation driver svn
Même chose ici, ce driver ne doit pas être compatible avec les noyaux récents.
- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !
Hors ligne
#5 Le 02/12/2009, à 23:41
- Jamay
Re : Problème de compilation driver svn
C'est possible ça?
j'ai pas trouver d'info sur une (in)compatibilité des drivers svn sur sourceforge.
Hors ligne
#6 Le 05/12/2009, à 19:21
- Jamay
Re : Problème de compilation driver svn
Bonjour
D'autre avis? Une solution?
S'il vous plait
Dernière modification par Jamay (Le 05/12/2009, à 19:21)
Hors ligne
#7 Le 05/12/2009, à 20:07
- eiger
Re : Problème de compilation driver svn
Le code dans le dépot subversion sur sourceforge est plutôt vieux (2 à 3 ans). En regardant les commentaires de plus près, on trouve par exemple ceci :
Revision 85 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 24 23:31:17 2007 UTC (2 years, 9 months ago) by mayne
File length: 179799 byte(s)
Diff to previous 71
ath_desc: make the driver build with Linux 2.6.20
ath_msgsubj: [zd1211-devs] patch for kernel 2.6.20
ath_msgdate: Wed, 07 Feb 2007 13:21:44 -0500
ath_msgid: <45CA18B8.9010800@u.washington.edu>
Note that development of the vendor-based community driver is dormant. Use zd1211rw instead.
On en déduit que le dernier noyau pour lequel le code a été testé est le 2.6.20, et que le développement du driver est interrompu. Les développeurs renvoient sur le driver zd1211rw.
En clair : ce projet est abandonné depuis presque 3 ans.
Hors ligne
#8 Le 05/12/2009, à 20:19
- Jamay
Re : Problème de compilation driver svn
arf.
Merci pour les explication en tout cas.
Hors ligne
#9 Le 09/04/2010, à 00:09
- tyndare
Re : Problème de compilation driver svn
J'ai eu le même problème, et je suis tombé sur ce qui semble être une mise à jour de ce driver.
J'ai réussi à le compiler sur un noyau 2.6.31, et le mode master semble supporté.
Le module s'appelle zd1211b.ko
http://code.google.com/p/open1211/
Hors ligne