lkml.org 
[lkml]   [2007]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: hci_sock.c build failure
    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-09-12 14:21    [W:0.054 / U:0.712 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site