On Friday 13 October 2006 20:59, Jeff Dike wrote:
> On Thu, Oct 12, 2006 at 05:53:32PM -0400, Luis Useche wrote:
> > Do anybody have idea of my problem?
>
> Have you checked whether you have /usr/include/linux/threads.h?
>
> If not, maybe you should install whatever package supplies it.  On Fedora,
> it's glibc-kernheaders.

Ulrich Drepper just posted a patch to fix this _for FC6_. On Fedora 6, that 
header does not exist any more. If you are using another distro (including 
Fedora 5) the tip given by Jeff should be the correct one.

Did you solve your problem in the end?

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
From [EMAIL PROTECTED] Sun Oct 15 21:15:06 2006
Message-Id: <[EMAIL PROTECTED]>
Subject: + make-uml-copmile.patch added to -mm tree
To: mm-commits@vger.kernel.org
Cc: [EMAIL PROTECTED],
 [EMAIL PROTECTED],
 [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Date: Sun, 15 Oct 2006 12:15:06 -0700

The patch titled

     make UML compile

has been added to the -mm tree.  Its filename is

     make-uml-copmile.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: make UML compile
From: Ulrich Drepper <[EMAIL PROTECTED]>

I need this patch to get a UML kernel to compile.  This is with the kernel
headers in FC6 which are automatically generated from the kernel tree. 
Some headers are missing but those files don't need them.  At least it
appears so since the resulting kernel works fine.

Tested on x86-64.

Signed-off-by: Ulrich Drepper <[EMAIL PROTECTED]>
Cc: Jeff Dike <[EMAIL PROTECTED]>
Cc: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 arch/um/include/kern_util.h    |    1 -
 arch/um/sys-x86_64/stub_segv.c |    1 -
 2 files changed, 2 deletions(-)

diff -puN arch/um/include/kern_util.h~make-uml-copmile arch/um/include/kern_util.h
--- a/arch/um/include/kern_util.h~make-uml-copmile
+++ a/arch/um/include/kern_util.h
@@ -6,7 +6,6 @@
 #ifndef __KERN_UTIL_H__
 #define __KERN_UTIL_H__
 
-#include "linux/threads.h"
 #include "sysdep/ptrace.h"
 #include "sysdep/faultinfo.h"
 
diff -puN arch/um/sys-x86_64/stub_segv.c~make-uml-copmile arch/um/sys-x86_64/stub_segv.c
--- a/arch/um/sys-x86_64/stub_segv.c~make-uml-copmile
+++ a/arch/um/sys-x86_64/stub_segv.c
@@ -5,7 +5,6 @@
 
 #include <stddef.h>
 #include <signal.h>
-#include <linux/compiler.h>
 #include <asm/unistd.h>
 #include "uml-config.h"
 #include "sysdep/sigcontext.h"
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

make-uml-copmile.patch
honour-mnt_noexec-for-access.patch
kevent-core-files.patch
kevent-core-files-fix.patch
kevent-core-files-s390-hack.patch
kevent-poll-select-notifications.patch
kevent-socket-notifications.patch
kevent-socket-notifications-fix-2.patch
kevent-socket-notifications-fix-4.patch
kevent-timer-notifications.patch


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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