[Openswan dev] building UMLs on debian

Michael Richardson mcr at xelerance.com
Thu Jan 10 18:18:10 EST 2008


If you are trying to build a 2.6.19-ish kernel as a UML on a Debian etch
system, you may need the following patch to the kernel:

index 9b34fe6..0f23861 100644
--- a/arch/um/os-Linux/skas/process.c
+++ b/arch/um/os-Linux/skas/process.c
@@ -14,8 +14,9 @@
 #include <sys/mman.h>
 #include <sys/user.h>
 #include <sys/time.h>
-#include <sys/syscall.h>
+#include <asm/unistd.h>
 #include <asm/types.h>
+#include <asm-i486/page.h>
 #include "user.h"
 #include "sysdep/ptrace.h"
 #include "user_util.h"



More information about the Dev mailing list