Bonsoir à tous !
J'ai une carte WiFi PCMCIA rtl8180, "marchant" avec Ndiswrapper. Mais, je n'en suis pas vraiment satisfait, pour plusieurs raisons.
Alors, je désire compiler l'un des pilote Linux de cette carte, mais j'ai de petits soucis.
J'ai deux pilotes : un fourni par le fabricant de la puce, Realtek [
www.realtek.com.tw] ; et un libre, par un utilisateur [
rtl8180-sa2400.sourceforge.net].
Je les ai essayés tous les deux, mais la compilation me r'envoie le même problème : "
error: 'struct pci_dev' has no member named 'slot_name'"
Lors de la compilation du pilote libre, j'ai ça :
[ban@localhost rtl8180-0.21]$ make
make -C /lib/modules/2.6.12-12mdk/build SUBDIRS=/home/francine/Documents/bazar/rtl8180-0.21 MODVERDIR=/home/francine/Documents/bazar/rtl8180-0.21 modules
make[1]: Entering directory `/usr/src/linux-2.6.12-12mdk'
WARNING: Symbol version dump /usr/src/linux-2.6.12-12mdk/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/francine/Documents/bazar/rtl8180-0.21/ieee80211_rx.o
CC [M] /home/francine/Documents/bazar/rtl8180-0.21/ieee80211_tx.o
CC [M] /home/francine/Documents/bazar/rtl8180-0.21/ieee80211_wx.o
CC [M] /home/francine/Documents/bazar/rtl8180-0.21/ieee80211_module.o
CC [M] /home/francine/Documents/bazar/rtl8180-0.21/ieee80211_crypt.o
CC [M] /home/francine/Documents/bazar/rtl8180-0.21/ieee80211_crypt_wep.o
/home/francine/Documents/bazar/rtl8180-0.21/ieee80211_crypt_wep.c:27:2: warning: #warning CONFIG_CRYPTO_ARC4 is required to build this module.
CC [M] /home/francine/Documents/bazar/rtl8180-0.21/r8180_core.o
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c: In function 'alloc_tx_desc_ring':
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c:1607: warning: cast from pointer to integer of different size
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c:1607: warning: cast to pointer from integer of different size
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c:1608: warning: cast to pointer from integer of different size
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c:1608: warning: cast from pointer to integer of different size
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c: In function 'alloc_rx_desc_ring':
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c:1763: warning: cast from pointer to integer of different size
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c:1763: warning: cast to pointer from integer of different size
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c:1764: warning: cast to pointer from integer of different size
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c:1764: warning: cast from pointer to integer of different size
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c: In function 'rtl8180_pci_probe':
/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.c:3632: error: 'struct pci_dev' has no member named 'slot_name'
make[2]: *** [/home/francine/Documents/bazar/rtl8180-0.21/r8180_core.o] Erreur 1
make[1]: *** [_module_/home/francine/Documents/bazar/rtl8180-0.21] Erreur 2
make[1]: Leaving directory `/usr/src/linux-2.6.12-12mdk'
make: *** [2.6] Erreur 2
[ban@localhost rtl8180-0.21]
et avec celui fourni par le fabricant, j'obtiens quelquechose de similaire :
[ban@localhost rtl8180_1.5_release26]$ make
make -C /lib/modules/2.6.12-12mdk/build SUBDIRS=/home/francine/Documents/bazar/rtl8180_1.5_release26 MODVERDIR=/home/francine/Documents/bazar/rtl8180_1.5_release26 modules
make[1]: Entering directory `/usr/src/linux-2.6.12-12mdk'
WARNING: Symbol version dump /usr/src/linux-2.6.12-12mdk/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/francine/Documents/bazar/rtl8180_1.5_release26/r8180_pci_init.o
/home/francine/Documents/bazar/rtl8180_1.5_release26/r8180_pci_init.c: In function 'rtl8180_pci_probe':
/home/francine/Documents/bazar/rtl8180_1.5_release26/r8180_pci_init.c:146: error: 'struct pci_dev' has no member named 'slot_name'
/home/francine/Documents/bazar/rtl8180_1.5_release26/r8180_pci_init.c:150: error: 'struct pci_dev' has no member named 'slot_name'
/home/francine/Documents/bazar/rtl8180_1.5_release26/r8180_pci_init.c: At top level:
/home/francine/Documents/bazar/rtl8180_1.5_release26/r8180_pci_init.c:408: fatal error: opening dependency file /home/francine/Documents/bazar/rtl8180_1.5_release26/.r8180_pci_init.o.d: Permission non accordée
compilation terminated.
make[2]: *** [/home/francine/Documents/bazar/rtl8180_1.5_release26/r8180_pci_init.o] Erreur 1
make[1]: *** [_module_/home/francine/Documents/bazar/rtl8180_1.5_release26] Erreur 2
make[1]: Leaving directory `/usr/src/linux-2.6.12-12mdk'
make: *** [modules] Erreur 2
[ban@localhost rtl8180_1.5_release26]$
Pour les infos supplémentaires, j'ai :
Mandriva 2006
GCC 4.0.1
Kernel 2.6.12-12mdk
Aurriez-vous une idée pour résoudre ce problème ?
Merci d'avance !
Poste le Thursday 4 May 2006 01:26:44