Hi Peter, On Tue, Nov 06, 2018 at 10:43:58PM +0100, Peter Seiderer wrote: > On Tue, 6 Nov 2018 10:38:56 +0000, Sean Young <sean@xxxxxxxx> wrote: > > > On Mon, Nov 05, 2018 at 09:30:47PM +0100, Peter Seiderer wrote: > > > Copy from [1], needed by bpf.h. > > > > > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/include/uapi/linux/bpf_common.h?h=v4.19 > > > > So bpf.h does include this file, but we don't use anything from it in > > v4l-utils. > > > > Maybe alternative fix is to remove the include (or not if your want > the headers to be in sync with the kernel ones, but then they should > be complete enough to be used for compile)? > > > This include file is for the original BPF, which has been around for a > > long time. So why is this include file missing, i.e. what problem are you > > trying to solve? > > A buildroot autobuild failure (see [1] for details) with older toolchains > not providing this header... > > > > > Lastely, the file should be included in the sync-with-kernel target so > > it does not get out of sync -- should it really be necessary to add the > > file. > > O.k, can do it on next patch iteration... > > Regards, > Peter > > [1] http://lists.busybox.net/pipermail/buildroot/2018-November/234840.html So here libelf was not detected, hence ir-keytable should have been built without BPF support, but it is still including bpf.h despite it not being used. I've just sent a patch for better support for building without BPF, see here: https://patchwork.linuxtv.org/patch/52841/ Would you mind seeing if that works for you? Thanks, Sean