LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-28-2007, 02:26 PM   #1
merin_83
LQ Newbie
 
Registered: Jul 2007
Posts: 7

Rep: Reputation: 0
Unhappy Cant compile MODULE (Kernel)


Hi all,
I am new to linux as well as kernel programing.I installed fedora 7 on my system. I wrote the Hello World program. but not able to compile it.


@ is the source code/object should be in particulat directory?
@ do we have to check for lib ?

Please help
 
Old 07-28-2007, 02:34 PM   #2
Lunate
LQ Newbie
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 16

Rep: Reputation: 0
What error message do you get?
 
Old 07-29-2007, 07:16 AM   #3
merin_83
LQ Newbie
 
Registered: Jul 2007
Posts: 7

Original Poster
Rep: Reputation: 0
This is the error message I get.....


[root@localhost modules]# make
make -C /lib/modules/2.6.20-2925.9.fc7xen/build M=/lib/modules modules
make: *** /lib/modules/2.6.20-2925.9.fc7xen/build: No such file or directory. Stop.
make: *** [default] Error 2


I tried may ways for compiling...... but getting the same error....

when I tried to see the that location /lib/modules/2.6.20-2925.9.fc7xen/BUID........ File BUILD is 0bytes........ when i open that it says It does not exist.... What should I do ... help Me.
 
  


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
how to compile the kernel module swift_a2002 Linux - Kernel 11 05-11-2007 06:07 AM
Why can't I compile this kernel module? (kernel: 2.6.8-powerpc Debian sarge) Lannix Linux - Hardware 5 05-01-2007 12:29 PM
Compile a kernel module Ralc Linux - Newbie 5 03-11-2006 08:51 AM
can't Compile a module under Kernel 2.4.20-8 srsairam Linux - Software 3 11-09-2004 12:45 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:35 AM.

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