[CRIU] CRIU in ArchLinux

Pavel Emelyanov xemul at parallels.com
Wed Oct 17 11:35:59 EDT 2012


On 10/17/2012 07:22 PM, Cyrill Gorcunov wrote:
> On Wed, Oct 17, 2012 at 07:15:03PM +0400, Andrew Grigorev wrote:
>> 17.10.2012 18:35, Cyrill Gorcunov пишет:
>>> Could you please fetch the latest git repo and check if the same error
>>> happens?
>>
>> There is other error (probably related to linux headers version):
>>
> 
> yup, i think so. As far as I see the PRIO_PROCESS is defined in resource.h
> linux header, so one might need to update headers before compiling crtools.
> 
> On the other hands it would be great I think even if we could build the tool
> with the older headers. Thus if you provide a patch for PRIO_PROCESS definition
> -- this would be just great. (Pavel, what you think?)

If "old headers" know the getpriority call, why don't they know the PRIO_PROCESS
macro?

>> restorer.c: In function ‘restore_sched_info’:
>> restorer.c:140:18: error: ‘PRIO_PROCESS’ undeclared (first use in this function)
>> restorer.c:140:18: note: each undeclared identifier is reported only once for each function it appears in
>>
>> But the code seems unchanged there, so siginfo_t-related error
>> should happen too.
> 
> OK, so could you please make a well-formed patch?
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://openvz.org/mailman/listinfo/criu
> 





More information about the CRIU mailing list