LinuxQuestions.org
Help answer threads with 0 replies.
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 02-08-2009, 12:28 PM   #1
jramirez07
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Linux from Scratch -> Glibc-2.5.1 error


Hello all,

I am building LFS for a college proyect & have been following the book v6.3, utilizing the livecd, I am also utilizing vmware workstation to build the LFS.

So I am a total linux newbie & have been following the book verbatim, I have encountered an issue when compiling the glibc-2.5.1 (this is step 5.6 on the book), the error is saying is:

"configure:error:GNU libc requires Kernel header files from linux 2.0.10or later to be installed before configuring. The kernel header files are found usually in /usr/include/asm and /usr/include/linux; make sure these directories use files from Linux 2.0.10 or later. This check uses <linux/version.h>, so make sure that file was build correctly when installing the kernel header files. to use the kernel headers not from /usr/include/linux, use the configure option --with-headers."

any ideas?
 
Old 02-08-2009, 01:00 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,947

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
Welcome to LQ.

Suggest : Go back to 5.5.1 And take care that the
headers are installed correctly.

5.5.6. Kernel-headers are in /tools/include/ and
your setup should cause 'glibc' configure to find
them there.
Quote:
../glibc-2.5.1/configure --prefix=/tools \
--disable-profile --enable-add-ons \
--enable-kernel=2.6.0 --with-binutils=/tools/bin \
--without-gd --with-headers=/tools/include \
--without-selinux
Good luck.

Last edited by knudfl; 02-08-2009 at 01:01 PM.
 
Old 02-08-2009, 04:22 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Moved: This thread is more suitable in <Linux-Distributions --> Linux From Scratch> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply

Tags
lfs


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
Linux from Scratch 'make mrproper' error Sarist Linux From Scratch 7 10-15-2009 07:58 AM
hardened linux from scratch glibc build hardened-specs.sh problem behmjoe Linux From Scratch 2 09-04-2005 02:06 PM
failed make check on:Linux from Scratch - Version SVN-20050524 - 6.11. Glibc-2.3.5 jery_wang2002 Linux From Scratch 3 06-02-2005 02:44 PM


All times are GMT -5. The time now is 01:19 AM.

Main Menu
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