Build regression since commit ceb7f65dc (Allow simple bgscan to do BTM queries)

Ben Greear greearb at candelatech.com
Wed Jan 10 06:55:46 PST 2024


On 1/10/24 2:53 AM, Koen Vandeputte wrote:
> Hi Ben,
> 
> Just noticed your commit:  ceb7f65dc bgscan: ("Allow simple bgscan to
> do BTM queries")
> which uses function  wnm_send_bss_transition_mgmt_query().
> 
> Looks like this function is not available if CONFIG_MBO is not set:

Chien Wong posted a patch that may fix this on 1/5/24 "[PATCH] build: bgscan_simple depends on WNM",
can you see if that resolves the issue?

Thanks,
Ben

> 
> 
> /home/koen/firmware/builds/generic_rb922/staging_dir/toolchain-mips_24kc_gcc-12.3.0_musl/lib/gcc/mips-openwrt-linux-musl/12.3.0/../../../../mips-openwrt-linux-musl/bin/ld.bfd:
> /home/koen/firmware/builds/generic_rb922/tmp/ccPoekjj.ltrans5.ltrans.o:
> in function `bgscan_simple_timeout':
> <artificial>:(.text+0x35ea): undefined reference to
> `wnm_send_bss_transition_mgmt_query'
> collect2: error: ld returned 1 exit status
> make[4]: *** [Makefile:2111: wpa_supplicant] Error 1
> make[4]: Leaving directory
> '/home/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/hostapd-supplicant-basic/hostapd-2024-01-08-064c233d/wpa_supplicant'
> make[3]: *** [Makefile:817:
> /home/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/hostapd-supplicant-basic/hostapd-2024-01-08-064c233d/.built]
> Error 2
> make[3]: Leaving directory
> '/home/koen/firmware/builds/generic_rb922/package/network/services/hostapd'
> time: package/network/services/hostapd/supplicant-basic/compile#19.33#0.89#5.23
>      ERROR: package/network/services/hostapd failed to build (build
> variant: supplicant-basic).
> make[2]: *** [package/Makefile:131:
> package/network/services/hostapd/compile] Error 1
> make[2]: Leaving directory '/home/koen/firmware/builds/generic_rb922'
> make[1]: *** [package/Makefile:122:
> /home/koen/firmware/builds/generic_rb922/staging_dir/target-mips_24kc_musl/stamp/.package_compile]
> Error 2
> make[1]: Leaving directory '/home/koen/firmware/builds/generic_rb922'
> make: *** [/home/koen/firmware/builds/generic_rb922/include/toplevel.mk:232:
> world] Error 2
> 
> Regards,
> 
> Koen
> 


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Hostap mailing list