LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:01 PM.

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
Open Source Consulting | Domain Registration