R329编译XR819S WiFi模组驱动错误
-
R329编译XR819S WiFi模组驱动错误
CC drivers/net/wireless/xr819s/umac/main.o In file included from ./drivers/net/wireless/xr819s/include/net/mac80211.h:22:0, from drivers/net/wireless/xr819s/umac/main.c:11: ./drivers/net/wireless/xr819s/include/net/cfg80211.h:616:24: error: field 'mode' has incomplete type enum nl80211_key_mode mode; ^~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h:654:26: error: field 'noack' has incomplete type enum nl80211_tid_config noack; ^~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h:3122:36: error: field 'action' has incomplete type enum nl80211_external_auth_action action; ^~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h:3213:52: error: field 'failure_reason' has incomplete type enum nl80211_peer_measurement_ftm_failure_reasons failure_reason; ^~~~~~~~~~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h:3260:39: error: field 'status' has incomplete type enum nl80211_peer_measurement_status status; ^~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h:3267:37: error: field 'type' has incomplete type enum nl80211_peer_measurement_type type; ^~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h:3290:24: error: field 'preamble' has incomplete type enum nl80211_preamble preamble; ^~~~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h: In function 'cfg80211_channel_is_psc': ./drivers/net/wireless/xr819s/include/net/cfg80211.h:5246:20: error: 'NL80211_BAND_6GHZ' undeclared (first use in this function) if (chan->band != NL80211_BAND_6GHZ) ^~~~~~~~~~~~~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h:5246:20: note: each undeclared identifier is reported only once for each function it appears in ./drivers/net/wireless/xr819s/include/net/cfg80211.h: In function 'cfg80211_gen_new_bssid': ./drivers/net/wireless/xr819s/include/net/cfg80211.h:5915:18: error: implicit declaration of function 'ether_addr_to_u64' [-Werror=implicit-function-declaration] u64 bssid_u64 = ether_addr_to_u64(bssid); ^~~~~~~~~~~~~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h:5923:2: error: implicit declaration of function 'u64_to_ether_addr' [-Werror=implicit-function-declaration] u64_to_ether_addr(new_bssid_u64, new_bssid); ^~~~~~~~~~~~~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h: At top level: ./drivers/net/wireless/xr819s/include/net/cfg80211.h:6640:30: error: field 'timeout_reason' has incomplete type enum nl80211_timeout_reason timeout_reason; ^~~~~~~~~~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h:6704:36: error: parameter 10 ('timeout_reason') has incomplete type enum nl80211_timeout_reason timeout_reason) ^~~~~~~~~~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h:6700:1: error: function declaration isn't a prototype [-Werror=strict-prototypes] cfg80211_connect_bss(struct net_device *dev, const u8 *bssid, ^~~~~~~~~~~~~~~~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h: In function 'cfg80211_connect_result': ./drivers/net/wireless/xr819s/include/net/cfg80211.h:6749:9: error: 'NL80211_TIMEOUT_UNSPECIFIED' undeclared (first use in this function) NL80211_TIMEOUT_UNSPECIFIED); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h: At top level: ./drivers/net/wireless/xr819s/include/net/cfg80211.h:6773:33: error: parameter 6 ('timeout_reason') has incomplete type enum nl80211_timeout_reason timeout_reason) ^~~~~~~~~~~~~~ ./drivers/net/wireless/xr819s/include/net/cfg80211.h:6771:1: error: function declaration isn't a prototype [-Werror=strict-prototypes] cfg80211_connect_timeout(struct net_device *dev, const u8 *bssid, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/xr819s/umac/ieee80211_i.h:34:0, from drivers/net/wireless/xr819s/umac/main.c:34: drivers/net/wireless/xr819s/umac/key.h:17:25: fatal error: crypto/arc4.h: No such file or directory #include <crypto/arc4.h> ^ cc1: some warnings being treated as errors compilation terminated. make[9]: *** [scripts/Makefile.build:335: drivers/net/wireless/xr819s/umac/main.o] Error 1 make[8]: *** [scripts/Makefile.build:648: drivers/net/wireless/xr819s] Error 2 make[7]: *** [scripts/Makefile.build:648: drivers/net/wireless] Error 2 make[6]: *** [scripts/Makefile.build:648: drivers/net] Error 2 make[5]: *** [Makefile:1092: drivers] Error 2 make[5]: Leaving directory '/home/ubuntu/R329-Tina/lichee/linux-4.9' make[4]: *** [Makefile:32: /home/ubuntu/R329-Tina/out/r329-evb5_pro_v1/compile_dir/target/linux-r329-evb5_pro_v1/linux-4.9.191/.image] Error 2 make[4]: Leaving directory '/home/ubuntu/R329-Tina/target/allwinner/r329-evb5_pro_v1' make[3]: *** [Makefile:13: install] Error 2 make[3]: Leaving directory '/home/ubuntu/R329-Tina/target/allwinner' make[2]: *** [target/Makefile:22: target/allwinner/install] Error 2 make[2]: Leaving directory '/home/ubuntu/R329-Tina' make[1]: *** [target/Makefile:17: /home/ubuntu/R329-Tina/out/r329-evb5_pro_v1/staging_dir/target/stamp/.target_install] Error 2 make[1]: Leaving directory '/home/ubuntu/R329-Tina' make: *** [/home/ubuntu/R329-Tina/build/toplevel.mk:306:world] 错误 2 #### make failed to build some targets (40 seconds) ####
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号