On Mon, Oct 08, 2007 at 01:11:43PM +0200, Jan Wolff wrote:
> I assume, you need to update your linux-headers.

No, we need to fix UML bugs.

> The include files in the kernel directory are meant for internal use and
> specify the interface of the kernel you build. The UML-Guest kernel
> itself is a user-space program that needs those definitions of the
> kernel that will host it.

Not really.  The libc side of UML, which clone.c is part of, needs
libc definitions, not kernel definitions.

> I had a similar issue some time ago. In my case, I needed to downgrade
> the linux-headers because some files were removed from include.

The patch below should fix the problem.

                                Jeff

-- 
Work email - jdike at linux dot intel dot com

Index: linux-2.6.22/arch/um/kernel/skas/clone.c
===================================================================
--- linux-2.6.22.orig/arch/um/kernel/skas/clone.c       2007-10-05 
10:42:22.000000000 -0400
+++ linux-2.6.22/arch/um/kernel/skas/clone.c    2007-10-08 10:59:29.000000000 
-0400
@@ -3,7 +3,6 @@
 #include <sys/mman.h>
 #include <sys/time.h>
 #include <asm/unistd.h>
-#include <asm/page.h>
 #include "ptrace_user.h"
 #include "skas.h"
 #include "stub-data.h"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to