LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem while compiling driver Makefile (https://www.linuxquestions.org/questions/linux-newbie-8/problem-while-compiling-driver-makefile-738034/)

biswajit.2k3 07-06-2009 07:15 AM

problem while compiling driver Makefile
 
Hi;
I am using fedora 7 in my system.while compiling driver heloword.c ,i am getting the errors like
make: *** /lib/modules/2.6.20-2925.9.fc7xen/build: No such file or directory. Stop
The Makefile is :

obj -m:=hello.o
default:
$(MAKE) -C /lib/modules/$(shell uname -r )/build M=`pwd` modules

while executing uname -r i am getting 2.6.20-2925.9.fc7xen
how can i solve this.Looking for your reply


regards
Biswajit

r0b0 07-06-2009 07:34 AM

Hi Biswajit,

You most probably don't have the kernel source package installed. See http://fedoraproject.org/wiki/Docs/C...Get_the_Source

R.


All times are GMT -5. The time now is 10:04 PM.