I have got to section 6.7 Linux API Headers installation and the
make headers_check is giving errors.
How I got to here:
I followed all the steps in 6.1 -> 6.6 so after the chroot I am now in new root directory, which for previous sections was referenced by $LFS = /opt/lfs/.
I put the Linux Api header tar ball into this directory and unzipped it.
I cd'd to the resultant directory "linux-18.104.22.168" and the following is a cut and paste from my terminal:
root:/linux-22.214.171.124# sed -i '/scsi/d' include/Kbuild
root:/linux-126.96.36.199# make mrproper
root:/linux-188.8.131.52# make headers_check
gcc: error trying to exec '/tools/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/as': execv: No such file or directory
make: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
I would greatly appriciate any help on this one.