无线卡Realtek RTL8723AE-BT驱动程序无法在Quetzal上编译

你好,我按照这个答案的说明,但在make命令我得到了这个:

 $ make make -C /lib/modules/3.5.0-17-generic/build M=/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012 modules make[1]: Entering directory `/usr/src/linux-headers-3.5.0-17-generic' CC [M] /home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o /home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c: In function '_rtl_init_mac80211': /home/ubuntu/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/ubuntu/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 make[2]: *** [/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o] Error 1 make[1]: *** [_module_/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-17-generic' make: *** [all] Error 2 ubuntu@ubuntu:~/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012$ sudo make install make -C /lib/modules/3.5.0-17-generic/build M=/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012 modules make[1]: Entering directory `/usr/src/linux-headers-3.5.0-17-generic' CC [M] /home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o /home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c: In function '_rtl_init_mac80211': /home/ubuntu/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/ubuntu/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 make[2]: *** [/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o] Error 1 make[1]: *** [_module_/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-17-generic' make: *** [all] Error 2 

请帮我解决一下,谢谢。

由Oxwivi添加,也面临同样的问题:

我也按照说明操作,他们在Precise上完美地工作,没有一个错误。 我已经编辑了这个问题,并且除了改进问题的格式外,还将Quetzal添加到问题和标签中。

谢谢你的理解。

升级到12.10后我遇到了同样的问题。 我从最初的问题中听到了这个答案 ,并且它有效:

评论/删除IEEE80211_HW_BEACON_FILTERIEEE80211_HW_BEACON_FILTER第320 base.c )[…]

🙂

评论出IEEE80211_HW_BEACON_FILTER并不适用于我。 尝试编译驱动程序时仍然遇到同样的问题(问题中提到的Error2)。

最终做得很好的是,使用最新的稳定Linux内核(我使用3.8.2,今天发布了3.8.3)来自https://www.kernel.org/,如下所述: http://forums.opensuse .org / english / get-technical-help-here / wireless / 477285-rtl8723ae-realtek-wirless-driver-hell-3.html#post2494079 。 从版本3.8.0开始,RTL8723ae的驱动程序包含在Linux内核中。

没有Ubuntu存储库,因此您必须编译(但不要跳过配置…)内核。 make oldconfig通常应该正常工作(它读取旧的内核配置文件并询问新的符号)。 有关更多详细信息,请参阅内核自述文件。 请注意编译完整内核可能非常耗时(在我的Intel i3 Dualcore @ 2.1 GHz笔记本电脑上大约1.5小时)。

无线适配器在重新启动后工作正常,除了由于连接质量差导致的一些轻微断开(但重新连接比使用Ubuntu 12.4的Dropbox驱动程序更快)。