xhikarishii / openwrt-ipq

This fork is dedicated for NSS Development of Arcadyan AW1000
Other
11 stars 3 forks source link

I tried to pull the source code to build the firmware myself, but I encountered an error #7

Closed qwer155168 closed 2 months ago

qwer155168 commented 2 months ago

I don’t know if it has something to do with this QQ截图20240908205657 This is the error log: ERROR: package/feeds/nss_packages/qca-nss-ecm failed to build. make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on make: *** [/home/wang/openwrt-ipq/include/toplevel.mk:248:world] 错误 1

qwer155168 commented 2 months ago

Tried again using make V=s -j1 I got the detailed error: /home/wang/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-ecm-12.5.2024.06.20~92c7fa1/frontends/nss/ecm_nss_non_ported_ipv4.c: In function 'ecm_nss_non_ported_ipv4_connection_accelerate': /home/wang/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-ecm-12.5.2024.06.20~92c7fa1/frontends/nss/ecm_nss_non_ported_ipv4.c:859:47: error: 'NSS_IPV4_RULE_CREATE_RAWIP_VALID' undeclared (first use in this function); did you mean 'NSS_IPV4_RULE_CREATE_RPS_VALID'? 859 | nircm->valid_flags |= NSS_IPV4_RULE_CREATE_RAWIP_VALID; | ^~~~~~~~ | NSS_IPV4_RULE_CREATE_RPS_VALID /home/wang/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-ecm-12.5.2024.06.20~92c7fa1/frontends/nss/ecm_nss_non_ported_ipv4.c:859:47: note: each undeclared identifier is reported only once for each function it appears in make[6]: [scripts/Makefile.build:243: /home/wang/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-ecm-12.5.2024.06.20~92c7fa1/frontends/nss/ecm_nss_non_ported_ipv4.o] Error 1 make[5]: [/home/wang/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.44/Makefile:1921: /home/wang/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-ecm-12.5.2024.06.20~92c7fa1] Error 2 make[4]: [Makefile:234: __sub-make] Error 2 make[4]: Leaving directory '/home/wang/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.44' make[3]: [Makefile:191: /home/wang/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-ecm-12.5.2024.06.20~92c7fa1/.built] Error 2 make[3]: Leaving directory '/home/wang/openwrt-ipq/feeds/nss_packages/qca-nss-ecm' time: package/feeds/nss_packages/qca-nss-ecm/compile#0.36#0.68#1.03 ERROR: package/feeds/nss_packages/qca-nss-ecm failed to build. make[2]: [package/Makefile:173: package/feeds/nss_packages/qca-nss-ecm/compile] Error 1 make[2]: Leaving directory '/home/wang/openwrt-ipq' make[1]: [package/Makefile:167: /home/wang/openwrt-ipq/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/wang/openwrt-ipq' make: *** [/home/wang/openwrt-ipq/include/toplevel.mk:248:world] 错误 2 QQ截图20240908213019

xhikarishii commented 2 months ago

Can you try updating your local now? I just pulled new updates from upstream. Also make sure per-requisites are installed.

qwer155168 commented 2 months ago

您现在可以尝试更新本地吗?我刚刚从上游提取了新的更新。另外请确保安装了必备软件。

ok i will try again

xhikarishii commented 2 months ago

Hi @qwer155168

I was able to replicate the issue, this issue seems to appear on firmware version 12.5 of NSS, fix is on it's way.

xhikarishii commented 2 months ago

I had rolled back the repository to last known working, you can try clone and pull again

xhikarishii commented 2 months ago

This issue is fixed, see fix here