BPF userspace tool bpftool has been merged into the Linux kernel tree in the 4.15 release. Please use the in-tree version. To build inside the kernel sources run: $ cd linux/ $ make -C tools/bpf/bpftool/