Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 12-17-2006, 06:23 AM   #1
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
Question Kernel compilation error

I am running RHEL 4. Here is the result of "uname -a" command
Linux testmachine 2.6.9-22.EL #1 Mon Sep 19 18:20:28 EDT 2005 i686 i686 i386 GNU /Linux

So I am trying to update the kernel to 2.6.19. But when i run the make command I am getting the following error:
[root@testmachine linux-2.6.19]# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
/usr/src/linux-2.6.19/scripts/ Cannot open 'n'
make[1]: *** [usr/initramfs_data.cpio.gz] Error 1
make: *** [usr] Error 2

I believe during installation I have selected to install every thing.
Any help will be highly appreciated.
Old 12-17-2006, 07:41 AM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Install the development packages as per the list in the ~/Documentation/Changes file in the kernel tree;
o  Gnu C                  3.2                     # gcc --version
o  Gnu make               3.79.1                  # make --version
o  binutils               2.12                    # ld -v
o  util-linux             2.10o                   # fdformat --version
o  module-init-tools      0.9.10                  # depmod -V
o  e2fsprogs              1.29                    # tune2fs
o  jfsutils               1.1.3                   # fsck.jfs -V
o  reiserfsprogs          3.6.3                   # reiserfsck -V 2>&1|grep reiserfsprogs
o  xfsprogs               2.6.0                   # xfs_db -V
o  pcmciautils            004                     # pccardctl -V
o  quota-tools            3.09                    # quota -V
o  PPP                    2.4.0                   # pppd --version
o  isdn4k-utils           3.1pre1                 # isdnctrl 2>&1|grep version
o  nfs-utils              1.0.5                   # showmount --version
o  procps                 3.2.0                   # ps --version
o  oprofile               0.9                     # oprofiled --version
o  udev                   081                     # udevinfo -V
The udev package may be a problem but I'm not 100% sure. You should have at least the versions listed above or higher installed. It does not hurt if you have the automake rpm packages installed also.

Last edited by Lenard; 12-17-2006 at 07:44 AM.


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
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
Kernel compilation error!! vishamr2000 Linux - General 8 02-27-2006 10:48 AM
kernel compilation error htamayo Linux - Software 3 01-07-2005 04:15 PM
kernel compilation error in 2.4.20-8 cranium2004 Linux - Software 1 11-24-2004 06:04 AM
Kernel 2.2.21 compilation error incudie Linux - Newbie 3 08-10-2003 02:04 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration