View previous topic :: View next topic |
Author |
Message |
matthias* Tux's lil' helper
Joined: 03 Aug 2004 Posts: 144 Location: Paris
|
Posted: Tue Aug 24, 2004 7:36 pm Post subject: [IPW2100] erreur de compilation (resolu) |
|
|
Bonjour à tous,
J'essaye de configurer ma carte WiFi Centrino b d'Intel, j'ai donc fais un emerge ipw2100 et la compilation echoue avec les messages suivants :
Code: |
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ipw2100-0.44 to /
>>> md5 src_uri ;-) ipw2100-0.44.tgz
>>> md5 src_uri ;-) ipw2100-fw-1.1.tgz
>>> Unpacking source...
>>> Unpacking ipw2100-0.44.tgz to /var/tmp/portage/ipw2100-0.44/work
>>> Unpacking ipw2100-fw-1.1.tgz to /var/tmp/portage/ipw2100-0.44/work
* /usr/src/linux is a symbolic link
* Determining the real directory of the Linux kernel source code
* Building for Linux 2.6.8-gentoo-r1 found in /usr/src/linux
>>> Source unpacked.
make -C //usr/src/linux SUBDIRS=/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44 MODVERDIR=/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44 modules
make[1]: Entering directory `/usr/src/linux-2.6.8-gentoo-r1'
CC [M] /var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_main.o
CC [M] /var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_fw.o
/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_main.c:144:26: linux/802_11.h : Aucun fichier ou répertoire de ce type
/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_fw.c:41:26: linux/802_11.h : Aucun fichier ou répertoire de ce type
Dans le fichier inclus à partir de /var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100.h:45,
à partir de /var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_main.c:199:
/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ieee80211.h:46:26: linux/802_11.h : Aucun fichier ou répertoire de ce type
Dans le fichier inclus à partir de /var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100.h:45,
à partir de /var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_fw.c:71:
/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ieee80211.h:46:26: linux/802_11.h : Aucun fichier ou répertoire de ce type
make[2]: *** [/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_fw.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_main.c: Dans la fonction « isr_handle_mgt_packet »:
/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_main.c:1972: error: `ieee_802_11_frame_subtype_Association_Resp' undeclared (first use in this function)
/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_main.c:1972: error: (Each undeclared identifier is reported only once
/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_main.c:1972: error: for each function it appears in.)
/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_main.c:1976: error: `ieee_802_11_frame_subtype_Reassociation_Resp' undeclared (first use in this function)
/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_main.c:1980: error: `ieee_802_11_frame_subtype_Probe_Resp' undeclared (first use in this function)
/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_main.c:1988: error: `ieee_802_11_frame_subtype_Beacon' undeclared (first use in this function)
make[2]: *** [/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44/ipw2100_main.o] Erreur 1
make[1]: *** [_module_/var/tmp/portage/ipw2100-0.44/work/ipw2100-0.44] Erreur 2
make[1]: Leaving directory `/usr/src/linux-2.6.8-gentoo-r1'
make: *** [modules] Erreur 2
|
si qq a une idée sur le problème ...
merci d'avance
Last edited by matthias* on Fri Aug 27, 2004 8:48 am; edited 1 time in total |
|
Back to top |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Tue Aug 24, 2004 9:14 pm Post subject: Re: [IPW2100] erreur de compilation (en cours) |
|
|
matthias* wrote: | si qq a une idée sur le problème ... |
Euh je ne suis pas un pro du wifi, mais manifestement t'as oublié de compiler de séléctionner des morceaux de noyau pour que ça marche, typiquement quand il met
Quote: | linux/802_11.h : Aucun fichier ou répertoire de ce type |
c'est que t'as oublié le support pour 802.11 (le wifi) dans le noyau.
il y a plus d'instructions sur le site des sources du paquet qui est http://ipw2100.sourceforge.net/
par exemple ils disent de faire
FEATURES="-sandbox" emerge ipw2100
et dans le fichier http://ipw2100.sourceforge.net/INSTALL, ils disent par exemple "If you are building the IPW2100 driver outside of the kernel build system then
you need to ensure that you have enabled wireless capabilities within your
kernel (CONFIG_NET_RADIO=y)."
à toi d'aller voir dans ce fichier tout ce qu'il faut faire _________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse |
|
Back to top |
|
|
matthias* Tux's lil' helper
Joined: 03 Aug 2004 Posts: 144 Location: Paris
|
Posted: Wed Aug 25, 2004 6:27 am Post subject: |
|
|
J'ai bien l'option CONFIG_NET_RADIO activé dans mon kernel, je vais regarder tes autres recommandations.
Merci |
|
Back to top |
|
|
matthias* Tux's lil' helper
Joined: 03 Aug 2004 Posts: 144 Location: Paris
|
Posted: Wed Aug 25, 2004 6:50 pm Post subject: |
|
|
j'ai utilisé Code: | FEATURES="-sandbox" emerge ipw2100 | mais pas de changement ...
j'ai pourtant apparemment respecté les prérequis définis ... |
|
Back to top |
|
|
taiwan n00b
Joined: 16 Apr 2002 Posts: 51
|
Posted: Wed Aug 25, 2004 7:48 pm Post subject: |
|
|
J ai le meme probleme ca marchait en 2.6.7 et en 2.6.8.1 j ai se probleme .
Peu etre que des fichier on bouger de place je sais pas :p |
|
Back to top |
|
|
matthias* Tux's lil' helper
Joined: 03 Aug 2004 Posts: 144 Location: Paris
|
Posted: Wed Aug 25, 2004 8:04 pm Post subject: |
|
|
arf, faudrait peut être utiliser des ebuild > à la v0.44 mais ils sont masqués et c'est peut être imprudent |
|
Back to top |
|
|
matthias* Tux's lil' helper
Joined: 03 Aug 2004 Posts: 144 Location: Paris
|
Posted: Wed Aug 25, 2004 8:44 pm Post subject: |
|
|
Code: | Aug 18 2004 Changes in 0.53
NOTE: Firmware was upgraded with 0.50. If you haven't upgarded to the 1.2 firmware, you can obtain the latest firmware from http://ipw2100.sf.net/firmware.php.
* Fixed completely broken proc init/destruct code (thanks to Pedro Ramalhais)
* Fixed problem with new get_power not returning any string output (due to a missed line while intergrating An-Cheng Huang's patch)
* Fixed SWSUSP2 build dependency check to CONFIG_SOFTWARE_SUSPEND2
* Changed read to sys_read, etc. to fix legacy firmware compilation problems (thanks to L Jensen)
* Added code to remove workqueue on PCI init error path (thanks to Yi Zhu)
* Added dvals, load, and unload scripts.
* Updated in-kernel patch to 2.6.8 |
ça veut dire qu'il faut attendre l'ebuild 0.53 ? |
|
Back to top |
|
|
kaovei n00b
Joined: 12 Jun 2004 Posts: 60 Location: France - RP
|
Posted: Wed Aug 25, 2004 9:29 pm Post subject: |
|
|
j'ai eu le meme probleme.
En fait si tu as encore une version du kernel 2.6.7-r*, il faut que tu copie le fichier 802_11.h de <rep de mon kernel 2.6.7>/include/linux/802_11.h dans <rep de mon kernel 2.6.8>/include/linux/802_11.h.
apres :
et ca devrait rouler. |
|
Back to top |
|
|
matthias* Tux's lil' helper
Joined: 03 Aug 2004 Posts: 144 Location: Paris
|
Posted: Thu Aug 26, 2004 6:40 am Post subject: |
|
|
ben non, en fait je viens d'installer Gentoo et donc pas de 2.6.7.x en stock, y a pas moyen d'emerger des "vieilles" sources ?
merci pour l'info en tt cas
Edit : s'il n'ya pas possibillité d'emerger de vieilles sources est ce qu'une âme charitable pourrait m'envoyer ce fameux header à l'adresse mail présente dans mon profil, svp. |
|
Back to top |
|
|
matthias* Tux's lil' helper
Joined: 03 Aug 2004 Posts: 144 Location: Paris
|
Posted: Thu Aug 26, 2004 8:38 am Post subject: |
|
|
finalement j'ai recupéré le header sur kernel.org, j'essayerai ce soir (en espérant que les patchs gentoo ne s'applique pas sur ce fameux header). |
|
Back to top |
|
|
kaovei n00b
Joined: 12 Jun 2004 Posts: 60 Location: France - RP
|
Posted: Thu Aug 26, 2004 10:36 am Post subject: |
|
|
matthias* wrote: | ben non, en fait je viens d'installer Gentoo et donc pas de 2.6.7.x en stock, y a pas moyen d'emerger des "vieilles" sources ?
|
Code: |
emerge =gentoo-dev-sources-2.6.7-r13
|
|
|
Back to top |
|
|
matthias* Tux's lil' helper
Joined: 03 Aug 2004 Posts: 144 Location: Paris
|
Posted: Thu Aug 26, 2004 10:59 am Post subject: |
|
|
kaovei wrote: |
Code: |
emerge =gentoo-dev-sources-2.6.7-r13
|
|
merci, en fait j'avais un doute car Code: | emerge --search gentoo-dev-sources | ne renvoit que la derniere version, je dwl tt ça ce soir |
|
Back to top |
|
|
matthias* Tux's lil' helper
Joined: 03 Aug 2004 Posts: 144 Location: Paris
|
Posted: Thu Aug 26, 2004 6:52 pm Post subject: |
|
|
ça marche, nickel
par contre pour automatiser le demarrage de la connexion j'ai un soucis, je ne vois pas comment faire un script net.eth1 dans /etc/init.d, en suivant la doc d'install ch8 ça marche pas il me fait un bête lien sur net.eth0 (carte ethernet) .... en plus il faudrait que je passe le SSID de mon reseau en parametre ... je cherche de la doc mais un petit coup de main serait le bienvenu
Edit : j'ai trouvé pour passer le ssid avec
Code: | wireless_essid_eth1="monSSID" | dans /etc/conf.d/net
reste le script, je suis en train de lire le topic "Wireless configuration and startup - The Gentoo way" mais y a 53 pages :d
Edit2 : en fait cela fonctionne avec le lien net.eth1 vers net.eth0 mais uniquement si j'ai fais prealablement un iwconfig eth1 essid "monSSID" ... le problème semble qu'au boot il ne recupere pas le SSID dans /etc/conf.d/net ... scrognnneuu ... |
|
Back to top |
|
|
taiwan n00b
Joined: 16 Apr 2002 Posts: 51
|
Posted: Thu Aug 26, 2004 9:23 pm Post subject: |
|
|
moi je suis passe a la version 0.52 et c est passe sur le 2.6.8.1 |
|
Back to top |
|
|
|