Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hostapd #22

Open
jessehoo89 opened this issue Oct 18, 2024 · 1 comment
Open

hostapd #22

jessehoo89 opened this issue Oct 18, 2024 · 1 comment

Comments

@jessehoo89
Copy link

jessehoo89 commented Oct 18, 2024

hostapd编译失败
make[4]: Entering directory '/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/hostapd' aarch64-openwrt-linux-musl-gcc -c -o /home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/build/hostapd/src/ap/hostapd.o -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libnl-tiny -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src/crypto -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/usr/include -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/include -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/include/fortify -DCONFIG_LIBNL20 -D_GNU_SOURCE -DCONFIG_MSG_MIN_PRIORITY=3 -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0=hostapd-2024.09.15~5ace39b0 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -DPIC -fPIC -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src/utils -DHOSTAPD -DCONFIG_ELOOP_EPOLL -DUBUS_SUPPORT -DUCODE_SUPPORT -DCONFIG_NO_RADIUS -DCONFIG_NO_ACCOUNTING -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_CTRL_IFACE -DCONFIG_RSN_PREAUTH -DCONFIG_OCV -DCONFIG_IEEE80211R -DCONFIG_IEEE80211R_AP -DCONFIG_ETH_P_OUI -DCONFIG_SAE -DCONFIG_OWE -DCONFIG_AIRTIME_POLICY -DCONFIG_MBO -DCONFIG_DRIVER_WIRED -DCONFIG_DRIVER_NL80211 -DCONFIG_DRIVER_WIRED -DCONFIG_DRIVER_NL80211 -DEAP_SERVER_IDENTITY -DCONFIG_TLS_MBEDTLS -DCRYPTO_RSA_OAEP_SHA256 -DCONFIG_SHA256 -DCONFIG_HMAC_SHA256_KDF -DCONFIG_HMAC_SHA384_KDF -DCONFIG_HMAC_SHA512_KDF -DCONFIG_SHA384 -DCONFIG_SHA512 -DCONFIG_ECC -DCONFIG_NO_RANDOM_POOL -DNEED_AP_MLME -DCONFIG_ACS -DCONFIG_DEBUG_SYSLOG -DCONFIG_APUP -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libnl-tiny -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src/crypto -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/usr/include -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/include -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/include/fortify -DCONFIG_LIBNL20 -D_GNU_SOURCE -DCONFIG_MSG_MIN_PRIORITY=3 -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src/utils -DCONFIG_ELOOP_EPOLL -DUBUS_SUPPORT -DUCODE_SUPPORT -DCONFIG_HT_OVERRIDES -DCONFIG_VHT_OVERRIDES -DCONFIG_BACKEND_FILE -DCONFIG_NO_CONFIG_WRITE -DCONFIG_OCV -DCONFIG_IEEE80211R -DCONFIG_SAE -DCONFIG_OWE -DCONFIG_WNM -DCONFIG_DRIVER_WIRED -DCONFIG_DRIVER_NL80211 -DCONFIG_MBO -DCONFIG_ACS -DCONFIG_TLS_MBEDTLS -DCRYPTO_RSA_OAEP_SHA256 -DCONFIG_SHA256 -DCONFIG_HMAC_SHA256_KDF -DCONFIG_HMAC_SHA384_KDF -DCONFIG_HMAC_SHA512_KDF -DCONFIG_SHA384 -DCONFIG_SHA512 -DCONFIG_ECC -DCONFIG_NO_RANDOM_POOL -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_NO_LINUX_PACKET_SOCKET_WAR -DCONFIG_SME -DCONFIG_DEBUG_SYSLOG -DLOG_HOSTAPD=LOG_DAEMON -DCONFIG_GAS -DCONFIG_OFFCHANNEL ../src/ap/hostapd.c ../src/ap/hostapd.c: In function 'hostapd_fill_csa_settings': ../src/ap/hostapd.c:4515:27: error: 'struct hostapd_config' has no member named 'he_mu_edca' 4515 | hapd->iface->conf->he_mu_edca.he_qos_info &= 0xfff0; | ^~ make[4]: *** [../src/build.rules:87: /home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/build/hostapd/src/ap/hostapd.o] Error 1 make[4]: Leaving directory '/home/runner/work/openwrt-autobuild/op

@ZT229
Copy link

ZT229 commented Oct 22, 2024

hostapd编译失败 make[4]: Entering directory '/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/hostapd' aarch64-openwrt-linux-musl-gcc -c -o /home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/build/hostapd/src/ap/hostapd.o -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libnl-tiny -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src/crypto -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/usr/include -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/include -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/include/fortify -DCONFIG_LIBNL20 -D_GNU_SOURCE -DCONFIG_MSG_MIN_PRIORITY=3 -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0=hostapd-2024.09.15~5ace39b0 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -DPIC -fPIC -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src/utils -DHOSTAPD -DCONFIG_ELOOP_EPOLL -DUBUS_SUPPORT -DUCODE_SUPPORT -DCONFIG_NO_RADIUS -DCONFIG_NO_ACCOUNTING -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_CTRL_IFACE -DCONFIG_RSN_PREAUTH -DCONFIG_OCV -DCONFIG_IEEE80211R -DCONFIG_IEEE80211R_AP -DCONFIG_ETH_P_OUI -DCONFIG_SAE -DCONFIG_OWE -DCONFIG_AIRTIME_POLICY -DCONFIG_MBO -DCONFIG_DRIVER_WIRED -DCONFIG_DRIVER_NL80211 -DCONFIG_DRIVER_WIRED -DCONFIG_DRIVER_NL80211 -DEAP_SERVER_IDENTITY -DCONFIG_TLS_MBEDTLS -DCRYPTO_RSA_OAEP_SHA256 -DCONFIG_SHA256 -DCONFIG_HMAC_SHA256_KDF -DCONFIG_HMAC_SHA384_KDF -DCONFIG_HMAC_SHA512_KDF -DCONFIG_SHA384 -DCONFIG_SHA512 -DCONFIG_ECC -DCONFIG_NO_RANDOM_POOL -DNEED_AP_MLME -DCONFIG_ACS -DCONFIG_DEBUG_SYSLOG -DCONFIG_APUP -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libnl-tiny -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src/crypto -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/usr/include -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/include -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/include/fortify -DCONFIG_LIBNL20 -D_GNU_SOURCE -DCONFIG_MSG_MIN_PRIORITY=3 -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src -I/home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/src/utils -DCONFIG_ELOOP_EPOLL -DUBUS_SUPPORT -DUCODE_SUPPORT -DCONFIG_HT_OVERRIDES -DCONFIG_VHT_OVERRIDES -DCONFIG_BACKEND_FILE -DCONFIG_NO_CONFIG_WRITE -DCONFIG_OCV -DCONFIG_IEEE80211R -DCONFIG_SAE -DCONFIG_OWE -DCONFIG_WNM -DCONFIG_DRIVER_WIRED -DCONFIG_DRIVER_NL80211 -DCONFIG_MBO -DCONFIG_ACS -DCONFIG_TLS_MBEDTLS -DCRYPTO_RSA_OAEP_SHA256 -DCONFIG_SHA256 -DCONFIG_HMAC_SHA256_KDF -DCONFIG_HMAC_SHA384_KDF -DCONFIG_HMAC_SHA512_KDF -DCONFIG_SHA384 -DCONFIG_SHA512 -DCONFIG_ECC -DCONFIG_NO_RANDOM_POOL -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_NO_LINUX_PACKET_SOCKET_WAR -DCONFIG_SME -DCONFIG_DEBUG_SYSLOG -DLOG_HOSTAPD=LOG_DAEMON -DCONFIG_GAS -DCONFIG_OFFCHANNEL ../src/ap/hostapd.c ../src/ap/hostapd.c: In function 'hostapd_fill_csa_settings': ../src/ap/hostapd.c:4515:27: error: 'struct hostapd_config' has no member named 'he_mu_edca' 4515 | hapd->iface->conf->he_mu_edca.he_qos_info &= 0xfff0; | ^~ make[4]: *** [../src/build.rules:87: /home/runner/work/openwrt-autobuild/openwrt-autobuild/openwrt/build_dir/target-aarch64_cortex-a53_musl/hostapd-wpad-basic-mbedtls/hostapd-2024.09.15~5ace39b0/build/hostapd/src/ap/hostapd.o] Error 1 make[4]: Leaving directory '/home/runner/work/openwrt-autobuild/op

这个只能希望大佬将mbedtls换成openssl了,opensssl的话没出现过这个问题,兼容性极好

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants