LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   It says I did not install a kernel? (https://www.linuxquestions.org/questions/linux-from-scratch-13/it-says-i-did-not-install-a-kernel-14145/)

Chijtska 02-12-2002 06:51 PM

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?

Mik 02-13-2002 03:01 AM

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.

Chijtska 02-13-2002 01:42 PM

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


All times are GMT -5. The time now is 02:07 PM.