Re: hci_sock.c build failure

From: Robert P. J. Day
Date: Wed Sep 12 2007 - 08:19:02 EST


On Wed, 12 Sep 2007, Greg KH wrote:

> On Wed, Sep 12, 2007 at 11:29:29AM +0200, Andre Haupt wrote:
> > Hi,
> >
> > I did a make randconfig and then make C=1.
> >
> > hci_sock.c fails to build because it doesnt know compat_timeval (i
> > guess).
> >
> > find the error message and the config attached.
>
> It's not even a randconfig issue, my build dies too (this is Linus's
> current tree.)
>
> Time to poke through the 10 bluetooth patches that were just added...
>
> thanks,
>
> greg k-h

that structure is undefined because that source file includes
<linux/compat.h>, which turns around and includes <asm/compat.h>
which, for i386, doesn't exist:

$ find include -name compat.h
include/asm-ia64/compat.h
include/config/video/v4l1/compat.h
include/config/sonypi/compat.h
include/asm-s390/compat.h
include/asm-mips/compat.h
include/linux/compat.h
include/asm-parisc/compat.h
include/asm-sparc64/compat.h
include/asm-x86_64/compat.h
include/asm-powerpc/compat.h
include/net/compat.h

rday

--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================
-
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/