[CRIU] CRIU compilation error after recent rebase to master

Batalov Eugene eabatalov89 at gmail.com
Tue Nov 24 04:59:11 PST 2015


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>
                       ^
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151124/7af0b135/attachment.html>


More information about the CRIU mailing list