Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[IPW2100] erreur de compilation (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Tue Aug 24, 2004 7:36 pm    Post subject: [IPW2100] erreur de compilation (resolu) Reply with quote

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 :D


Last edited by matthias* on Fri Aug 27, 2004 8:48 am; edited 1 time in total
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Tue Aug 24, 2004 9:14 pm    Post subject: Re: [IPW2100] erreur de compilation (en cours) Reply with quote

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
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Wed Aug 25, 2004 6:27 am    Post subject: Reply with quote

J'ai bien l'option CONFIG_NET_RADIO activé dans mon kernel, je vais regarder tes autres recommandations.

Merci :)
Back to top
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Wed Aug 25, 2004 6:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
taiwan
n00b
n00b


Joined: 16 Apr 2002
Posts: 51

PostPosted: Wed Aug 25, 2004 7:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Wed Aug 25, 2004 8:04 pm    Post subject: Reply with quote

arf, faudrait peut être utiliser des ebuild > à la v0.44 mais ils sont masqués et c'est peut être imprudent :(
Back to top
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Wed Aug 25, 2004 8:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
kaovei
n00b
n00b


Joined: 12 Jun 2004
Posts: 60
Location: France - RP

PostPosted: Wed Aug 25, 2004 9:29 pm    Post subject: Reply with quote

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 :
Code:

emerge ipw2100

et ca devrait rouler.
Back to top
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Thu Aug 26, 2004 6:40 am    Post subject: Reply with quote

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 :D

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
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Thu Aug 26, 2004 8:38 am    Post subject: Reply with quote

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
View user's profile Send private message
kaovei
n00b
n00b


Joined: 12 Jun 2004
Posts: 60
Location: France - RP

PostPosted: Thu Aug 26, 2004 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Thu Aug 26, 2004 10:59 am    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
matthias*
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2004
Posts: 144
Location: Paris

PostPosted: Thu Aug 26, 2004 6:52 pm    Post subject: Reply with quote

ça marche, nickel :D

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 :wink:

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 ... :evil:
Back to top
View user's profile Send private message
taiwan
n00b
n00b


Joined: 16 Apr 2002
Posts: 51

PostPosted: Thu Aug 26, 2004 9:23 pm    Post subject: Reply with quote

moi je suis passe a la version 0.52 et c est passe sur le 2.6.8.1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum