LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

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

Rep: Reputation: 0
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
 
Old 10-11-2007, 10:03 AM   #2
michealoc
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


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


All times are GMT -5. The time now is 09:47 AM.

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