[CRIU] Compile errors with 4.18 kernels
Radostin Stoyanov
rstoyanov1 at gmail.com
Fri Jun 15 00:50:56 MSK 2018
On 14/06/18 19:20, Adrian Reber wrote:
> As I see it also in travis (https://api.travis-ci.org/v3/job/392077603/log.txt)
> I guess it is known that currently compilation fails on early 4.18
> kernels.
>
> CC criu/pie/parasite.o
> In file included from /usr/include/asm/signal.h:7,
> from /usr/include/linux/signal.h:5,
> from /usr/include/linux/aio_abi.h:32,
> from criu/include/aio.h:4,
> from criu/pie/parasite.c:22:
> /usr/include/linux/time.h:10:8: error: redefinition of ‘struct timespec’
>
> (and more)
>
> Is this a bug in the kernel or does it need a fix in CRIU? Just curious
> if somebody is looking into it?
The problem comes from the commit below, which includes <linux/signal.h>
in linux/aio_abi.h
https://github.com/torvalds/linux/commit/7a074e96dee62586c935c80cecd931431bfdd0be#diff-590a640c13a8f3a134e57b84f5c4fb79
I will try to fix it and I will send a patch.
Radostin
> Adrian
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20180614/acb66292/attachment-0001.html>
More information about the CRIU
mailing list