[OpenWrt-Devel] Build failure ath10k-CT without mac80211 debug

Koen Vandeputte koen.vandeputte at ncentric.com
Fri May 18 05:34:07 EDT 2018


Hi Ben,

I'm trying to build todays OpenWrt master with following options:
- ath10k-ct
- qca988x-ct-htt


When disabling this option (CONFIG_PACKAGE_MAC80211_DEBUGFS),  I'm 
getting the build errors below.

Is it *really* required to have this enabled for the driver to function 
properly?
Is there a possibility to disable the status counters updates below 
using an #ifdef or so when above option is disabled?

I want to disable all the internal mac80211 debug stuff in order to save 
precious cpu cycles (hardware: rb911G-5HPacD,  single core arm 600Mhz,  [1])


Thanks again,

Koen

[1] : https://mikrotik.com/product/RB911G-5HPacD



make[4]: Entering directory 
'/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/linux-4.9.100'
   CC [M] 
/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.o
In file included from 
/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/core.h:32:0,
                  from 
/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.c:18:
/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/wmi.h:7081:2: 
warning: #warning Please enable ATH10K-DEBUGFS kernel option for optimal 
support for CT firmware. [-Wcpp]
  #warning Please enable ATH10K-DEBUGFS kernel option for optimal 
support for CT firmware.
   ^~~~~~~
/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.c: 
In function 'ath10k_unchain_msdu':
/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.c:1561:5: 
error: 'struct ath10k' has no member named 'debug'
    ar->debug.rx_drop_unchain_oom++;
      ^~
/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.c: 
In function 'ath10k_htt_rx_h_unchain':
/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.c:1598:5: 
error: 'struct ath10k' has no member named 'debug'
    ar->debug.rx_drop_decap_non_raw_chained++;
      ^~
/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.c: 
In function 'ath10k_htt_rx_amsdu_allowed':
/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.c:1616:5: 
error: 'struct ath10k' has no member named 'debug'
    ar->debug.rx_drop_no_freq++;
      ^~
/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.c:1622:5: 
error: 'struct ath10k' has no member named 'debug'
    ar->debug.rx_drop_cac_running++;
      ^~
scripts/Makefile.build:293: recipe for target 
'/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.o' 
failed
make[5]: *** 
[/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.o] 
Error 1
Makefile:1506: recipe for target 
'_module_/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13' 
failed
make[4]: *** 
[_module_/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13] 
Error 2
make[4]: Leaving directory 
'/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/linux-4.9.100'
Makefile:96: recipe for target 
'/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/.built' 
failed
make[3]: *** 
[/mnt/ramdisk/koen/firmware/builds/generic_rb912/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2018-03-16-30827f7d/.built] 
Error 2
make[3]: Leaving directory 
'/mnt/ramdisk/koen/firmware/builds/generic_rb912/package/kernel/ath10k-ct'
Command exited with non-zero status 2
time: package/kernel/ath10k-ct/compile#0.73#0.24#1.55
package/Makefile:107: recipe for target 
'package/kernel/ath10k-ct/compile' failed
make[2]: *** [package/kernel/ath10k-ct/compile] Error 2
make[2]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_rb912'
package/Makefile:103: recipe for target 
'/mnt/ramdisk/koen/firmware/builds/generic_rb912/staging_dir/target-mips_24kc_musl/stamp/.package_compile' 
failed
make[1]: *** 
[/mnt/ramdisk/koen/firmware/builds/generic_rb912/staging_dir/target-mips_24kc_musl/stamp/.package_compile] 
Error 2
make[1]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_rb912'
/mnt/ramdisk/koen/firmware/builds/generic_rb912/include/toplevel.mk:216: 
recipe for target 'world' failed
make: *** [world] Error 2





_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
http://lists.infradead.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list