qosmio / nss-packages

QCA NSS Packages
GNU General Public License v2.0
76 stars 79 forks source link

`qca-nss-clients` compilation error! #10

Closed zxlhhyccc closed 10 months ago

zxlhhyccc commented 10 months ago
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 commented 10 months ago

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 commented 10 months ago

OK,Test it tomorrow!

zxlhhyccc commented 10 months ago

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 commented 10 months ago

What wifi hardware do you see detected?

ls -ltr  /sys/devices/platform/soc |grep wifi
zxlhhyccc commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

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

zxlhhyccc commented 10 months ago

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

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