Re: 2.6.24-rc3-mm1 make headers_check fails

From: Andrew Morton
Date: Wed Nov 21 2007 - 04:05:05 EST


On Wed, 21 Nov 2007 03:52:08 -0500 (EST) "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> wrote:

> On Wed, 21 Nov 2007, Avi Kivity wrote:
>
> > Kamalesh Babulal wrote:
> > > Andrew Morton wrote:
> > >
> > > > On Wed, 21 Nov 2007 13:54:50 +0530 Kamalesh Babulal
> > > > <kamalesh@xxxxxxxxxxxxxxxxxx> wrote:
> > > >
> > > >
> > > > > The make headers_check fails,
> > > > >
> > > > > CHECK include/linux/usb/gadgetfs.h
> > > > > CHECK include/linux/usb/ch9.h
> > > > > CHECK include/linux/usb/cdc.h
> > > > > CHECK include/linux/usb/audio.h
> > > > > CHECK include/linux/kvm.h
> > > > > /root/kernels/linux-2.6.24-rc3/usr/include/linux/kvm.h requires
> > > > > asm/kvm.h, which does not exist in exported headers
> > > > >
> > > > hm, works for me, on i386 and x86_64. What's different over there?
> > > >
> > > Hi Andrew,
> > >
> > > It fails on the powerpc box, with allyesconfig option.
> >
> > How do we fix this? Export linux/kvm.h only on x86? Seems ugly.
>
> i'm sure i'm going to humiliate myself for asking this, but shouldn't
> i be able to reproduce the above by just running:
>
> $ make ARCH=powerpc headers_install/headers_check
>
> we've sort of had this discussion before where, IIRC, you should be
> able to generate the appropriate arch-specific headers without having
> the corresponding toolchain, no? so why can't i reproduce that error
> on my x86 box?
>

I can.

setenv ARCH powerpc
make mrproper
make allmodconfig
make headers_check
-
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/