[lkml]   [2009]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject'make headers_check' failed to install headers to arbitrary location

    I'm trying to install kernel headers to build a cross-toolchain, but got
    the following:

    make ARCH=arm
    CHECK include/linux/raid (2 files)
    CHECK include/linux/spi (1 files)
    CHECK include/linux/sunrpc (1 files)
    CHECK include/linux/tc_act (6 files)
    CHECK include/linux/tc_ematch (4 files)
    CHECK include/linux/usb (8 files)
    make[2]: execvp: /bin/sh: Argument list too long
    make[2]: ***
    Error 127
    make[1]: *** [linux] Error 2
    make: *** [headers_check] Error 2

    The kernel version is 2.6.28

    However, this works fine for

    Running make with '-n', I've found the problem is that the filelist
    passed as argument to scripts/ apparently is too big.

    The error depends also on a bash version, it failed on 2.05a, but passed
    on 3.2.39. Unfortunately, bash (or the hole host system) upgrade is not
    an option. Also, I'm sure I could find a path length big enough to
    reproduce the error on a modern bash.

    What would you suggest to resolve the problem?

    Thanks for any help.


     \ /
      Last update: 2009-05-14 18:37    [W:0.018 / U:6.620 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site