UML build failure with 2.6.18
Hi
anyone having UML build failure with the shiny new 2.6.18
laptop /usr/src/sources/linux/linux-2.6.18# !ma make ARCH=um
SYMLINK arch/um/include/kern_constants.h SYMLINK arch/um/include/sysdep
make[1]: `arch/um/sys-i386/user-offsets.s' is up to date.
CHK arch/um/include/user_constants.h CHK include/linux/version.h CHK include/linux/compile.h 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 prototypearch/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
Quoted 15 lines · On Wed, Sep 20, 2006 at 05:27:12PM +0400, [email protected] wrote:
anyone having UML build failure with the shiny new 2.6.18
CC
arch/um/os-Linux/process.oarch/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 prototypearch/um/os-Linux/process.c: In function '_syscall0':arch/um/os-Linux/process.c:147: error: syntax error before '{' tokenarch/um/os-Linux/process.c:162: error: syntax error before 'prot'arch/um/os-Linux/process.c:209: error: parameter 'ok' is initializedarch/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