On Wed, Dec 13, 2006 at 01:25:03PM +0200, Constantine Kousoulos wrote:
> Sorry for that. I may have sent it in unicode. Here it is again:
> 
> arch/um/os-Linux/process.c:144: error: expected declaration 
> specifiers or ?...? before ?getpid?
> arch/um/os-Linux/process.c:146: warning: return type defaults to ?int?
> arch/um/os-Linux/process.c: In function ?_syscall0?:
> arch/um/os-Linux/process.c:147: error: expected ?=?, ?,?, ?;?, 
> ?asm? or ?__attribute__? before ?{? token

Didn't help.

> I tried to compile 2.6.19 and a different error message appears:
> 
> /home/uml/linux-2.6.19/arch/um/os-Linux/skas/process.c: In 
> function ?copy_context_skas0?:
> /home/uml/linux-2.6.19/arch/um/os-Linux/skas/process.c:342: error: 
> ?PAGE_SHIFT? undeclared (first use in this function)

Looks like it was the syscallX patch before.  This one is fixed by this patch:


Index: linux-2.6.17/arch/um/include/sysdep-i386/stub.h
===================================================================
--- linux-2.6.17.orig/arch/um/include/sysdep-i386/stub.h        2006-06-17 
21:49:35.000000000 -0400
+++ linux-2.6.17/arch/um/include/sysdep-i386/stub.h     2006-11-13 
16:41:37.000000000 -0500
@@ -9,6 +9,7 @@
 #include <sys/mman.h>
 #include <asm/ptrace.h>
 #include <asm/unistd.h>
+#include <asm/page.h>
 #include "stub-data.h"
 #include "kern_constants.h"
 #include "uml-config.h"

                                Jeff

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to