LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Kernel compilation error (https://www.linuxquestions.org/questions/red-hat-31/kernel-compilation-error-511305/)

windycity_linux 12-17-2006 06:23 AM

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/gen_initramfs_list.sh: 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.
thanks

Lenard 12-17-2006 07:41 AM

Install the development packages as per the list in the ~/Documentation/Changes file in the kernel tree;
Code:

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.


All times are GMT -5. The time now is 12:52 AM.