In file included from ipc/util.h:15,
                 from ipc/compat.c:35:
include/linux/checkpoint_hdr.h:42:32: error: asm/checkpoint_hdr.h: No such file 
or directory
In file included from ipc/util.h:15,
                 from ipc/compat.c:35:
include/linux/checkpoint_hdr.h:419: error: ‘CKPT_ARCH_NSIG’ undeclared here 
(not in a function)
make[1]: *** [ipc/compat.o] Error 1
make: *** [ipc] Error 2

(powerpc, ppc64_defconfig)

Needs the following to build when arch doesn't provide
asm/checkpoint_hdr.h.

diff --git a/ipc/util.h b/ipc/util.h
index 48de0a9..1ddfd90 100644
--- a/ipc/util.h
+++ b/ipc/util.h
@@ -12,7 +12,7 @@
 
 #include <linux/unistd.h>
 #include <linux/err.h>
-#include <linux/checkpoint_hdr.h>
+#include <linux/checkpoint.h>
 
 #define SEQ_MULTIPLIER (IPCMNI)
 

_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to