[CRIU] linux/fanotify.h: No such file or directory
Kir Kolyshkin
kir at openvz.org
Mon Mar 24 08:47:23 PDT 2014
On 03/24/2014 03:16 AM, linuxchyu at sina.com wrote:
>
> I was in centos 6.3, and when i used ubuntu, there was no such error.
You need very recent 3.x kernel in order to compile CRIU. In CentOS
there is 2.6.32 which is way too old to support CRIU, and there's no
fanotify.h in kernel-headers
> ------------------------------------------------------------------------
> linuxchyu at sina.com
>
> *From:* Kir Kolyshkin <mailto:kir at openvz.org>
> *Date:* 2014-03-24 11:34
> *To:* linuxchyu at sina.com <mailto:linuxchyu at sina.com>;
> criu at openvz.org <mailto:criu at openvz.org>
> *Subject:* Re: [CRIU] linux/fanotify.h: No such file or directory
> On 03/23/2014 01:34 AM, linuxchyu at sina.com wrote:
>> Hello everyone ,when i was compiling criu-1.2, some errors happened:
>> *fsnotify.c:22:28: fatal error: linux/fanotify.h: No such file or
>> directory *
>> I want to know where i can find the *linux/fanotify.h ,*and i
>> just cannot find it in /usr/include , /usr/local/include and
>> kernel headers.
>> Thanks very much !
>>
> Most probably you need to install kernel-headers package. If it's
> Fedora or Suse, try
>
> yum install kernel-headers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140324/00c433b3/attachment.html>
More information about the CRIU
mailing list