首页 新闻 搜索 专区 学院

CentOS7在安装Tenda的U12 usb无线网卡驱动时报错

0
[待解决问题]

U12驱动官方下载:http://wifi.tenda.com.cn/

 

 我的CentOS7内核:

3.10.0-862.9.1.el7.x86_64(满足2.6.18~4.4内核

在执行make命令时报错:

由于字数限制,详细信息:链接https://pan.baidu.com/s/1DQsJyRuLPDxlwBLc2S39Aw 密码:tcrj

关键错误信息:

/root/U12_linux_v5.1.5_19247.20160830/driver/rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/ioctl_cfg80211.c:87:13: 错误:‘IEEE80211_BAND_2GHZ’未声明(不在函数内)
   .band   = IEEE80211_BAND_2GHZ,  \
             ^
/root/U12_linux_v5.1.5_19247.20160830/driver/rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/ioctl_cfg80211.c:145:2: 附注:in expansion of macro ‘CHAN2G’
  CHAN2G(1, 2412, 0),
  ^
/root/U12_linux_v5.1.5_19247.20160830/driver/rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/ioctl_cfg80211.c:96:13: 错误:‘IEEE80211_BAND_5GHZ’未声明(不在函数内)
   .band   = IEEE80211_BAND_5GHZ,  \
             ^
/root/U12_linux_v5.1.5_19247.20160830/driver/rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/ioctl_cfg80211.c:162:2: 附注:in expansion of macro ‘CHAN5G’
  CHAN5G(34, 0),  CHAN5G(36, 0),
  ^
/root/U12_linux_v5.1.5_19247.20160830/driver/rtl8812AU_linux_v5.1.5_19247.20160830/os_dep/linux/ioctl_cfg80211.c:162:2: 错误:初始值设定元素不是常量
feiquan的主页 feiquan | 菜鸟二级 | 园豆:214
提问于:2018-07-19 00:24
< >
分享
所有回答(1)
0

解决方法:http://www.cnblogs.com/feiquan/p/9333719.html

feiquan | 园豆:214 (菜鸟二级) | 2018-07-22 00:21
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册