Results 1 to 2 of 2
Hi,
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 .
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-15-2006 #1
Module Programming Problem in Redhat
Hi,
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
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?Code:[root@pcsenonsrv test_module]# make −C /usr/src/linux−`uname −r` SUBDIRS=$PWD modules
- 05-15-2006 #2
You need to install your kernel sources
Best regards.


Reply With Quote
