I am trying to build OpenWRT for a new board, however the build process fails at an odd place. At some point on the make process at:
make[3] -C package/kernel/linux compile
The build process fails with the following error:
make[3]: Entering directory '/home/heavydeck/openwrt/openwrt-devel/package/kernel/linux'
mkdir -p /home/heavydeck/openwrt/openwrt-devel/staging_dir/target-arm_cortex-a9+neon_musl_eabi/root-socfpga/stamp
SHELL= flock /home/heavydeck/openwrt/openwrt-devel/tmp/.root-copy.flock -c 'cp -fpR /home/heavydeck/openwrt/openwrt-devel/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-socfpga/packages/.pkgdir/kernel/. /home/heavydeck/openwrt/openwrt-devel/staging_dir/target-arm_cortex-a9+neon_musl_eabi/root-socfpga/'
touch /home/heavydeck/openwrt/openwrt-devel/staging_dir/target-arm_cortex-a9+neon_musl_eabi/root-socfpga/stamp/.kernel_installed
Package kmod-nf-conntrack is missing dependencies for the following libraries:
nf_defrag_ipv6.ko
make[3]: *** [modules/netfilter.mk:110: /home/heavydeck/openwrt/openwrt-devel/bin/targets/socfpga/generic/packages/kmod-nf-conntrack_4.19.2-1_arm_cortex-a9_neon.ipk] Error 1
It would previously fail with a missing dependency to crc32c.ko
but adding DEPENDS:=+kmod-lib-crc32c
to the file package/kernel/linux/modules/netfilter.mk
removes this issue.
The kernel config file config-4.19.2
is https://pastebin.com/BsKcTtta
The .config
file after menuconfig is https://pastebin.com/rLpjCqj1
Is odd that IPv4 conntrack is requesting a ipv6 kernel module, and I am pretty unsure on how to proceed to make it build.