LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   make headers_check errors [LFS V6.3, Sect 6.7 Linux-2.6.22.5 API Headers] (https://www.linuxquestions.org/questions/linux-from-scratch-13/make-headers_check-errors-%5Blfs-v6-3-sect-6-7-linux-2-6-22-5-api-headers%5D-589144/)

michealoc 10-03-2007 11:17 AM

make headers_check errors [LFS V6.3, Sect 6.7 Linux-2.6.22.5 API Headers]
 
Hello there,

Problem:
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-2.6.22.5" and the following is a cut and paste from my terminal:

Code:

root:/linux-2.6.22.5# sed -i '/scsi/d' include/Kbuild
root:/linux-2.6.22.5# make mrproper
  CLEAN  include/linux/version.h
root:/linux-2.6.22.5# make headers_check
  CHK    include/linux/version.h
  UPD    include/linux/version.h
  HOSTCC  scripts/basic/fixdep
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[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
root:/linux-2.6.22.5#

I would greatly appriciate any help on this one.

Thanks,
-Mick

michealoc 10-11-2007 09:03 AM

Folks,

You can forget about this one.

I wiped the box and started again from scratch.
Everything built ok this time so it was just some mistake that I made in the previous build.

I now have a new problem in that i cannot boot the newly built LFS.
However that is a seperate issue and if you are interested it is in a new thread: "Cannot boot: need initrd image?"

-M.


All times are GMT -5. The time now is 07:16 AM.