On Fri, Sep 29, 2006 at 11:10:43PM +0200, Tomka Gergely wrote:
> Hi!
> 
> I tried to follow the documentation, but always stopped by this error:
> 
> arch/um/os-Linux/process.c:142: error: syntax error before "getpid"
> arch/um/os-Linux/process.c:144: warning: return type defaults to `int'
> arch/um/os-Linux/process.c:144: warning: function declaration isn't a 
> prototype
> arch/um/os-Linux/process.c: In function `_syscall0':
> arch/um/os-Linux/process.c:145: error: syntax error before '{' token
> arch/um/os-Linux/process.c:160: error: syntax error before "prot"
> arch/um/os-Linux/process.c:228: error: syntax error before '*' token
> make[1]: *** [arch/um/os-Linux/process.o] Error 1
> make: *** [arch/um/os-Linux] Error 2

Apply this patch:
        
http://user-mode-linux.sourceforge.net/work/current/2.6/2.6.18/patches/no-syscallx

It seems that the syscallX macros are disappearing, so this fixes UML
to only use syscall().

This patch is also in current -git and -mm, so you can grab those rather
than applying it separately.

                                Jeff

-------------------------------------------------------------------------
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
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to