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

Koen Vandeputte koen.vandeputte at citymesh.com
Wed Jan 10 02:53:21 PST 2024


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:


/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



More information about the Hostap mailing list