Re: UML build failure with 2.6.18

From: Mitch
Date: Wed Sep 20 2006 - 11:31:49 EST


It's no distro (built up myself, so you can assume a gentoo type build).
I'm building from scratch, so it should use no headers since i'm building a kernel.

-------- Original Message --------
Subject: Re: UML build failure with 2.6.18
Date: Wed, 20 Sep 2006 11:22:57 -0400
From: Jeff Dike <jdike@xxxxxxxxxxx>
To: Mitch@xxxxxxxxx
CC: linux-kernel@xxxxxxxxxxxxxxx
References: <Pine.LNX.4.63.0609201724320.29128@xxxxxxxxxx>

On Wed, Sep 20, 2006 at 05:27:12PM +0400, Mitch@xxxxxxxxx wrote:
anyone having UML build failure with the shiny new 2.6.18

CC arch/um/os-Linux/process.o
arch/um/os-Linux/process.c:144: error: syntax error before 'getpid'
arch/um/os-Linux/process.c:146: warning: return type defaults to 'int'
arch/um/os-Linux/process.c:146: warning: function declaration isn't a
prototype
arch/um/os-Linux/process.c: In function '_syscall0':
arch/um/os-Linux/process.c:147: error: syntax error before '{' token
arch/um/os-Linux/process.c:162: error: syntax error before 'prot'
arch/um/os-Linux/process.c:209: error: parameter 'ok' is initialized
arch/um/os-Linux/process.c:211: error: syntax error before 'printk'
arch/um/os-Linux/process.c:279: error: syntax error before '*' token
make[1]: *** [arch/um/os-Linux/process.o] Error 1
make: *** [arch/um/os-Linux] Error 2

What's the host distro?

I just built (plus the jmmpbuf patch, which isn't the problem here)
and booted it, and it seems fine here.

Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/