Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-06-2009, 06:15 AM   #1
LQ Newbie
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
problem while compiling driver Makefile

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
$(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

Old 07-06-2009, 06:34 AM   #2
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Hi Biswajit,

You most probably don't have the kernel source package installed. See



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help compiling a ungrab-windmodem.ko Makefile NirvanaII Mandriva 2 10-20-2008 08:57 PM
problem compiling driver easye190 Linux - Newbie 12 08-28-2008 12:31 PM
Makefile and compiling the linux kernel ayoub Linux - Newbie 0 12-02-2005 04:25 AM
Compiling Xmame - which CFlags in makefile? lets-eat-gary Linux - Games 2 03-12-2005 05:15 AM
Compiling old code: Makefile plus cbcallaw Linux - Software 1 04-29-2004 05:35 PM

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration