Re: [PATCH bpf-next 0/4] samples: bpf: fix build after move to full libbpf

2018-05-12 Thread Jesper Dangaard Brouer
On Fri, 11 May 2018 17:17:25 -0700 Jakub Kicinski wrote: > Following patches address build issues after recent move to libbpf. > For out-of-tree builds we would see the following error: > > gcc: error: samples/bpf/../../tools/lib/bpf/libbpf.a: No such file or > directory > > Mini-library calle

[PATCH bpf-next 0/4] samples: bpf: fix build after move to full libbpf

2018-05-11 Thread Jakub Kicinski
Hi! Following patches address build issues after recent move to libbpf. For out-of-tree builds we would see the following error: gcc: error: samples/bpf/../../tools/lib/bpf/libbpf.a: No such file or directory Mini-library called libbpf.h in samples is renamed to bpf_insn.h, using linux/filter.h