Upgrade Build from 21.02.1 to 22.0.3

Hello,
unfortunately my build process fails. The following error message appears:

make[4]: Entering directory '/home/stefan.harbich/Downloads/tp-link/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/iproute2-tcfull/iproute2-5.15.0'
TC schedulers
 ATM	no
 IPT	using iptables
 IPSET  no

iptables modules directory: /usr/lib/iptables
libc has setns: yes
libc has name_to_handle_at: yes
SELinux support: no
libbpf support: no
	LIBBPF_FORCE=on set, but couldn't find a usable libbpf
make[4]: *** [Makefile:84: config] Error 1
make[4]: Leaving directory '/home/stefan.harbich/Downloads/tp-link/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/iproute2-tcfull/iproute2-5.15.0'
make[3]: *** [Makefile:271: /home/stefan.harbich/Downloads/tp-link/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/iproute2-tcfull/iproute2-5.15.0/.built] Error 2
make[3]: Leaving directory '/home/stefan.harbich/Downloads/tp-link/openwrt/package/network/utils/iproute2'
time: package/network/utils/iproute2/tcfull/compile#1.46#1.06#2.26
    ERROR: package/network/utils/iproute2 failed to build (build variant: tcfull).
make[2]: *** [package/Makefile:119: package/network/utils/iproute2/compile] Error 1
make[2]: Leaving directory '/home/stefan.harbich/Downloads/tp-link/openwrt'
make[1]: *** [package/Makefile:110: /home/stefan.harbich/Downloads/tp-link/openwrt/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/stefan.harbich/Downloads/tp-link/openwrt'
make: *** [/home/stefan.harbich/Downloads/tp-link/openwrt/include/toplevel.mk:230: world] Fehler 2

What seems to be wrong with iproute and iptables. Seems to be related to the switch to nftables?

Have you enabled/included it?

You could install the llvm-bpf toolchain so that the libbpf could be built.
Download it from your target's download directory, expand it to your build root root dir and select the config option to use ready-compiled toolchain.

See

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.