LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
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
 
Old 07-06-2009, 06:34 AM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Hi Biswajit,

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

R.
 
  


Reply



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 config.in cbcallaw Linux - Software 1 04-29-2004 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:12 PM.

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