[CRIU] CRIU compilation error after recent rebase to master
Pavel Emelyanov
xemul at parallels.com
Tue Nov 24 08:48:02 PST 2015
On 11/24/2015 03:59 PM, Batalov Eugene wrote:
> Hello.
>
> I got the following problem with compilation of CRIU.
> When I run make:
> DEP cr-check.d
> cr-check.c:16:23: fatal error: linux/bpf.h: No such file or directory
> #include <linux/bpf.h>
In today's head there's no bpf.h file inclusion in cr-check.c :)
> compilation terminated.
> CC cr-check.o
> cr-check.c:16:23: fatal error: linux/bpf.h: No such file or directory
> #include <linux/bpf.h>
> ^
> compilation terminated.
> make[1]: *** [cr-check.o] Error 1
> make[1]: Leaving directory `/data/criu/eugene_akimov'
> make: *** [built-in.o] Error 2
>
>
>
> Git blame output:
> 5e2ca506 (Tycho Andersen 2015-11-16 22:17:46 -0700 16) #include <linux/bpf.h>
> This problem was introduced by this commit. I've checked compilation before this patch and after its application.
>
> My kernel version is
> Linux version 3.13.0-63-generic (buildd at lgw01-18) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015
>
> My dystro:
> Distributor ID: Ubuntu
> Description: Ubuntu 14.04.3 LTS
> Release: 14.04
> Codename: trusty
>
> I have linux headers package installed:
> linux-headers-3.13.0-24
>
> Looks like bpf.h header location has changed in fresher kernels.
>
> --
> Best regards,
> Eugene Batalov.
>
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
>
More information about the CRIU
mailing list