Enviado em 13/09/2012 - 00:18h
bem pessoal sou iniciante no mundo do linux e estou querendo aprender esse novo mundo como os problemas surgem para serem resolvidos então ja tenho um e preciso que alguém me ajunde.
bem eu tenho um notebook g42-245hp e instalei o debian squeeze mas ele não reconheceu minha placa wirelles não detecta nenhuma rede,então a algum tempo eu testei o debian weenzy e deu o mesmo problema mas eu instalei os headers do linux o gcc eo make e fiz todos os passos e consegui abilitar minha placa wirelles mas infelizmente eu passei para o squeeze e me deparei com o mesmo erro mas quando eu vou compilar o driver ele da o seguinte erro:
assim o driver da minha placa e o rtl8191Seva..
root@server:/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011# make
make -C /lib/modules/2.6.32-5-amd64/build M=/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011 modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.32-5-amd64'
CC [M] /home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.o
In file included from /home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:32:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/wifi.h: In function ‘rtl_find_sta’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/wifi.h:2094: warning: passing argument 1 of ‘ieee80211_find_sta’ from incompatible pointer type
/usr/src/linux-headers-2.6.32-5-common/include/net/mac80211.h:2091: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
In file included from /home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:34:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.h: At top level:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.h:143: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.h:143: warning: its scope is only this definition or declaration, which is probably not what you want
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘_rtl_init_mac80211’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:322: error: ‘IEEE80211_HW_CONNECTION_MONITOR’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:322: error: (Each undeclared identifier is reported only once
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:322: error: for each function it appears in.)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_tx_agg_start’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:991: warning: passing argument 1 of ‘ieee80211_start_tx_ba_cb_irqsafe’ from incompatible pointer type
/usr/src/linux-headers-2.6.32-5-common/include/net/mac80211.h:2038: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_tx_agg_stop’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1020: warning: passing argument 1 of ‘ieee80211_stop_tx_ba_cb_irqsafe’ from incompatible pointer type
/usr/src/linux-headers-2.6.32-5-common/include/net/mac80211.h:2079: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_watchdog_wq_callback’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1274: error: implicit declaration of function ‘ieee80211_connection_loss’
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: At top level:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1332: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1332: error: parameter 2 (‘smps’) has incomplete type
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_make_smps_action’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1352: error: ‘WLAN_HT_ACTION_SMPS’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1354: error: ‘IEEE80211_SMPS_AUTOMATIC’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1355: error: ‘IEEE80211_SMPS_NUM_MODES’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1357: error: ‘IEEE80211_SMPS_OFF’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1359: error: ‘WLAN_HT_SMPS_CONTROL_DISABLED’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1361: error: ‘IEEE80211_SMPS_STATIC’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1363: error: ‘WLAN_HT_SMPS_CONTROL_STATIC’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1365: error: ‘IEEE80211_SMPS_DYNAMIC’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1367: error: ‘WLAN_HT_SMPS_CONTROL_DYNAMIC’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: At top level:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1376: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1376: error: parameter 3 (‘smps’) has incomplete type
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_send_smps_action’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1404: error: type of formal parameter 2 is incomplete
make[4]: ** [/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.o] Erro 1
make[3]: ** [_module_/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011] Erro 2
make[2]: ** [sub-make] Erro 2
make[1]: ** [all] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.32-5-amd64'
make: ** [all] Erro 2
root@server:/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011#
alguem pode me ajudar com esse problema? agradeço desde já..
bem eu tenho um notebook g42-245hp e instalei o debian squeeze mas ele não reconheceu minha placa wirelles não detecta nenhuma rede,então a algum tempo eu testei o debian weenzy e deu o mesmo problema mas eu instalei os headers do linux o gcc eo make e fiz todos os passos e consegui abilitar minha placa wirelles mas infelizmente eu passei para o squeeze e me deparei com o mesmo erro mas quando eu vou compilar o driver ele da o seguinte erro:
assim o driver da minha placa e o rtl8191Seva..
root@server:/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011# make
make -C /lib/modules/2.6.32-5-amd64/build M=/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011 modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.32-5-amd64'
CC [M] /home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.o
In file included from /home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:32:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/wifi.h: In function ‘rtl_find_sta’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/wifi.h:2094: warning: passing argument 1 of ‘ieee80211_find_sta’ from incompatible pointer type
/usr/src/linux-headers-2.6.32-5-common/include/net/mac80211.h:2091: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
In file included from /home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:34:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.h: At top level:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.h:143: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.h:143: warning: its scope is only this definition or declaration, which is probably not what you want
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘_rtl_init_mac80211’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:322: error: ‘IEEE80211_HW_CONNECTION_MONITOR’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:322: error: (Each undeclared identifier is reported only once
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:322: error: for each function it appears in.)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_tx_agg_start’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:991: warning: passing argument 1 of ‘ieee80211_start_tx_ba_cb_irqsafe’ from incompatible pointer type
/usr/src/linux-headers-2.6.32-5-common/include/net/mac80211.h:2038: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_tx_agg_stop’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1020: warning: passing argument 1 of ‘ieee80211_stop_tx_ba_cb_irqsafe’ from incompatible pointer type
/usr/src/linux-headers-2.6.32-5-common/include/net/mac80211.h:2079: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_watchdog_wq_callback’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1274: error: implicit declaration of function ‘ieee80211_connection_loss’
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: At top level:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1332: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1332: error: parameter 2 (‘smps’) has incomplete type
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_make_smps_action’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1352: error: ‘WLAN_HT_ACTION_SMPS’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1354: error: ‘IEEE80211_SMPS_AUTOMATIC’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1355: error: ‘IEEE80211_SMPS_NUM_MODES’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1357: error: ‘IEEE80211_SMPS_OFF’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1359: error: ‘WLAN_HT_SMPS_CONTROL_DISABLED’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1361: error: ‘IEEE80211_SMPS_STATIC’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1363: error: ‘WLAN_HT_SMPS_CONTROL_STATIC’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1365: error: ‘IEEE80211_SMPS_DYNAMIC’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1367: error: ‘WLAN_HT_SMPS_CONTROL_DYNAMIC’ undeclared (first use in this function)
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: At top level:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1376: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1376: error: parameter 3 (‘smps’) has incomplete type
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_send_smps_action’:
/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1404: error: type of formal parameter 2 is incomplete
make[4]: ** [/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.o] Erro 1
make[3]: ** [_module_/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011] Erro 2
make[2]: ** [sub-make] Erro 2
make[1]: ** [all] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.32-5-amd64'
make: ** [all] Erro 2
root@server:/home/andre/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011#
alguem pode me ajudar com esse problema? agradeço desde já..