Linux kernel not compiling

This is a discussion on Linux kernel not compiling within the Tech Board forums, part of the Community Boards category; I am trying to compile the Linux kernel, and I am having a problem. Whenever I run make install I ...

  1. #1
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552

    Linux kernel not compiling

    I am trying to compile the Linux kernel, and I am having a problem. Whenever I run make install I get this:
    Code:
    tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT > bzImage
    Root device is (3, 4)
    Boot sector 512 bytes.
    Setup is 2615 bytes.
    System is 1130 kB
    warning: kernel is too big for standalone boot from floppy
    sh -x ./install.sh 2.4.20-8custom bzImage /usr/src/linux-2.4.20-8/System.map ""
    + '[' -x /root/bin/installkernel ']'
    + '[' -x /sbin/installkernel ']'
    + exec /sbin/installkernel 2.4.20-8custom bzImage /usr/src/linux-2.4.20-8/System.map ''
    /lib/modules/2.4.20-8custom is not a directory.
    mkinitrd failed
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/usr/src/linux-2.4.20-8/arch/i386/boot'
    make: *** [install] Error 2
    The steps I follow to compile are as follows:
    1. I open the KDE kernel configure program (a graphical alternitive to make configure)
    2. I run make symlinks dep
    3. I run make clean
    4. I run make install

    I've also tryed without using make clean, and the error still happens.

    BTW, I'm using
    Red Hat Linux 9
    AMD Athlon XP 2000+
    512MB RAM

  2. #2
    Registered User
    Join Date
    Jul 2002
    Posts
    913
    i had something like this, make the folder it wants. it didnt actually do anything but it wanted it.

    redhat to?

  3. #3
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    yep.

    I was thinking about just making the directory, but I figured there may be some files it needs in it, and I might screw up the compile if I did that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SOS - Can a monolithic kernel be used in a micro-kernel style OS?
    By sean in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 11-20-2008, 09:30 AM
  2. linux kernel module programming
    By open_engg in forum Linux Programming
    Replies: 2
    Last Post: 08-05-2007, 05:41 PM
  3. newbie : compiling a C++ program in linux
    By gemini_shooter in forum C++ Programming
    Replies: 5
    Last Post: 06-23-2005, 03:45 PM
  4. Linux Media Player
    By joshdick in forum A Brief History of Cprogramming.com
    Replies: 43
    Last Post: 09-07-2003, 09:08 AM
  5. Cross Compiling with Linux and Turbo C
    By ozgulker in forum Linux Programming
    Replies: 0
    Last Post: 11-18-2002, 03:07 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21