编译rtl8192eu出现 error: ‘IEEE80211_BAND_2GHZ’ undeclared here修改方案
错误一:error: ‘IEEE80211_BAND_5GHZ’ undeclared here (not in a function)
rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/include/../os_dep/linux/ioctl_cfg80211.h:414:27: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function)#define NL80211_BAND_2GHZ IEEE80211_BAND_2GHZ^
错误二:ioctl_cfg80211.h:415:27: error: ‘IEEE80211_BAND_5GHZ’ undeclared here (not in a function)
rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/include/../os_dep/linux/ioctl_cfg80211.h:415:27: error: ‘IEEE80211_BAND_5GHZ’ undeclared here (not in a function)#define NL80211_BAND_5GHZ IEEE80211_BAND_5GHZ^
错误三:ioctl_cfg80211.h:419:27: error: ‘IEEE80211_NUM_BANDS’ undeclared (first use in this function)
rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/include/../os_dep/linux/ioctl_cfg80211.h:419:27: error: ‘IEEE80211_NUM_BANDS’ undeclared (first use in this function)#define NUM_NL80211_BANDS IEEE80211_NUM_BANDS^
错误四:ioctl_cfg80211.c:1025:2: error: too few arguments to function ‘cfg80211_ibss_joined’
rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1025:2: error: too few arguments to function ‘cfg80211_ibss_joined’cfg80211_ibss_joined(padapter->pnetdev, cur_network->network.MacAddress, GFP_ATOMIC);
错误五: ioctl_cfg80211.c:1130:4: error: too many arguments to function ‘cfg80211_roamed’
rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1130:4: error: too many arguments to function ‘cfg80211_roamed’, GFP_ATOMIC);^
错误六:ioctl_cfg80211.c:1141:45: error: ‘struct wireless_dev’ has no member named ‘sme_state’
rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1141:45: error: ‘struct wireless_dev’ has no member named ‘sme_state’RTW_INFO("pwdev->sme_state(b)=%d\n", pwdev->sme_state);^rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1152:45: error: ‘struct wireless_dev’ has no member named ‘sme_state’RTW_INFO("pwdev->sme_state(a)=%d\n", pwdev->sme_state);^rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1207:45: error: ‘struct wireless_dev’ has no member named ‘sme_state’RTW_INFO("pwdev->sme_state(b)=%d\n", pwdev->sme_state);^/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1209:12: error: ‘struct wireless_dev’ has no member named ‘sme_state’if (pwdev->sme_state == CFG80211_SME_CONNECTING) {^
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1209:27: error: ‘CFG80211_SME_CONNECTING’ undeclared (first use in this function)if (pwdev->sme_state == CFG80211_SME_CONNECTING) {^
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1213:19: error: ‘struct wireless_dev’ has no member named ‘sme_state’} else if (pwdev->sme_state == CFG80211_SME_CONNECTED) {^
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1213:34: error: ‘CFG80211_SME_CONNECTED’ undeclared (first use in this function)} else if (pwdev->sme_state == CFG80211_SME_CONNECTED) {^
错误七:ioctl_cfg80211.c:1215:4: error: too few arguments to function ‘cfg80211_disconnected’
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1215:4: error: too few arguments to function ‘cfg80211_disconnected’rtw_cfg80211_disconnected(pwdev, reason, NULL, 0, locally_generated, GFP_ATOMIC);
错误八:ioctl_cfg80211.c:1218:45: error: ‘struct wireless_dev’ has no member named ‘sme_state’
home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1218:45: error: ‘struct wireless_dev’ has no member named ‘sme_state’RTW_INFO("pwdev->sme_state(a)=%d\n", pwdev->sme_state);^
错误九:ioctl_cfg80211.c:2260:20: error: ‘STATION_INFO_SIGNAL’ undeclared (first use in this function)
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:2260:20: error: ‘STATION_INFO_SIGNAL’ undeclared (first use in this function)sinfo->filled |= STATION_INFO_SIGNAL;^
错误十:ioctl_cfg80211.c:2263:20: error: ‘STATION_INFO_TX_BITRATE’ undeclared (first use in this function)
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:2263:20: error: ‘STATION_INFO_TX_BITRATE’ undeclared (first use in this function)sinfo->filled |= STATION_INFO_TX_BITRATE;^
错误十一:ioctl_cfg80211.c:2274:20: error: ‘STATION_INFO_INACTIVE_TIME’ undeclared (first use in this function)
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:2263:20: error: ‘STATION_INFO_TX_BITRATE’ undeclared (first use in this function)sinfo->filled |= STATION_INFO_TX_BITRATE;^
错误十二:ioctl_cfg80211.c:2276:20: error: ‘STATION_INFO_RX_PACKETS’ undeclared (first use in this function)
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:2276:20: error: ‘STATION_INFO_RX_PACKETS’ undeclared (first use in this function)sinfo->filled |= STATION_INFO_RX_PACKETS;^
错误十三:ioctl_cfg80211.c:2278:20: error: ‘STATION_INFO_TX_PACKETS’ undeclared (first use in this function)
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:2278:20: error: ‘STATION_INFO_TX_PACKETS’ undeclared (first use in this function)sinfo->filled |= STATION_INFO_TX_PACKETS;^
错误十四:ioctl_cfg80211.c:2280:20: error: ‘STATION_INFO_TX_FAILED’ undeclared (first use in this function)
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:2280:20: error: ‘STATION_INFO_TX_FAILED’ undeclared (first use in this function)sinfo->filled |= STATION_INFO_TX_FAILED;
错误十五:ioctl_cfg80211.c:2495:4: error: incompatible type for argument 2 of ‘cfg80211_scan_done’
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_scan_done’:
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:2495:4: error: incompatible type for argument 2 of ‘cfg80211_scan_done’cfg80211_scan_done(pwdev_priv->scan_request, aborted);
错误十六:ioctl_cfg80211.c:4322:18: error: ‘STATION_INFO_ASSOC_REQ_IES’ undeclared (first use in this function)
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_sta_assoc’:
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:4322:18: error: ‘STATION_INFO_ASSOC_REQ_IES’ undeclared (first use in this function)sinfo.filled = STATION_INFO_ASSOC_REQ_IES;^
错误十七:ioctl_cfg80211.c:5759:20: error: ‘STATION_INFO_SIGNAL’ undeclared (first use in this function)
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_dump_station’:
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:5759:20: error: ‘STATION_INFO_SIGNAL’ undeclared (first use in this function)sinfo->filled |= STATION_INFO_SIGNAL;^
错误十八:ioctl_cfg80211.c:5761:20: error: ‘STATION_INFO_INACTIVE_TIME’ undeclared (first use in this function)
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:5761:20: error: ‘STATION_INFO_INACTIVE_TIME’ undeclared (first use in this function)sinfo->filled |= STATION_INFO_INACTIVE_TIME;^
错误十九:ioctl_cfg80211.c:9477:18: error: ‘WIPHY_FLAG_SUPPORTS_SCHED_SCAN’ undeclared (first use in this function)
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_preinit_wiphy’:
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:9477:18: error: ‘WIPHY_FLAG_SUPPORTS_SCHED_SCAN’ undeclared (first use in this function)wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;^
错误二十:ioctl_cfg80211.c:9488:16: error: incompatible types when assigning to type ‘const struct wiphy_wowlan_support *’ from type ‘const struct wiphy_wowlan_support’
wiphy->wowlan = wowlan_stub;
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:9488:16: error: incompatible types when assigning to type ‘const struct wiphy_wowlan_support *’ from type ‘const struct wiphy_wowlan_support’wiphy->wowlan = wowlan_stub;^
错误二十一:Compile make driver error: 2
/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:9887:2: warning: (near initialization for ‘rtw_cfg80211_ops.mgmt_tx’) [enabled by default]
make[2]: *** [/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.o] Error 1
make[1]: *** [_module_/home/w1206/RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613/driver/rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-862.el7.x86_64'
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
解决方案
Centos7(3.10.0内核)编译rtl8192EU WiFi driver v5.6.3.1出现 error: ‘IEEE80211_BAND_2GHZ’ undeclared here修改方案_wgl307293845的博客-CSDN博客
编译rtl8192eu出现 error: ‘IEEE80211_BAND_2GHZ’ undeclared here修改方案相关推荐
- Centos7(3.10.0内核)编译rtl8192EU WiFi driver v5.6.3.1出现 error: ‘IEEE80211_NUM_BANDS’ undeclared here修改方案
环境说明 系统:Centos7 (3.10.0) 驱动版本:00014996-RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613.zip ...
- ioctl_cfg80211.c:9477:18: error: ‘WIPHY_FLAG_SUPPORTS_SCHED_SCAN’ undeclared
环境说明 系统:Centos7 (3.10.0) 驱动版本:00014996-RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613.zip ...
- 【c语言 gcc9.1.0环境下编译报错】error: ‘true’ undeclared (first use in this function)
问题 网上验证一个单链表是否有环的c语言demo,放到gcc9.1.0的环境下编译,发现编译报错: error: 'true' undeclared (first use in this functi ...
- 编译内核遇到:error: ‘ovl_v1_fs_type’ undeclared (first use in this function)错误
如遇到如下错误: fs/overlayfs/super.c: In function 'ovl_init': fs/overlayfs/super.c:1331:30: error: 'ovl_v1_ ...
- C语言nullptr错误,编译错误'nullptr'未声明的标识符(Compile error 'nullptr' undeclared identifier)...
编译错误'nullptr'未声明的标识符(Compile error 'nullptr' undeclared identifier) 我打算用Visual Studio 2008 Express编译 ...
- fs/binfmt_aout.c:270: error: 'SEGMENT_SIZE' undeclared
Android主要有6部分 Applications (java) -------------------------------- FrameWork (java) ================ ...
- 关于编译错误 fatal error C1083: Cannot open precompiled header file
今天编译一个比较大的工程时,总是遇到这样的编译错误,想必凡是用过VC6.0做过比较大的程序或者做过MFC开发的朋友都遇到过.错误提示如下,fatal error C1083:Cannot op ...
- 安装nginx时关系依赖库openssl.lib时,出现:error: 'NR_syscalls' undeclared (first use in this function)
安装nginx时关系依赖库openssl.lib时,出现:error: 'NR_syscalls' undeclared (first use in this function) 解决方案:根据arc ...
- /phalcon.zep.c:130892: error: ‘ZEND_FE_END’ undeclared here (not in a function)
/phalcon.zep.c:130892: error: 'ZEND_FE_END' undeclared here (not in a function) 因为centos6.5上的最新php版本 ...
最新文章
- 深入浅出谈以太坊智能合约
- python 调用函数 开销_减少python中的函数调用开销
- multisim变压器反馈式_变压器的分类及特点
- Android Jetpack 组件之 Lifecycle使用
- Source Insight 格式化
- 自主云服务器处理器_云服务器哪家的CPU最便宜且好用
- java高级断言_Java之断言
- win10打字突然变成繁体
- Boole‘s,Doob‘s inequality,中心极限定理Central Limit Theorem,Kolmogorov extension theorem, Lebesgue‘s domin
- (3)[wp7数据存储] WP7 IsolatedStorage系列篇——通过XmlSerializer读写XML文件 [复制链接]...
- python2和python3解释器的区别
- java 向上舍入_介绍Java的大数类(BigDecimal)和八种舍入模式
- 聚类分析软件测试,基于复杂网络的软件测试路径聚类分析-计算机工程与应用.PDF...
- 【AI视野·今日NLP 自然语言处理论文速览 第三十三期】Thu, 21 Apr 2022
- pwnable.kr之mistake
- 惠普g7服务器硬盘阵列,HP DL388 G7 服务器重新做RAID
- 专访闪能申论凌青:学会申论应试五大力,轻松碾压对手
- java字符串转16进制
- 论文的引言要写什么?
- Kafka| 下载与安装
热门文章
- 数字图像处理之在matlab中做彩色图像的加减乘除
- python爬虫requests源码链家_Python 爬虫 链家二手房(自行输入城市爬取)
- (折扣计算)需求说明:普通顾客购物满100元打9折;会员购物打8折;会员购物满200元打7.5折(判断语句if-else和switch语句的嵌套结...
- 35岁了,程序员真的找不到工作了
- PATbasic1009详解
- 空间计量截面数据的模型选择问题与matlab麻瓜都会用的代码,妈妈在也不用担心我不知道选空间滞后、空间误差、还是空间杜宾了
- 西南大学网络实现路由器WIFI共享方案(一号多用户共享)
- 面向对象(Oriented Object Programing)的本质
- 练习:1055兔子繁殖问题
- 调研发现:外企最关注员工心理健康,私企对财务健康投资最大,国企更关注员工职业和社会健康 | 美通社头条...