LinuxQuestions.org
Help answer threads with 0 replies.
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
  Search this Thread
Old 11-27-2002, 01:36 PM   #1
bschmidt
LQ Newbie
 
Registered: Nov 2002
Posts: 11

Rep: Reputation: 0
compiling kernel


I've recently learned and tried to recompile my kernel to make my system suit me better, but all has not gone well. I'm running RedHat8.0 using kernel version 2.4.18-18.8.0 I can configure it and make dependencies, but when it come to 'make bzImage' or trying to 'make modules' or 'make modules_install', I get the following (same things of each of the three commands):

gcc -Wall -Wstrict-prototypes -02 -fomit-frame-pointer -o scripts/split-include
scripts/split-include.c
In file included from /usr/include/errno.h:36,
from scripts/split-include.c:26:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directoty
make: *** [scripts/split-include] Error1

I've found the same problem when trying to recompile my 2.4.14 kernel. Has anyone seen this before on know how to fix it so I can finally make an image and make my modules?
 
Old 11-27-2002, 02:01 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
presumably you have not linked the kernel headers to your include path. /usr/include/linux should be a symlink to /usr/src/linux/include/linux
 
Old 11-27-2002, 03:20 PM   #3
RijilV
Member
 
Registered: Sep 2002
Location: somewhere
Distribution: gentoo
Posts: 123

Rep: Reputation: 15
http://www.uwsg.iu.edu/hypermail/lin...07.3/0587.html

to sum that up, there *should*not*be* a link for the kernel headers anymore...or so says Linus.


if you are using RedHat's kernel source, I strongly suggest you go out and get fresh kernel source, uncompress it in your home directory and go from there...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling kernel = kernel panic Tons of Fun Debian 5 07-02-2005 02:59 PM
Compiling kernel module for linux kernel 2.4 in 2.6 guam Linux - Software 0 01-13-2005 03:02 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 05:17 AM
Compiling new kernel joseph Linux - Software 2 10-14-2003 08:26 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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