This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [systemtap trunk] Build error on eBPF.
Mark Wielaard wrote:
> On Fri, 2017-04-14 at 20:17 +0900, Tetsuo Handa wrote:
> > Thank you. But linux/bpf.h check seems to be missing.
>
> Aha. Seems I have a slightly older version than Richard tested with, but
> you don't have it at all. Could you try to update your git sources with
> this commit:
Now it builds correctly. Thank you.
>
> commit 7ca1ffe6e431e4818a9a479935d75a428d2aaf57
> Author: Mark Wielaard <mark@klomp.org>
> Date: Fri Apr 14 13:52:39 2017 +0200
>
> configure: Check for linux/bpf.h header.
>
> Don't build bpf backend support if there is no bpf.h header.
> Skip translate_bpf_pass if there is no bpf support.
> Regenerate configure and Makefile.in.
>
> It should completely skip building the bpf backend in your case.
>
> Thanks,
>
> Mark