[CRIU] criu compilation error

Adrian Reber adrian at lisas.de
Mon Feb 29 09:03:17 PST 2016


On Mon, Feb 29, 2016 at 09:00:45AM -0800, Andrew Vagin wrote:
> Hi Adrian,
> 
> You need to install libcap-devel

Thanks, that was easy.

> On Mon, Feb 29, 2016 at 05:29:25PM +0100, Adrian Reber wrote:
> > I just update my git on Fedora 23 and CentOS 7 to today's git
> > 
> >  c153c23 cgroup: remove the restriction of subset-of-root-set
> > 
> > and I get on both systems:
> > 
> > make[2]: Entering directory `/share/criu/criu'
> >   DEP      namespaces.d
> > namespaces.c:12:28: fatal error: sys/capability.h: No such file or directory
> >  #include <sys/capability.h>
> >                             ^
> > compilation terminated.
> >   CC       namespaces.o
> > namespaces.c:12:28: fatal error: sys/capability.h: No such file or directory
> >  #include <sys/capability.h>
> >                             ^
> > compilation terminated.
> > make[2]: *** [namespaces.o] Error 1
> > 
> > Checking out 733c926abba7ead710252356160fbce44e7ee763 I can compile criu
> > again. This is the commit before above includes were introduced.
> > 
> > 		Adrian
> > _______________________________________________
> > CRIU mailing list
> > CRIU at openvz.org
> > https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list