Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 10-03-2007, 12:17 PM   #1
LQ Newbie
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
make headers_check errors [LFS V6.3, Sect 6.7 Linux- API Headers]

Hello there,

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

root:/linux- sed -i '/scsi/d' include/Kbuild
root:/linux- make mrproper
  CLEAN   include/linux/version.h
root:/linux- 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
I would greatly appriciate any help on this one.

Old 10-11-2007, 10:03 AM   #2
LQ Newbie
Registered: Aug 2007
Posts: 3

Original Poster
Rep: Reputation: 0

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?"



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of Linux API Headers martinwprior Linux From Scratch 3 09-28-2007 02:19 AM
"make headers_check" gives errors during "5.5.1 Installation of Linux API headers " void_man() Linux From Scratch 3 09-26-2007 10:16 PM
Unable to compile (make, make install):need linux-headers smiley_lauf Linux - Newbie 3 01-31-2006 01:05 AM
LFS on PPC(linux-headers) DarthBane Linux From Scratch 1 06-05-2004 09:24 PM
LFS Chap 5 - gcc first make command errors antken Linux From Scratch 3 03-17-2003 11:38 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration