Se connecter avec
S'enregistrer | Connectez-vous

Installation WiFi Inventel sous Mandrake 10.1

Dernière réponse : dans Le monde de Linux

Bien, voila, je suis passé sous Linux, et ce que je craignais est arrivé! Le WiFi ne veut pas se compiler!

Voici tout ce qu'il m'affiche dans la console:

[root@black-wolf at76c503-0.11]# make
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/lib/modules/2.6.8.1-12mdk/build/include -c at76c503.c
In file included from /lib/modules/2.6.8.1-12mdk/build/include/linux/irq.h:20,
from /lib/modules/2.6.8.1-12mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.8.1-12mdk/build/include/linux/interrupt.h:12,
from /lib/modules/2.6.8.1-12mdk/build/include/linux/usb.h:15,
from at76c503.c:91:
/lib/modules/2.6.8.1-12mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.8.1-12mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.8.1-12mdk/build/include/linux/interrupt.h:12,
from /lib/modules/2.6.8.1-12mdk/build/include/linux/usb.h:15,
from at76c503.c:91:
/lib/modules/2.6.8.1-12mdk/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.8.1-12mdk/build/include/linux/irq.h:72,
from /lib/modules/2.6.8.1-12mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.8.1-12mdk/build/include/linux/interrupt.h:12,
from /lib/modules/2.6.8.1-12mdk/build/include/linux/usb.h:15,
from at76c503.c:91:
/lib/modules/2.6.8.1-12mdk/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
In file included from at76c503.c:100:
at76c503.h:459: error: field `tqueue' has incomplete type
at76c503.h:465: error: field `kevent' has incomplete type
at76c503.c: In function `send_mgmt_bulk':
at76c503.c:1427: error: `USB_ST_URB_PENDING' undeclared (first use in this function)
at76c503.c:1427: error: (Each undeclared identifier is reported only once
at76c503.c:1427: error: for each function it appears in.)
at76c503.c:1466: warning: implicit declaration of function `FILL_BULK_URB'
at76c503.c:1474: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `defer_kevent':
at76c503.c:1757: warning: passing arg 2 of `set_bit' from incompatible pointer type
at76c503.c:1758: warning: implicit declaration of function `schedule_task'
at76c503.c: In function `kevent':
at76c503.c:1782: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1782: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1790: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1794: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1794: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1821: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1825: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1825: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1829: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1832: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1832: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1833: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1838: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1838: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1840: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1877: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1877: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1878: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1948: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1948: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1949: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1999: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1999: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2000: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:2005: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:2005: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2006: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:2014: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:2014: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2015: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c: In function `submit_rx_urb':
at76c503.c:3089: warning: passing arg 6 of `usb_fill_bulk_urb' from incompatible pointer type
at76c503.c:3090: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_write_bulk_callback':
at76c503.c:3235: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx':
at76c503.c:3321: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx_timeout':
at76c503.c:3346: error: `USB_ASYNC_UNLINK' undeclared (first use in this function)
at76c503.c: In function `ethtool_ioctl':
at76c503.c:3689: error: structure has no member named `owner'
at76c503.c:3695:41: missing binary operator before token "("
at76c503.c: In function `at76c503_delete_device':
at76c503.c:4353: warning: implicit declaration of function `flush_scheduled_tasks'
at76c503.c: In function `at76c503_alloc_urbs':
at76c503.c:4384: warning: initialization from incompatible pointer type
at76c503.c:4390: error: structure has no member named `endpoint'
at76c503.c:4396: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4407: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4429: error: too few arguments to function `usb_alloc_urb'
at76c503.c: In function `at76c503_new_device':
at76c503.c:4463: warning: implicit declaration of function `INIT_TQUEUE'
at76c503.c:4507: warning: assignment from incompatible pointer type
at76c503.c: In function `at76c503_do_probe':
at76c503.c:4595: warning: implicit declaration of function `usb_inc_dev_use'
at76c503.c:4597: warning: implicit declaration of function `usb_get_configuration'
at76c503.c:4602: warning: implicit declaration of function `usb_set_configuration'
at76c503.c:4610: error: `USB_ST_STALL' undeclared (first use in this function)
at76c503.c:4625: error: structure has no member named `owner'
at76c503.c:4640: warning: implicit declaration of function `usb_dec_dev_use'
make: *** [at76c503.o] Erreur 1
[root@black-wolf at76c503-0.11]#

Si quelqu'un avait une idée d'ou peut venir le problème, parce que là, pour moi ça devient un peu compliqué!
Lassé par la pub ? Créez un compte

Black_Wolf a écritBien, voila, je suis passé sous Linux, et ce que je craignais est arrivé! Le WiFi ne veut pas se compiler!

Voici tout ce qu'il m'affiche dans la console:

[root@black-wolf at76c503-0.11]# make
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/lib/modules/2.6.8.1-12mdk/build/include -c at76c503.c
In file included from /lib/modules/2.6.8.1-12mdk/build/include/linux/irq.h:20,
from /lib/modules/2.6.8.1-12mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.8.1-12mdk/build/include/linux/interrupt.h:12,
from /lib/modules/2.6.8.1-12mdk/build/include/linux/usb.h:15,
from at76c503.c:91:
/lib/modules/2.6.8.1-12mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.8.1-12mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.8.1-12mdk/build/include/linux/interrupt.h:12,
from [...]
make: *** [at76c503.o] Erreur 1
[root@black-wolf at76c503-0.11]#

Si quelqu'un avait une idée d'ou peut venir le problème, parce que là, pour moi ça devient un peu compliqué!


tu pourrai deja commencer par dire ce que tu compile, pour quel noyau c'est prévu et si le wifi est dispo dans le kernel

ensuite l'erreur principale est la :

/lib/modules/2.6.8.1-12mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory

donc commence a trouver des infos sur ce fichier :) 

Salut :) 
Dans ce genre d'erreur, c'est très très souvent un fichier qui manque. Il faut chercher un "No such file or directory", en l'occurence:
Citation :
/lib/modules/2.6.8.1-12mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory


je vais me renseigner sur ce fichier, je te tiens au courant ;) 

edit: grillaid :D 

ReEdit: À mon avis, il suffit d'installer les kernel_headers ;) 

En fait, je compile un fichier nommé at76c503-0.11;tar.gz, trouvé sur http://sourceforge.net/projects/at76c503a/
Il s'agit du driver perméttant de faire fonctionner mon module WiFi, et dans le readme, l'auteur as utilisé les kernel 2.4.x. Sur ma machine, j'ai installé les 2.6, mais après, je serais vraiment incapable d'en dire plus.
Maintenant, je suis d'accord qu'il doit me manquer des fichiers, mais j'ignore lesquels, et ou je peut bien les trouver.

En tout cas, merci de vous intérresser à mon problème.

[EDIT] Pour les kernel header, je sais pas ce que c'est, et je n'ai aucun paquet dont le nom se rapproche!

Bon, laisse tomber, j'ai trouvé un driver qui fonctionne!
J'avais juste à remplacer l'éxistant par celui que j'ai trouvé et qui était déjà compilé.
Je donne le lien à tout hasard: http://willett.fastmail.fm/at76c503a-2.6.8.1-12mdk.tar Je précise que c'est pour Mandrake 10.1, mais comme j'y connais pas grand chose, je ne sais pas si c'est compatible avec d'autres distributions.
à tout hasard aussi, voici un forum qui ne parle que du routeur Inventel, et ou j'ai trouvé le lien: http://www.wlanfr.net/forum.php?op=forum&pid=27

Voila. En tout cas, merci pour ton aide Deather2. Maintenant, vas falloir que je trouve coment configurer tout ça.
Lassé par la pub ? Créez un compte