Hi Sudip, Gregor, On Mon, Oct 31, 2022 at 11:29:29AM +0000, Sudip Mukherjee wrote: > On Mon, Oct 31, 2022 at 10:44 AM Gregor Jasny <gja...@googlemail.com> wrote: > > One thing I miss in the patch is tightening the pkg-config rule to a > > minimum required version which provides LIBBPF_OPTS. Proper place would > > be here: > > > > https://git.linuxtv.org/v4l-utils.git/tree/configure.ac#n567 > > Ok, I might need help for this one. I will first check what will be > the minimum libbpf version required for this change. afaik, libbpf/0.8 > is ok with these changes.
Looking at the bpf source code, 0.7 will be the required version. I think this is the correct autoconf line, but my autoconf knowledge is very limited. PKG_CHECK_MODULES([LIBBPF], [libbpf >= 0.7], [bpf_pc=yes], [bpf_pc=no]) Let me get back to you on testing. Sean