On Sun, Mar 22, 2020 at 11:00 PM Jason A. Donenfeld <Jason@xxxxxxxxx> wrote: > > Thanks! That's much nicer to use: > > https://git.zx2c4.com/netifexec/commit/?id=8a39f70c981264500d27e90bbd5e3baf8f2d10d3 You probably don't want to compile libbpf with your custom rules. See BCC libbpf-tools [0] on how to do this when you use libbpf as a submodule. The idea is to do a sub-make call and let libbpf's Makefile deal with everything. Having said that, though, libbpf is packaged properly for Fedora (and I think maybe for OpenSUSE and Debian, but not sure), so if you can rely on libbpf package, that would probably be easiest and best. If Linux distribution(s) you are targeting doesn't have libbpf package yet, we'd really appreciate you reaching out to packager and asking them to follow Fedora and do it :) Would make everyone's job easier in long term. Thanks!