Re: UML build issue with v2.6.26-rc2-129-g9604006

From: Jeff Dike
Date: Wed May 14 2008 - 08:56:23 EST


On Wed, May 14, 2008 at 07:22:17PM +0800, WANG Cong wrote:
> On Wed, May 14, 2008 at 01:01:27PM +0200, =?ISO-8859-1?Q?Toralf_F=F6rster_ wrote:
> >Today I got:
> >
> >...
> > CC arch/um/os-Linux/skas/process.o
> > LD arch/um/os-Linux/skas/built-in.o
> > CC arch/um/os-Linux/sys-i386/registers.o
> >arch/um/os-Linux/sys-i386/registers.c:8:22: error: asm/user.h: No such file or directory
> >arch/um/os-Linux/sys-i386/registers.c: In function 'arch_init_registers':
> >arch/um/os-Linux/sys-i386/registers.c:78: error: storage size of 'fpx_regs' isn't known
> >arch/um/os-Linux/sys-i386/registers.c:78: warning: unused variable 'fpx_regs'
> >make[2]: *** [arch/um/os-Linux/sys-i386/registers.o] Error 1
> >make[1]: *** [arch/um/os-Linux/sys-i386] Error 2
> >make: *** [arch/um/os-Linux] Error 2
>
>
> Hmm, it seems that I can't reproduce it with your .config.
> And <asm/user.h> does exist.

I bet he's using the headers exported by the current kernel, not what
his distro gives him.

Jeff

--
Work email - jdike at linux dot intel dot com
--
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/