LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 06-29-2002, 10:49 AM   #1
natto34
Member
 
Registered: Mar 2002
Distribution: Custom - LFS base
Posts: 30

Rep: Reputation: 15
Kernel Won't Compile For i586 machine


I'm trying to build a custom 2.4.18 kernel for my LFS distro b/ it won't compile for my i586 machine. I run the make mrproper && make menuconfig and get to the make dep and receive this message-->
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/limits.h:177,
from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/syslimits.h:7,
from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/limits.h:11,
from scripts/mkdep.c:35:
/usr/include/bits/local_lim.h:36: linux/limits.h: No such file or directory
make: *** [scripts/mkdep] Error 1

If you have any idea how to fix this problem please respond to this post.
 
Old 06-29-2002, 11:49 PM   #2
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 328

Rep: Reputation: 31
Is it possible that you didn't call your kernel source directory "/usr/src/linux"? That can be a symlink -

$ ls -l /usr/src
total 12
lrwxrwxrwx 1 root root 12 May 18 18:17 linux -> linux-2.4.18
drwxr-xr-x 14 573 573 4096 Jun 26 23:34 linux-2.4.18

$ ls -l /usr/src/linux/include/linux/limits.h
-rw-r--r-- 1 573 573 765 Feb 25 14:38 /usr/src/linux/include/linux/limits.h

Hope it helps,
Martin
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How long does it take to compile the kernel on a slow machine? Shagrath239 Slackware 10 02-14-2005 11:11 PM
Is it possible to compile linux apps on a windows machine? snuffalufagus Linux - Software 3 11-16-2004 02:01 PM
Compile kernel on one machine, move it to another dhave Slackware 11 10-21-2004 04:54 AM
MDK10 is from "i586" isos. What about i686 machine? soloist Mandriva 6 03-20-2004 10:50 PM
How to install kernel-source-2.4.22-10mdk.i586.rpm jazzeduppenguin Mandriva 2 03-10-2004 05:52 AM


All times are GMT -5. The time now is 08:00 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