Hi I have been trying to use crosstools-ng on a pretty up to date LFS to create an arm tool-chain, but I can not get it to use my kernel headers which are for 3.4.7, I have tried a clean extract from the tarball and then done this:
Code:
make ARCH=arm INSTALL_HDR_PATH=$(pwd)/hdr headers_install
tar cjf my-linux-3.4.7-headers.tar.bz2 -C hdr include
All of which goes fine but when I point crosstools at the tarball I get an error like so
Code:
[INFO ] Installing kernel headers
[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@258]
[ERROR] >> called from: do_kernel_install[scripts/build/kernel/linux.sh@112]
[ERROR] >> called from: do_kernel_headers[scripts/build/kernel/linux.sh@91]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@609]
[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] >> '/usr/share/doc/crosstool-ng/ct-ng.1.17.0/B - Known issues.txt'
I have tried pointing crosstools at both the header install folder(hdr), the whole linux folder, the main linux tarball and the tarball made as above, and I still get the above error, if I use a builtin kernel ie 3.6.3 it builds and installs fine, can't seem to find an answer to this and I need to compile this with a custom kernel as I am using armedslack on the pi.
P.S.
I am NOT compiling this on the pi but on my main LFS install.
Crosstools itself compiles and installs fine.