Re: using libbpf in external projects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 23, 2020 at 10:50 AM Andrii Nakryiko
<andrii.nakryiko@xxxxxxxxx> wrote:
>
> 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!

Just realized I didn't paste the link:

  [0] https://github.com/iovisor/bcc/tree/master/libbpf-tools



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux