This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build failed in step 'Installing kernel headers'


I'm trying to use the crosstool-ng in cygwin to build a cross-compiler
for the Raspberry Pi.  I've upgraded my gcc/g++ to 4.6.3 (and I've
tried 4.7.1) and am running into a problem after the pass-1 of the
core compiler when it's on the step of "Installing kernel headers".
The error I get is:

[ERROR] make[4]: *** [netfilter] Error 2
[ERROR] make[3]: *** [linux] Error 2
[ERROR] make[2]: *** [headers_install] Error 2
[ERROR] make[1]: *** [sub-make] Error 2
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing kernel headers'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@172]
[ERROR] >> called from: do_kernel_install[scripts/build/kernel/linux.sh@113]
[ERROR] >> called from: do_kernel_headers[scripts/build/kernel/linux.sh@92]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@598]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/opt/cross/share/doc/crosstool-ng/ct-ng.1.15.2/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 32:37.55)

[32:40] / /opt/cross/bin/ct-ng:148: recipe for target `build' failed



The build log doesn't provide many more details:
[ALL  ]    /myCross/.build/src/linux-3.3.4/scripts/Makefile.headersinst:105:
recipe for target `netfilter' failed
[ERROR]    make[4]: *** [netfilter] Error 2
[ALL  ]    /myCross/.build/src/linux-3.3.4/scripts/Makefile.headersinst:105:
recipe for target `linux' failed
[ERROR]    make[3]: *** [linux] Error 2
[ALL  ]    /myCross/.build/src/linux-3.3.4/Makefile:1062: recipe for
target `headers_install' failed
[ERROR]    make[2]: *** [headers_install] Error 2
[ALL  ]    Makefile:130: recipe for target `sub-make' failed
[ERROR]    make[1]: *** [sub-make] Error 2
[ALL  ]    make[1]: Leaving directory `/myCross/.build/src/linux-3.3.4'
[ERROR]
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing kernel headers'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@172]
[ERROR]  >>        called from:
do_kernel_install[scripts/build/kernel/linux.sh@113]
[ERROR]  >>        called from:
do_kernel_headers[scripts/build/kernel/linux.sh@92]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@598]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      '/opt/cross/share/doc/crosstool-ng/ct-ng.1.15.2/B -
Known issues.txt'
[ERROR]
[ERROR]  (elapsed: 32:37.55)


I'm fairly new to crosstool-ng, so any advice is welcome.

Thanks!

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]