Erro ao compilar modulo RTL8191SE No Debian

1. Erro ao compilar modulo RTL8191SE No Debian

Cristhoper Gomes
C.Kami

(usa Debian)

Enviado em 17/02/2013 - 19:09h

Boa noite, hoje eu instalei o Debian Squeeze no meu notebook, um positivo sim+ e estou enfrentando problemas para instalar essa placa de rede, já li e segui diversos guias e sempre sem sucesso, por final eu tentei baixar o modulo diretamente no site da realtek http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=48&PFid=48&Level=5&... mas quando eu tento compilar ele sempre me retorna um erro:


root@Kami-NB:/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011# make
make -C /lib/modules/2.6.32-5-686/build M=/home/kami/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-686'
CC [M] /home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.o
In file included from /home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:32:
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/wifi.h: In function ‘rtl_find_sta’:
/home/kami/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/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:34:
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.h: At top level:
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.h:143: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/home/kami/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/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘_rtl_init_mac80211’:
/home/kami/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/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:322: error: (Each undeclared identifier is reported only once
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:322: error: for each function it appears in.)
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_tx_agg_start’:
/home/kami/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/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_tx_agg_stop’:
/home/kami/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/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_watchdog_wq_callback’:
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1274: error: implicit declaration of function ‘ieee80211_connection_loss’
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: At top level:
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1332: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1332: error: parameter 2 (‘smps’) has incomplete type
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_make_smps_action’:
/home/kami/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/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1354: error: ‘IEEE80211_SMPS_AUTOMATIC’ undeclared (first use in this function)
/home/kami/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/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1357: error: ‘IEEE80211_SMPS_OFF’ undeclared (first use in this function)
/home/kami/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/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1361: error: ‘IEEE80211_SMPS_STATIC’ undeclared (first use in this function)
/home/kami/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/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1365: error: ‘IEEE80211_SMPS_DYNAMIC’ undeclared (first use in this function)
/home/kami/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/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: At top level:
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1376: warning: ‘enum ieee80211_smps_mode’ declared inside parameter list
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1376: error: parameter 3 (‘smps’) has incomplete type
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c: In function ‘rtl_send_smps_action’:
/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.c:1404: error: type of formal parameter 2 is incomplete
make[4]: ** [/home/kami/Downloads/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/base.o] Erro 1
make[3]: ** [_module_/home/kami/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-686'
make: ** [all] Erro 2


Então peço encarecidamente que alguém me ajude com esse probleminha, desde já agradeço pela atenção de todos.


  


2. Re: Erro ao compilar modulo RTL8191SE No Debian

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 17/02/2013 - 20:10h

tu tem o kernel headers instalado ?


3. Re: Erro ao compilar modulo RTL8191SE No Debian

Cristhoper Gomes
C.Kami

(usa Debian)

Enviado em 17/02/2013 - 20:32h

Já está instalado sim.


4. Re: Erro ao compilar modulo RTL8191SE No Debian

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 17/02/2013 - 20:42h

Esse módulo é compatível com o kernel 2.6.alguma-coisa que você está a usar?


5. Re: Erro ao compilar modulo RTL8191SE No Debian

Cristhoper Gomes
C.Kami

(usa Debian)

Enviado em 17/02/2013 - 20:46h

Segundo o site da Realtek ele é compatível com o kernel 2.6.24 ou posterior, e eu estou a usar o 2.6.32-5-686 =/



6. Resolvido

Cristhoper Gomes
C.Kami

(usa Debian)

Enviado em 18/02/2013 - 07:20h

Gente consegui resolver o problema, aparentemente o erro que estava dando era do módulo então eu baixei um mais antigo e consegui instalar ^^.
Obrigado a todos que responderam, e haa o link para download do módulo que eu usei é esse https://bugs.launchpad.net/ubuntu/+source/linux/+bug/401126/+attachment/1067577/+files/rtl8192se_lin... espero que possa ajudar alguem ^^
Abraços!






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts