<div dir="ltr">Yes. The latest master compiles ok now. Thank you.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-24 19:48 GMT+03:00 Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 11/24/2015 03:59 PM, Batalov Eugene wrote:<br>
> Hello.<br>
><br>
> I got the following problem with compilation of CRIU.<br>
> When I run make:<br>
> DEP cr-check.d<br>
> cr-check.c:16:23: fatal error: linux/bpf.h: No such file or directory<br>
> #include <linux/bpf.h><br>
<br>
</span>In today's head there's no bpf.h file inclusion in cr-check.c :)<br>
<div><div class="h5"><br>
> compilation terminated.<br>
> CC cr-check.o<br>
> cr-check.c:16:23: fatal error: linux/bpf.h: No such file or directory<br>
> #include <linux/bpf.h><br>
> ^<br>
> compilation terminated.<br>
> make[1]: *** [cr-check.o] Error 1<br>
> make[1]: Leaving directory `/data/criu/eugene_akimov'<br>
> make: *** [built-in.o] Error 2<br>
><br>
><br>
><br>
> Git blame output:<br>
> 5e2ca506 (Tycho Andersen 2015-11-16 22:17:46 -0700 16) #include <linux/bpf.h><br>
> This problem was introduced by this commit. I've checked compilation before this patch and after its application.<br>
><br>
> My kernel version is<br>
> Linux version 3.13.0-63-generic (buildd@lgw01-18) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015<br>
><br>
> My dystro:<br>
> Distributor ID: Ubuntu<br>
> Description: Ubuntu 14.04.3 LTS<br>
> Release: 14.04<br>
> Codename: trusty<br>
><br>
> I have linux headers package installed:<br>
> linux-headers-3.13.0-24<br>
><br>
> Looks like bpf.h header location has changed in fresher kernels.<br>
><br>
> --<br>
> Best regards,<br>
> Eugene Batalov.<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> CRIU mailing list<br>
> <a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a><br>
> <a href="https://lists.openvz.org/mailman/listinfo/criu" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Eugene Batalov.</div>
</div>