Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Unhappy Module Programming Problem in Redhat

    I don't know where to put this question correctly, Redhat box or Kernel box. But it's a problem in kernel programming so I thought it may sit here .
    I have just had a start in kernel module programming. All I have were a Redhat Enterprise WS3 box and "The Linux Kernel Programming Guide". When I tried to compile my first module as the instruction
    [root@pcsenonsrv test_module]# make −C /usr/src/linux−`uname −r` SUBDIRS=$PWD modules
    I found that the directory /usr/src/linux didn't exist in Redhat. And I have tried to find a equivalent directory but nothing appeared. What can I do in this case? How can I compile my modules in Redhat distro?

  2. #2
    Linux User fernape's Avatar
    Join Date
    Dec 2005
    You need to install your kernel sources

    Best regards.

Posting Permissions

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