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

ipq50xx nss编译过程中出现了mtu未声明 #67

Open
Beaverfffan opened this issue Feb 28, 2025 · 1 comment
Open

ipq50xx nss编译过程中出现了mtu未声明 #67

Beaverfffan opened this issue Feb 28, 2025 · 1 comment

Comments

@Beaverfffan
Copy link

home/beaver/immortalwrt-b3000/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq50xx/qca-nss-drv-11.4.0.5.2021.09.1353e5863/nss_data_plane/hal/nss_ipq50xx.c: In function 'nss_data_plane_hal_get_mtu_sz':
/home/beaver/immortalwrt-b3000/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq50xx/qca-nss-drv-11.4.0.5.2021.09.13
53e5863/nss_data_plane/hal/nss_ipq50xx.c:175:20: error: 'NSS_DP_GMAC_NORMAL_FRAME_MTU' undeclared (first use in this function); did you mean 'NSS_ETH_NORMAL_FRAME_MTU'?
175 | if (mtu <= NSS_DP_GMAC_NORMAL_FRAME_MTU) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NSS_ETH_NORMAL_FRAME_MTU
/home/beaver/immortalwrt-b3000/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq50xx/qca-nss-drv-11.4.0.5.2021.09.1353e5863/nss_data_plane/hal/nss_ipq50xx.c:175:20: note: each undeclared identifier is reported only once for each function it appears in
/home/beaver/immortalwrt-b3000/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq50xx/qca-nss-drv-11.4.0.5.2021.09.13
53e5863/nss_data_plane/hal/nss_ipq50xx.c:178:20: error: 'NSS_DP_GMAC_MINI_JUMBO_FRAME_MTU' undeclared (first use in this function); did you mean 'NSS_ETH_MINI_JUMBO_FRAME_MTU'?
178 | if (mtu <= NSS_DP_GMAC_MINI_JUMBO_FRAME_MTU) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NSS_ETH_MINI_JUMBO_FRAME_MTU
/home/beaver/immortalwrt-b3000/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq50xx/qca-nss-drv-11.4.0.5.2021.09.1353e5863/nss_data_plane/hal/nss_ipq50xx.c:181:20: error: 'NSS_DP_GMAC_FULL_JUMBO_FRAME_MTU' undeclared (first use in this function); did you mean 'NSS_ETH_FULL_JUMBO_FRAME_MTU'?
181 | if (mtu <= NSS_DP_GMAC_FULL_JUMBO_FRAME_MTU) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NSS_ETH_FULL_JUMBO_FRAME_MTU
make[6]: *** [scripts/Makefile.build:243: /home/beaver/immortalwrt-b3000/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq50xx/qca-nss-drv-11.4.0.5.2021.09.13
53e5863/nss_data_plane/hal/nss_ipq50xx.o] Error 1
make[5]: *** [/home/beaver/immortalwrt-b3000/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq50xx/linux-6.6.79/Makefile:1916: /home/beaver/immortalwrt-b3000/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq50xx/qca-nss-drv-11.4.0.5.2021.09.1353e5863] Error 2
make[4]: *** [Makefile:234: __sub-make] Error 2
make[4]: Leaving directory '/home/beaver/immortalwrt-b3000/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq50xx/linux-6.6.79'
make[3]: *** [Makefile:366: /home/beaver/immortalwrt-b3000/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq50xx/qca-nss-drv-11.4.0.5.2021.09.13
53e5863/.built] Error 2
make[3]: Leaving directory '/home/beaver/immortalwrt-b3000/feeds/nss_packages/qca-nss-drv'
time: package/feeds/nss_packages/qca-nss-drv/compile#51.90#12.63#73.78
ERROR: package/feeds/nss_packages/qca-nss-drv failed to build.

@VIKINGYFY
Copy link
Owner

50xx暂未精修,慢慢来,5018和其他两个不太一样

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