在linux下编译无线网卡驱动出错,rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405

创新驱动世界 2015-07-22 03:20:06
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:1881: warning: 'struct cfg80211_pmksa' declared inside parameter list
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:1881: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:1894: warning: 'struct cfg80211_pmksa' declared inside parameter list
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c: In function 'cfg80211_rtw_flush_pmksa':
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:1910: error: storage size of 'pmksa' isn't known
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:1914: error: invalid application of 'sizeof' to incomplete type 'struct cfg80211_pmksa'
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c: At top level:
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:2206: error: unknown field 'set_pmksa' specified in initializer
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:2206: warning: excess elements in struct initializer
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:2206: warning: (near initialization for 'rtw_cfg80211_ops')
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:2207: error: unknown field 'del_pmksa' specified in initializer
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:2207: warning: excess elements in struct initializer
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:2207: warning: (near initialization for 'rtw_cfg80211_ops')
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:2208: error: unknown field 'flush_pmksa' specified in initializer
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:2208: warning: excess elements in struct initializer
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:2208: warning: (near initialization for 'rtw_cfg80211_ops')
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c: In function 'rtw_cfg80211_preinit_wiphy':
drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.c:2293: error: 'struct wiphy' has no member named 'max_num_pmkids'
make[4]: *** [drivers/net/wireless/8712u/os_dep/linux/ioctl_cfg80211.o] Error 1
make[3]: *** [drivers/net/wireless/8712u] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
...全文
546 点赞 收藏 3
写回复
3 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
Creator_莫言 2016-04-13
rtl8188需要内核支持80211的一些配置,menuconfig有没有添加这些配置?
回复
qq_27115925 2016-04-06
我也是这个问题,我是CentOS6.7
回复
wbj_ake 2015-07-24
这是纯编译的错误,问问Realtek提供的驱动代码是不是有问题。
回复
相关推荐
发帖
驱动开发/核心开发
创建于2007-09-28

2.1w+

社区成员

硬件/嵌入开发 驱动开发/核心开发
申请成为版主
帖子事件
创建了帖子
2015-07-22 03:20
社区公告
暂无公告