Open Alexey71 opened 1 month ago
Error build kmod-amneziawg. How fix?
make[3]: Entering directory '/home/alexey/openwrt-R4/package/kmod-amneziawg' rm -f /home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/.built touch /home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/.built_check make -C "/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.52" KCFLAGS="-fmacro-prefix-map=/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl=target-aarch64_cortex-a53_musl -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/alexey/openwrt-R4/staging_dir/host/include -I/home/alexey/openwrt-R4/staging_dir/hostpkg/include -I/home/alexey/openwrt-R4/staging_dir/target-aarch64_cortex-a53_musl/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="aarch64-openwrt-linux-musl-" ARCH="arm64" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Sat Sep 28 23:46:33 2024" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/alexey/openwrt-R4/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KBUILD_EXTRA_SYMBOLS="/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/symvers/gpio-button-hotplug.symvers" CC="aarch64-openwrt-linux-musl-gcc" KERNELRELEASE=6.6.52 M="/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1" EXTRA_CFLAGS="" modules make[4]: Entering directory '/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.52' MODPOST /home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/Module.symvers ERROR: modpost: "udp_sock_create4" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined! ERROR: modpost: "udp_tunnel6_xmit_skb" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined! ERROR: modpost: "udp_tunnel_sock_release" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined! ERROR: modpost: "setup_udp_tunnel_sock" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined! ERROR: modpost: "udp_sock_create6" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined! ERROR: modpost: "udp_tunnel_xmit_skb" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined! make[6]: *** [scripts/Makefile.modpost:145: /home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/Module.symvers] Error 1 make[5]: *** [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.52/Makefile:1873: modpost] Error 2 make[4]: *** [Makefile:234: __sub-make] Error 2 make[4]: Leaving directory '/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.52' make[3]: *** [Makefile:47: /home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/.built] Error 2 make[3]: Leaving directory '/home/alexey/openwrt-R4/package/kmod-amneziawg' time: package/kmod-amneziawg/compile#0.50#0.12#0.82 ERROR: package/kmod-amneziawg failed to build. make[2]: *** [package/Makefile:177: package/kmod-amneziawg/compile] Error 1 make[2]: Leaving directory '/home/alexey/openwrt-R4' make[1]: *** [package/Makefile:171: /home/alexey/openwrt-R4/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/alexey/openwrt-R4' make: *** [/home/alexey/openwrt-R4/include/toplevel.mk:248: world] Error 2
Error build kmod-amneziawg. How fix?