Thread: Linux kernel not compiling

  1. #1

    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:
    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 ./ 2.4.20-8custom bzImage /usr/src/linux-2.4.20-8/ ""
    + '[' -x /root/bin/installkernel ']'
    + '[' -x /sbin/installkernel ']'
    + exec /sbin/installkernel 2.4.20-8custom bzImage /usr/src/linux-2.4.20-8/ ''
    /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
    i had something like this, make the folder it wants. it didnt actually do anything but it wanted it.

    redhat to?

  3. #3

    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
    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, 04:41 PM
  3. newbie : compiling a C++ program in linux
    By gemini_shooter in forum C++ Programming
    Replies: 5
    Last Post: 06-23-2005, 02:45 PM
  4. Linux Media Player
    By joshdick in forum A Brief History of
    Replies: 43
    Last Post: 09-07-2003, 08: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