-
Notifications
You must be signed in to change notification settings - Fork 77
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
IPQ60xx编译正常,但是R7800编译错误:nss_arch.h丢失 #4
Comments
R7800 似乎是IPQ80xx系列? |
IPQ806x |
ip80系列 建议上Q佬项目 |
找到对应nss_ipq806x.h后修改链接编译如下错误,应该是没有对ipq806x做适配吧: A log1: B:具体操作 C log2: |
我看的有点乱,确定在用本项目所有内容编译吗? |
只需要看错误和处理部分即可,用LiBwrt、qosmio和您的源码都是一样的错误:对应的nss_arch.h丢失 |
更新过几版了,现在还有这个问题嘛? |
依旧存在: |
现在有NSS 12.5了,该问题是否还存在? |
应该不行吧,好像没有看见有相关提交 |
错误
1 qca-mcs编译错误,对806而言是否缺对应补丁
CC [M] /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-mcs-12.5.2024.02.27
26d6424/mc_netlink.o26d6424/mc_netlink.c:23:In file included from ../qca-mcs-12.5.2024.02.27
../qca-mcs-12.5.2024.02.27
26d6424/mc_osdep.h: In function 'os_br_pass_frame_up':26d6424/mc_osdep.h:28:16: error: implicit declaration of function 'br_pass_frame_up'; did you mean 'os_br_pass_frame_up'? [-Werror=implicit-function-declaration]../qca-mcs-12.5.2024.02.27
28 | return br_pass_frame_up(skb, false);
| ^~~~~~~~~~~~~~~~
| os_br_pass_frame_up
cc1: all warnings being treated as errors
make[6]: *** [scripts/Makefile.build:243: /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-mcs-12.5.2024.02.27
26d6424/mc_netlink.o] Error 126d6424] Error 2make[5]: *** [/openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-6.6.36/Makefile:1921: /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-mcs-12.5.2024.02.27
make[4]: *** [Makefile:234: __sub-make] Error 2
make[4]: Leaving directory '/openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-6.6.36'
make[3]: *** [Makefile:72: /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-mcs-12.5.2024.02.27~26d6424/.built] Error 2
make[3]: Leaving directory '/openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/feeds/nss_packages/qca-mcs'
time: package/feeds/nss_packages/qca-mcs/compile#1.24#0.26#1.49
ERROR: package/feeds/nss_packages/qca-mcs failed to build.
make[2]: *** [package/Makefile:173: package/feeds/nss_packages/qca-mcs/compile] Error 1
2 qca-nss-drv编译错误
CC [M] /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-drv-12.5.2024.04.06
53a0dc1/nss_cmn.o53a0dc1/nss_core.h:40,In file included from /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-drv-12.5.2024.04.06
from /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-drv-12.5.2024.04.06
53a0dc1/nss_hal/include/nss_hal.h:29,53a0dc1/nss_tx_rx_common.h:25,from /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-drv-12.5.2024.04.06
from /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-drv-12.5.2024.04.06
53a0dc1/nss_cmn.c:26:53a0dc1/exports/nss_api_if.h:36:10: fatal error: nss_arch.h: No such file or directory/openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-drv-12.5.2024.04.06
36 | #include "nss_arch.h"
| ^~~~~~~~~~~~
compilation terminated.
make[6]: *** [scripts/Makefile.build:243: /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-drv-12.5.2024.04.06
53a0dc1/nss_cmn.o] Error 153a0dc1] Error 2make[5]: *** [/openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-6.6.36/Makefile:1921: /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-drv-12.5.2024.04.06
make[4]: *** [Makefile:234: __sub-make] Error 2
make[4]: Leaving directory '/openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-6.6.36'
make[3]: *** [Makefile:354: /openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/qca-nss-drv-12.5.2024.04.06~53a0dc1/.built] Error 2
make[3]: Leaving directory '/openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds/feeds/nss_packages/qca-nss-drv'
time: package/feeds/nss_packages/qca-nss-drv/compile#0.61#0.28#0.88
make[2]: *** [package/Makefile:173: package/feeds/nss_packages/qca-nss-drv/compile] Error 1
以上2个错误对应源码在ipq60xx上都正常:
find *bin|grep qca-nss
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-dp_6.6.36.2024.04.16
5bf8b91e-r1_aarch64_cortex-a53.ipk53a0dc1-r7_aarch64_cortex-a53.ipk60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv_6.6.36.12.5.2024.04.06
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-tun6rd_6.6.36.12.5.2024.03.05
9a53b18-r3_aarch64_cortex-a53.ipk9a53b18-r3_aarch64_cortex-a53.ipk60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-l2tpv2_6.6.36.12.5.2024.03.05
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-pptp_6.6.36.12.5.2024.03.05
9a53b18-r3_aarch64_cortex-a53.ipk9a53b18-r3_aarch64_cortex-a53.ipk60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-pppoe_6.6.36.12.5.2024.03.05
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-map-t_6.6.36.12.5.2024.03.05
9a53b18-r3_aarch64_cortex-a53.ipk9a53b18-r3_aarch64_cortex-a53.ipk60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-tunipip6_6.6.36.12.5.2024.03.05
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-qdisc_6.6.36.12.5.2024.03.05
9a53b18-r3_aarch64_cortex-a53.ipk9a53b18-r3_aarch64_cortex-a53.ipk60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-igs_6.6.36.12.5.2024.03.05
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-vlan-mgr_6.6.36.12.5.2024.03.05
9a53b18-r3_aarch64_cortex-a53.ipk9a53b18-r3_aarch64_cortex-a53.ipk60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-bridge-mgr_6.6.36.12.5.2024.03.05
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-lag-mgr_6.6.36.12.5.2024.03.05
9a53b18-r3_aarch64_cortex-a53.ipk9a53b18-r3_aarch64_cortex-a53.ipk60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-gre_6.6.36.12.5.2024.03.05
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-pvxlanmgr_6.6.36.12.5.2024.03.05
9a53b18-r3_aarch64_cortex-a53.ipk9a53b18-r3_aarch64_cortex-a53.ipk60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-eogremgr_6.6.36.12.5.2024.03.05
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-clmapmgr_6.6.36.12.5.2024.03.05
9a53b18-r3_aarch64_cortex-a53.ipk9a53b18-r3_aarch64_cortex-a53.ipk60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-vxlanmgr_6.6.36.12.5.2024.03.05
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-match_6.6.36.12.5.2024.03.05
9a53b18-r3_aarch64_cortex-a53.ipk9a53b18-r3_aarch64_cortex-a53.ipk60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-mirror_6.6.36.12.5.2024.03.05
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-drv-wifi-meshmgr_6.6.36.12.5.2024.03.05
9a53b18-r3_aarch64_cortex-a53.ipk92c7fa1-r2_aarch64_cortex-a53.ipk60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-ecm_6.6.36.12.5.2024.06.20
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-nss-macsec_6.6.36.12.4.5.2023.10.16
b94e22d-r1_aarch64_cortex-a53.ipk26d6424-r1_aarch64_cortex-a53.ipkhzjnet@ub20ip20:/openwrt/openwrt-6.x-nss-fKing-git-20240708.feeds$ find *bin|grep qca-mcs
60xx-6.x-nss-fKing-git-20240708-fbreeze303-4-ken8.bbin/targets/qualcommax/ipq60xx/packages/kmod-qca-mcs_6.6.36.12.5.2024.02.27
The text was updated successfully, but these errors were encountered: