[CRIU] [PATCH] criu/compat: fixup to criu-dev rebase
Dmitry Safonov
dsafonov at virtuozzo.com
Tue Dec 13 05:30:32 PST 2016
On 12/13/2016 04:27 PM, Dmitry Safonov wrote:
> Fixes build error:
> In file included from /home/travis/build/xemul/criu/criu/arch/x86/include/asm/restorer.h:9:0,
> from criu/arch/x86/crtools.c:10:
> /home/travis/build/xemul/criu/criu/arch/x86/include/asm/compat.h: In function ‘free_compat_syscall_stack’:
> /home/travis/build/xemul/criu/criu/arch/x86/include/asm/compat.h:29:3: error: implicit declaration of function ‘pr_err’ [-Werror=implicit-function-declaration]
> pr_err("munmap of compat addr %p failed with %ld", mem, ret);
> ^
>
> I can't include "log.h" in "compat.h", as it's used in PIE and CRIU
> both.
>
> Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
Not sure, why on previous criu-dev it builded fine, but now (after v2.9
rebase) fails, but here it is - fast fixup.
Excuses about the inconvenience.
--
Dmitry
More information about the CRIU
mailing list