嵌入式爱好者

查看: 14637|回复: 2

[Linux] make menuconfig问题

[复制链接]

17

主题

42

帖子

141

积分

A40i/T3/T507/T527通行证

扫一扫,手机访问本帖
发表于 2021-7-9 16:01:16 | 显示全部楼层 |阅读模式
使用make menuconfig去掉了wifi cfg8011,再执行内核编译报错:
ERROR: "cfg80211_del_sta" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_mgmt_tx_status" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "wiphy_apply_custom_regulatory" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "ieee80211_frequency_to_channel" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_rx_mgmt" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_new_sta" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_connect_result" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_unlink_bss" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "wiphy_new" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_put_bss" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_roamed" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_scan_done" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_ibss_joined" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_michael_mic_failure" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_disconnected" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_get_bss" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_inform_bss_frame" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "wiphy_free" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "__ieee80211_get_channel" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_ready_on_channel" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "wiphy_unregister" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "cfg80211_remain_on_channel_expired" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "wiphy_register" [drivers/net/wireless/rtl8723bu/8723bu.ko] undefined!
ERROR: "wiphy_free" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_unlink_bss" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "ieee80211_frequency_to_channel" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_inform_bss_frame" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_rx_mgmt" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_del_sta" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_mgmt_tx_status" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "__ieee80211_get_channel" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_get_bss" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "wiphy_unregister" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_connect_result" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_michael_mic_failure" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "wiphy_apply_custom_regulatory" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_ibss_joined" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_roamed" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_put_bss" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "wiphy_new" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "wiphy_register" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_ready_on_channel" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_disconnected" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_new_sta" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_remain_on_channel_expired" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "cfg80211_scan_done" [drivers/net/wireless/rtl8189es/8189es.ko] undefined!
ERROR: "wiphy_free" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "ieee80211_frequency_to_channel" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_inform_bss_frame" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_rx_mgmt" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_del_sta" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_mgmt_tx_status" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "__ieee80211_get_channel" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_get_bss" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "wiphy_unregister" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_connect_result" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_michael_mic_failure" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "wiphy_apply_custom_regulatory" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_ibss_joined" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_roamed" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_put_bss" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "wiphy_new" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "wiphy_register" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_ready_on_channel" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_disconnected" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_new_sta" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_remain_on_channel_expired" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
ERROR: "cfg80211_scan_done" [drivers/net/wireless/rtl8188eu/8188eu.ko] undefined!
/home/forlinx/workspace/allwinner/A40i/bsp/lichee123/linux-3.10/scripts/Makefile.modpost:88: recipe for target '__modpost' failed
make[1]: *** [__modpost] Error 1
Makefile:948: recipe for target 'modules' failed
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
  AS      arch/arm/boot/compressed/piggy.gzip.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
Image Name:   Linux-3.10.65
Created:      Fri Jul  9 15:59:59 2021


麻烦问一下,如果我想去掉wifi模块,应该如何操作?

回复

使用道具 举报

0

主题

1173

帖子

2203

积分

发表于 2021-7-9 16:35:59 | 显示全部楼层
首先您应该执行make menuconfig ARCH=arm,其次我们用的wifi芯片是8723bu,不是8011,
您去掉驱动后需要去掉设备树和配置文件里的配置,以及文件系统里相关的内容

点评

好的谢谢,麻烦问一下,这块有没有相关指导手册?比如实例之类的。  详情 回复 发表于 2021-7-9 17:17
点评回复 支持 反对

使用道具 举报

17

主题

42

帖子

141

积分

A40i/T3/T507/T527通行证

 楼主| 发表于 2021-7-9 17:17:59 | 显示全部楼层
zhichao 发表于 2021-7-9 16:35
首先您应该执行make menuconfig ARCH=arm,其次我们用的wifi芯片是8723bu,不是8011,
您去掉驱动后需要去 ...

好的谢谢,麻烦问一下,这块有没有相关指导手册?比如实例之类的。
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2025-1-9 05:49

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表