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

qca-nss-clients compilation error! #10

Closed
zxlhhyccc opened this issue Jan 28, 2024 · 8 comments
Closed

qca-nss-clients compilation error! #10

zxlhhyccc opened this issue Jan 28, 2024 · 8 comments

Comments

@zxlhhyccc
Copy link
Contributor

LD [M]  /home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/qca-nss-tun6rd.o
  MODPOST /home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/Module.symvers
ERROR: modpost: "nss_udp_st_get_mgr" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
ERROR: modpost: "nss_udp_st_tx_sync" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
ERROR: modpost: "nss_lso_rx_stats_register_notifier" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
ERROR: modpost: "nss_lso_rx_stats_unregister_notifier" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
ERROR: modpost: "nss_udp_st_tx" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
ERROR: modpost: "nss_udp_st_msg_init" [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/netlink/qca-nss-netlink.ko] undefined!
scripts/Makefile.modpost:126: recipe for target '/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/Module.symvers' failed
make[4]: *** [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/Module.symvers] Error 1
Makefile:1966: recipe for target 'modpost' failed
make[3]: *** [modpost] Error 2
make[3]: Leaving directory '/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.1.74'
Makefile:750: recipe for target '/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/.built' failed
make[2]: *** [/home/lin/ax6-6.1/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/qca-nss-clients-2023-10-04-f058ae19/.built] Error 2
make[2]: Leaving directory '/home/lin/ax6-6.1/package/nss-packages/qca/qca-nss-clients'
time: package/nss-packages/qca/qca-nss-clients/compile#90.70#14.62#104.87
    ERROR: package/nss-packages/qca/qca-nss-clients failed to build.
package/Makefile:126: recipe for target 'package/nss-packages/qca/qca-nss-clients
@qosmio
Copy link
Owner

qosmio commented Jan 28, 2024

Assuming you're building nssinfo?

Just pushed a fix. Be sure to run make oldconfig and make target/compile -j$(nproc) prior to running make package/qca-nss-clients/compile -j$(nproc)

@zxlhhyccc
Copy link
Contributor Author

OK,Test it tomorrow!

@zxlhhyccc
Copy link
Contributor Author

zxlhhyccc commented Jan 28, 2024

Assuming you're building nssinfo?

Just pushed a fix. Be sure to run make oldconfig and make target/compile -j$(nproc) prior to running make package/qca-nss-clients/compile -j$(nproc)

CONFIG_DEFAULT_kmod-ath11k-ahb=y
CONFIG_PACKAGE_kmod-ath=y
CONFIG_PACKAGE_kmod-ath11k=y
CONFIG_PACKAGE_kmod-ath11k-ahb=y

Ask: Why my AX6 wireless is not displayed (not running)!
image
image
image

@qosmio
Copy link
Owner

qosmio commented Jan 29, 2024

What wifi hardware do you see detected?

ls -ltr  /sys/devices/platform/soc |grep wifi

@zxlhhyccc
Copy link
Contributor Author

What wifi hardware do you see detected?

ls -ltr  /sys/devices/platform/soc |grep wifi
root@OpenWrt:~# ls -ltr  /sys/devices/platform/soc |grep wifi
drwxr-xr-x    3 root     root             0 Jan 29 23:36 c000000.wifi
root@OpenWrt:~#

@qosmio
Copy link
Owner

qosmio commented Jan 29, 2024

Your hardware is detected. Something else is going on with your build. Please try building regular non-NSS build to ensure it's working first, before trying the NSS build.

Use the main branch of openwrt.

@qosmio
Copy link
Owner

qosmio commented Jan 29, 2024

Please check latest commit 32bdeb5, and try compiling nss packages again.

@qosmio qosmio closed this as completed Jan 29, 2024
@zxlhhyccc
Copy link
Contributor Author

请检查最新提交32bdeb5,并尝试再次编译 nss 包。

Using the main branch of openwrt to build a regular non NSS build works normally. Test the latest commit at night.

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