Open sensiki opened 1 year ago
make clean
make clean
不行,新拉代码。做我写的步骤进行配置,直接编译报错
下午注意到新的代码内核切换到了5.10.176,编译通过,无线部分的操作恢复()。实测性能比之前的版本有很大的差距。5G部分大约300Mb/s
有线部分HWNAT好像也失效了,LAN/WAN 整体的转发能力只有300多一点。之前R23.3.3(5.4.234)版及R23.4.1(5.4.241)整体转发可以达到950Mb左右,5G部分可以到500M以上。
有线部分HWNAT好像也失效了,LAN/WAN 整体的转发能力只有300多一点。之前R23.3.3(5.4.234)版及R23.4.1(5.4.241)整体转发可以达到950Mb左右,5G部分可以到500M以上。
+1
+1
+1
无线和nftable部分功能都会编译不过去。。
Same here for r5c.
After make clean
, the problem persists. Part of log
/home/huzf/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/huzf/lede/build_dir/target-aarch64_generic_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/huzf/lede/staging_dir/toolchain-aarch64_generic_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/huzf/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/huzf/lede/build_dir/target-aarch64_generic_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/huzf/lede/staging_dir/toolchain-aarch64_generic_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/huzf/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/huzf/lede/build_dir/target-aarch64_generic_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/huzf/lede/staging_dir/toolchain-aarch64_generic_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/huzf/lede/staging_dir/toolchain-aarch64_generic_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/huzf/lede/staging_dir/toolchain-aarch64_generic_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[4]: Leaving directory '/home/huzf/lede/build_dir/target-aarch64_generic_musl/hostapd-supplicant-full-internal/hostapd-2022-07-29-b704dc72/wpa_supplicant'
make[3]: *** [Makefile:790: /home/huzf/lede/build_dir/target-aarch64_generic_musl/hostapd-supplicant-full-internal/hostapd-2022-07-29-b704dc72/.built] Error 2
make[3]: Leaving directory '/home/huzf/lede/package/network/services/hostapd'
time: package/network/services/hostapd/supplicant-full-internal/compile#22.47#1.54#23.44
ERROR: package/network/services/hostapd failed to build (build variant: supplicant-full-internal).
make[2]: *** [package/Makefile:119: package/network/services/hostapd/compile] Error 1
make[2]: Leaving directory '/home/huzf/lede'
make[1]: *** [package/Makefile:110: /home/huzf/lede/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/huzf/lede'
make: *** [/home/huzf/lede/include/toplevel.mk:231: world] Error 2
The problem was initially found. When you failed first time. Edit file "build_dir/target-x86_64_musl/hostapd-supplicant-full-internal/hostapd-2023-03-29-bb945b98/wpa_supplicant/.config". Make "CONFIG_AP=y" and save it. Recompile it. You will pass it. If help you solove your problem, don't remember give a 👍 to me.
问题初步找到。 第一次编译失败得时候 编译文件"build_dir/target-x86_64_musl/hostapd-supplicant-full-internal/hostapd-2023-03-29-bb945b98/wpa_supplicant/.config". 并修改“CONFIG_AP=y”暴露出来。 重新编译。就能过了。 如果有帮助解决问题,别忘了点个赞噢。
@hammerfunctor @yhl452493373
反馈bug/问题模板,提建议请删除
1.关于你要提交的问题
git clone https://github.com/coolsnowwolf/lede cd lede ./scripts/feeds update -a ./scripts/feeds install -a make menuconfig 然后选择 FriendlyARM NanoPi R5S 再使能 PACKAGE_kmod-cfg80211 PACKAGE_kmod-mac80211 PACKAGE_hostapd PACKAGE_wpa-supplicant 然后进行编译,编译不过,报错看下面详细信息
Q:是否搜索了issue (使用 "x" 选择)
2. 详细叙述
(1) 具体问题
A:
(2) 路由器型号和固件版本
A:
(3) 详细日志
A: /home/sen/test/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/sen/test/lede/build_dir/target-aarch64_generic_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/sen/test/lede/staging_dir/toolchain-aarch64_generic_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 tohostapd_driver_scan' /home/sen/test/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/sen/test/lede/build_dir/target-aarch64_generic_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 tohostapd_disable_iface' /home/sen/test/lede/staging_dir/toolchain-aarch64_generic_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/sen/test/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/sen/test/lede/build_dir/target-aarch64_generic_musl/hostapd-supplicant-full-internal/hostapd-2022-07-29-b704dc72/build/wpa_supplicant/src/ap/acs.o: in functionacs_init': acs.c:(.text+0x1198): undefined reference to
hostapd_drv_do_acs' /home/sen/test/lede/staging_dir/toolchain-aarch64_generic_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 tohostapd_drv_do_acs' /home/sen/test/lede/staging_dir/toolchain-aarch64_generic_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/sen/test/lede/staging_dir/toolchain-aarch64_generic_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[4]: Leaving directory '/home/sen/test/lede/build_dir/target-aarch64_generic_musl/hostapd-supplicant-full-internal/hostapd-2022-07-29-b704dc72/wpa_supplicant' make[3]: [Makefile:790: /home/sen/test/lede/build_dir/target-aarch64_generic_musl/hostapd-supplicant-full-internal/hostapd-2022-07-29-b704dc72/.built] Error 2 make[3]: Leaving directory '/home/sen/test/lede/package/network/services/hostapd' time: package/network/services/hostapd/supplicant-full-internal/compile#39.90#2.67#41.44 ERROR: package/network/services/hostapd failed to build (build variant: supplicant-full-internal). make[2]: [package/Makefile:119: package/network/services/hostapd/compile] Error 1 make[2]: Leaving directory '/home/sen/test/lede' make[1]: [package/Makefile:110: /home/sen/test/lede/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/sen/test/lede' make: *** [/home/sen/test/lede/include/toplevel.mk:231: world] Error 2