Problema ao construir um driver rtl8723

0

Todos nós conhecemos os problemas com RTL8723 wireless card e algumas pessoas conseguiram instalar, mas não consigo. Eu tenho o Ubuntu 12.10. Quando eu faço o terminal make in, isso me dá esse erro

make -C /lib/modules/3.8.0-37-generic/build M=/home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012 modules
make[1]: Entering directory '/usr/src/linux-headers-3.8.0-37-generic'
CC [M]  /home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o
In file included from /home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:39:0:
/home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/pci.h:245:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’
/home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c: In function ‘_rtl_init_mac80211’:
/home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:320:6: error: ‘IEEE80211_HW_BEACON_FILTER’ undeclared (first use in this function)
/home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:320:6: note: each undeclared identifier is reported only once for each function it appears in
/home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c: In function ‘rtl_action_proc’:
/home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:870:25: error: ‘RX_FLAG_MACTIME_MPDU’ undeclared (first use in this function)
/home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c: In function ‘rtl_send_smps_action’:
/home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:1432:16: error: ‘struct <anonymous>’ has no member named ‘sta’
make[2]: *** [/home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o] Error 1
make[1]: *** [_module_/home/adrian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.8.0-37-generic'
make: *** [all] Error 2
    
por user259896 19.03.2014 / 14:48

1 resposta

0

eu tive o mesmo problema, a correção foi simples, apenas atualize o kernel você precisa da última versão do kernel eu sugiro 3.12

  1. Clique aqui: link
  2. Baixe 3 (talvez 4) debs para uma pasta em algum lugar:

linux-headers-VERSION-NUMBER_all.deb

linux-headers-VERSION-NUMBER_amd64.deb

linux-image-VERSION-NUMBER_amd64.deb

linux-image-extra-VERSION-NUMBER_amd64.deb # se disponível

3.Instale os debs com o gerenciador de pacotes front-end que você usa (o gdebi ainda está por aí?), ou use estes comandos:

cd / caminho / para / pasta / onde / você / colocar / o / debs

sudo dpkg -i * .deb

    
por byaruhaf 19.03.2014 / 15:15