Re: [suricata PATCH 1/3] suricata/ebpf: take clang -target bpf include issue of stdint.h into account

2018-02-08 Thread Jesper Dangaard Brouer
On Thu, 08 Feb 2018 00:52:09 +0100 Eric Leblond wrote: > Hi, > > On Wed, 2018-02-07 at 23:21 +0100, Jesper Dangaard Brouer wrote: > > From: Jesper Dangaard Brouer > > > > This patch prepares code before enabling the clang -target bpf. > > > > The

Re: [suricata PATCH 1/3] suricata/ebpf: take clang -target bpf include issue of stdint.h into account

2018-02-07 Thread Eric Leblond
Hi, On Wed, 2018-02-07 at 23:21 +0100, Jesper Dangaard Brouer wrote: > From: Jesper Dangaard Brouer > > This patch prepares code before enabling the clang -target bpf. > > The clang compiler does not like #include when > using '-target bpf' it will fail with: > >

[suricata PATCH 1/3] suricata/ebpf: take clang -target bpf include issue of stdint.h into account

2018-02-07 Thread Jesper Dangaard Brouer
From: Jesper Dangaard Brouer This patch prepares code before enabling the clang -target bpf. The clang compiler does not like #include when using '-target bpf' it will fail with: fatal error: 'gnu/stubs-32.h' file not found This is because using clang -target bpf,