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

From: Toralf Förster
Date: Wed May 14 2008 - 09:03:33 EST


At Wednesday 14 May 2008 14:55:48 Jeff Dike wrote :
> 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
>

Right, IIRC I ran into this some times ago under Gentoo Linux.

--
MfG/Sincerely

Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

Attachment: signature.asc
Description: This is a digitally signed message part.