环境说明

系统:Centos7 (3.10.0)

驱动版本:00014996-RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613.zip

网卡:Realtek RTL8192EU

错误log

/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;^

解决方案

修改ioctl_cfg80211.c文件

 #if defined(CONFIG_PM) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 0))
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 11, 0))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)) //change by wellnw 20211213wiphy->wowlan = wowlan_stub;#elsewiphy->wowlan = &wowlan_stub;

驱动完整修改链接

Centos7(3.10.0内核)编译rtl8192EU WiFi driver v5.6.3.1出现 error: ‘IEEE80211_NUM_BANDS’ undeclared here修改方案_wgl307293845的博客-CSDN博客

error: incompatible types when assigning to type ‘const struct wiphy_wowlan_support‘相关推荐

  1. C: error: incompatible types when initializing type ‘int’ using type ‘atomic_t’ {aka ‘struct <anonym

    typedef.c:17:10: error: incompatible types when initializing type 'int' using type 'atomic_t' {aka ' ...

  2. 使用Process运行程序提示error: incompatible types: java.lang.Process cannot be converted to android.os.Proces

    一.在android framework sevice里面 添加下面的代码,使用Process  java中运行第三方程序,编译的时候提示 error: incompatible types: jav ...

  3. Go 接口实现原理【高阶篇】: type _interface struct

    Go 接口实现原理[高阶篇]: type _interface struct The Internal Definition Of Interface Types https://www.tapirg ...

  4. error: invalid initialization of reference of type ‘std::string’ from expression of type ‘const s

    error: invalid initialization of reference of type 'std::string&' from expression of type 'const ...

  5. error: invalid new-expression of abstract class type 'Rectangle'

    class GeometricObject { --virtual bool hit(const Ray& ray, double& t, ShadeRec& s) const ...

  6. 【Java】- Incompatible types. Found: java. lang. String', required:' byte, char, short or int'

    IDEA项目编译报错:Incompatible types. Found: java. lang. String', required:' byte, char, short or int',swit ...

  7. 解决C/C++报错error: cannot pass objects of non-trivially-copyable type ‘std::string’问题

    目录 1.问题描述 2.原因分析 3.解决方法 1.问题描述 运行程序时,编译报错: error: cannot pass objects of non-trivially-copyable type ...

  8. error: conflicting types for xxx in c

    一.问题描述 #include <stdio.h>#define MAXLINE 1000/* maximum input line length */ int getline(char ...

  9. 【ros2订阅报错】 ros2 forming pointer to reference type ‘const std::shared_ptr<const sensor_msgs::msg::Las

    这里写自定义目录标题 使用ROS2创建发布者 使用ROS2创建发布者 在创建发布者的时候,出现,如下问题,经过修改cmakeList发现并不是cmake版本问题. ··· /usr/include/c ...

最新文章

  1. 编译linux内核报错‘make menuconfig‘ requires the ncurses libraries
  2. Python for循环本质
  3. python怎么退出调试模式_python – 在验尸调试时如何退出ipdb?
  4. 数博会重磅活动:第三届大数据科学与工程国际会议日程
  5. java项目 js报错红叉,解决js红叉,java Resources红叉
  6. 同程旅行王晓波:同程凤凰缓存系统在基于 Redis 方面的设计与实践(上篇)
  7. 应用程序分别从SSRS2005和SSRS2008获取报表列表的方法差异
  8. Word 2007批注及批注者姓名修改技巧
  9. 网和aoe网的区别_【专定网】你知道到亚克力鱼缸与超白缸的区别吗?测评结果给你答案...
  10. Linex系统 配置php服务器
  11. Redis的DMS管理工具treeNms
  12. MySQL练习题及答案(图书管理数据库)
  13. 基于Java+SpringBoot+vue+elementui农产品物流系统详细设计实现
  14. 均线颜色怎么区分_股票均线颜色
  15. ctf中对于rar压缩包的暴力破解问题
  16. java之成员变量(实例成员变量和静态成员变量)
  17. XLSReadWriteII 读取EXCEL数据 动态响应字段的列编号
  18. Hashcat 使用教程
  19. “apt-get update”命令
  20. QNAP NAS SSH 下如何 重置网络与虚拟交换机

热门文章

  1. Python-分类问题示例-OneR-学习笔记
  2. Prompt是什么意思?
  3. 春节快乐,iPhone11 抱回家!
  4. 名帖289 董其昌 行书《千字文》
  5. 给定C语言数据结构,给定C语言的数据结构struct T { int w; union T { char c;int i;double d;)U; };...
  6. 活法 - 第五章 宇宙潮涌 因果之法
  7. 为什么说线上教育是未来的趋势?
  8. Linux下CAN总线通信调试记录
  9. 去年做路由器的那帮兄弟都去哪儿了?
  10. Visual C++ 2008入门经典 Ivor Horton(书_在线阅读)