> > 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"
> 
It helped to the next file complaining about
"asm/page.h". I removed "asm/page.h" from all
remaining files and end up with the following
compilation error:

arch/um/os-Linux/skas/mem.c:222: error: ‘PAGE_SHIFT’
undeclared (first use in this function)

do You know what can be wrong  ?
thank You for help


      
____________________________________________________________________________________
Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html

-------------------------------------------------------------------------
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