...
../src/crypto/tls_openssl.c: In function 'tls_engine_deinit':
../src/crypto/tls_openssl.c:1365:17: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1365 | ENGINE_finish(conn->engine);
| ^~~~~~~~~~~~~
In file included from ../src/crypto/tls_openssl.c:28:
/home/yoki/lede/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/engine.h:628:27: note: declared here
628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e);
| ^~~~~~~~~~~~~
../src/crypto/tls_openssl.c: In function 'tls_engine_get_cert':
../src/crypto/tls_openssl.c:3738:9: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
3738 | if (!ENGINE_ctrl_cmd(conn->engine, "LOAD_CERT_CTRL",
| ^~
In file included from ../src/crypto/tls_openssl.c:28:
/home/yoki/lede/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/engine.h:450:27: note: declared here
450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
| ^~~~~~~~~~~~~~~
/home/yoki/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/hostapd-supplicant-full-internal/hostapd-2022-07-29-b704dc72/build/wpa_supplicant/src/ap/acs.o: in function `acs_request_scan':
acs.c:(.text+0x488): undefined reference to `hostapd_driver_scan'
/home/yoki/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: acs.c:(.text+0x494): undefined reference to `hostapd_driver_scan'
/home/yoki/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/hostapd-supplicant-full-internal/hostapd-2022-07-29-b704dc72/build/wpa_supplicant/src/ap/acs.o: in function `acs_scan_complete':
acs.c:(.text+0x564): undefined reference to `hostapd_disable_iface'
/home/yoki/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: acs.c:(.text+0x570): undefined reference to `hostapd_disable_iface'
/home/yoki/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/hostapd-supplicant-full-internal/hostapd-2022-07-29-b704dc72/build/wpa_supplicant/src/ap/acs.o: in function `acs_init':
acs.c:(.text+0x1198): undefined reference to `hostapd_drv_do_acs'
/home/yoki/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: acs.c:(.text+0x119c): undefined reference to `hostapd_drv_do_acs'
/home/yoki/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: acs.c:(.text+0x11f0): undefined reference to `hostapd_set_state'
/home/yoki/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: acs.c:(.text+0x11fc): undefined reference to `hostapd_set_state'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:2037: wpa_supplicant] Error 1
make[3]: *** [Makefile:790: /home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/hostapd-supplicant-full-internal/hostapd-2022-07-29-b704dc72/.built] Error 2
make[2]: *** [package/Makefile:122: package/network/services/hostapd/compile] Error 1
make[1]: *** [package/Makefile:110: /home/yoki/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make: *** [/home/yoki/lede/include/toplevel.mk:231: world] Error 2