LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-12-2002, 07:51 PM   #1
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Rep: Reputation: 30
It says I did not install a kernel?


Under chrooting to the $LFS and running a glibc compile and install i get the following:


running configure fragment for ../glibc-2.2.4/linuxthreads/sysdeps/unix/sysv/linux
running configure fragment for ../glibc-2.2.4/sysdeps/unix/sysv/linux
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or 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 built correctly when installing the kernel header
files. To use kernel headers not from /usr/include/linux, use the
configure option --with-headers.

anyone? anyone? anyone?
 
Old 02-13-2002, 04:01 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
It's looking for the file /usr/include/linux/version.h which it probably can't find. I doubt if they are there that they are really too old. Unless it's having problems with time checks and you someohow modified the time somewhere in the meantime. If you followed all the instructions properly in chapter 5 when installing the kernel the file version.h should really be there. Running the command make dep will create the version.h file. After that there are several commands to copy the headers files to /usr/include. You should make sure all these steps get run properly and that the kernel headers are actually present in /usr/include/linux.
 
Old 02-13-2002, 02:42 PM   #3
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
going back i realized a tiny error during the kernel install and installed the kernel again and things came out fine... had to do i think with a bad install of gcc
 
  


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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 10:17 AM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 07:58 PM
Kernel Panic - Root Disks - install.1 install.2 bonecrusher Slackware - Installation 17 05-30-2004 11:59 AM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 10:39 PM
How to install linux on a no-default-install-kernel-compatible controller ? DukeMC Linux - Hardware 2 11-20-2003 04:37 AM


All times are GMT -5. The time now is 04:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration