Results 1 to 2 of 2

Thread: First running of Make

  1. #1

    First running of Make

    Am doing a internship, fairly new to linux.
    Installed RedHat 7, discs from RH Unleashed book, on intel box, as server, installed fine.
    Problem is the lan is token ring so need to install Madge card driver. I have it copied in the tmp dir and untarred ready to make. However the first run of make in RH requires you to give the prefix (path) to the kernel headers or the source.
    Checking on an install of the headers pkg, I am told it is already installed. The question is how do I find out where it is. I see the xx.h files but the make routine answers that what I put in for the prefix does not find the headers.
    Yes, I am definitely a newbie.
    Any help would be appreciated

  2. #2

    Re:First running of Make

    eeeeeeek! Red Hat 7.0!

    The compiler that originally shipped with Red Hat 7.0 was a new version and was buggy. Make sure you have applied the updates available for 7.0.

    The kernel source will be installed in /usr/src/linux-<kernelversion>
    There will also be a symlink /usr/src/linux pointing to the source.

    Do you have the kernel source installed? You can find out with:

    rpm -q kernel source

    You must have the kernel source installed for the kernel you are running.
    This shows you what kernel you are running.

    uname -r

    Another reason it may not be finding the kernel source is that Red Hat adds the word "custom" to the end of the EXTRAVERSION line in the toplevel Makefile in the kernel source. This helps prevent newbie kernel compilers from overwriting their existing kernels.

    Take a look at this thread. It is for RH 7.3, but it will give you an idea what is required to compile a kernel module;threadid=1012

    Jim H

Similar Threads

  1. running remote command, then leave it running
    By Blaqb0x in forum Linux - General Topics
    Replies: 1
    Last Post: 10-03-2003, 10:36 PM
  2. running giFT
    By TweakerFD in forum Linux - Software, Applications & Programming
    Replies: 8
    Last Post: 07-18-2003, 11:07 PM
  3. Running Waimea
    By papanohair in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 12-12-2002, 01:41 PM
  4. Errors after running X
    By SunDevil in forum Redhat / Fedora
    Replies: 1
    Last Post: 11-08-2002, 08:04 AM
  5. Red Hat running Apache
    By datamike in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 02-07-2002, 06:12 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts