Ensuite, ma compilation :
make
make -C /lib/modules/3.1.0-rc4.110831/build M=/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011 modules
make[1]: entrant dans le répertoire « /home/shaman/src/linux_kernel/linux-3.1-rc4 »
CC [M] /home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.o
In file included from /home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:31:0:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/wifi.h:1477:24: error: field ‘irq_tasklet’ has incomplete type
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/wifi.h:1478:24: error: field ‘irq_prepare_bcn_tasklet’ has incomplete type
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘_rtl_init_hw_ht_capab’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:210:3: error: implicit declaration of function ‘in_interrupt’ [-Werror=implicit-function-declaration]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:210:3: error: implicit declaration of function ‘in_atomic’ [-Werror=implicit-function-declaration]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:210:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:221:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:230:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘_rtl_init_mac80211’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:310:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_init_core’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:452:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:457:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_tx_mgmt_proc’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:773:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_action_proc’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:807:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:822:6: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:840:25: error: ‘RX_FLAG_TSFT’ undeclared (first use in this function)
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:840:25: note: each undeclared identifier is reported only once for each function it appears in
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:854:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:859:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_is_special_data’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:903:5: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:924:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_tx_agg_start’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:965:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_tx_agg_stop’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:996:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1000:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_rx_agg_start’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1041:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_rx_agg_stop’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1060:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1064:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_tx_agg_oper’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1087:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1091:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_recognize_peer’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1531:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1538:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1543:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1548:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1553:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
cc1: some warnings being treated as errors
# Tentative ce compilation de rtl8191
Posté par thedarkshaman . En réponse au message [3.1-rc4]-Bug Freeze. Évalué à 0.
Juste histoire d'avancer un peut ce point, voila ma sortie console quand j'essaye de compile le driver fourni par realtek.
Ma carte :
lspci | grep -i 8191
0a:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
Le driver :
Je le récupère ici : http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PFid=48&Level=5&Conn=4&ProdID=226&DownTypeID=3&GetDown=false&Downloads=true
Ensuite, ma compilation :
make
make -C /lib/modules/3.1.0-rc4.110831/build M=/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011 modules
make[1]: entrant dans le répertoire « /home/shaman/src/linux_kernel/linux-3.1-rc4 »
CC [M] /home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.o
In file included from /home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:31:0:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/wifi.h:1477:24: error: field ‘irq_tasklet’ has incomplete type
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/wifi.h:1478:24: error: field ‘irq_prepare_bcn_tasklet’ has incomplete type
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘_rtl_init_hw_ht_capab’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:210:3: error: implicit declaration of function ‘in_interrupt’ [-Werror=implicit-function-declaration]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:210:3: error: implicit declaration of function ‘in_atomic’ [-Werror=implicit-function-declaration]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:210:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:221:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:230:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘_rtl_init_mac80211’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:310:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_init_core’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:452:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:457:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_tx_mgmt_proc’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:773:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_action_proc’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:807:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:822:6: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:840:25: error: ‘RX_FLAG_TSFT’ undeclared (first use in this function)
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:840:25: note: each undeclared identifier is reported only once for each function it appears in
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:854:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:859:4: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_is_special_data’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:903:5: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:924:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_tx_agg_start’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:965:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_tx_agg_stop’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:996:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1000:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_rx_agg_start’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1041:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_rx_agg_stop’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1060:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1064:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_tx_agg_oper’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1087:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1091:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c: In function ‘rtl_recognize_peer’:
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1531:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1538:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1543:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1548:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011/base.c:1553:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat]
cc1: some warnings being treated as errors
make[2]: *** [/home/shaman/src/driver/rtl8191se/rtl92ce_92se_92de_linux_mac80211_0003.0620.2011/base.o] Erreur 1
make[1]: *** [_module/home/shaman/src/driver/rtl8191se/rtl_92ce_92se_92de_linux_mac80211_0003.0620.2011] Erreur 2
make[1]: quittant le répertoire « /home/shaman/src/linux_kernel/linux-3.1-rc4 »
make: *** [all] Erreur 2