LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-05-2007, 11:51 PM   #1
robertos
LQ Newbie
 
Registered: Feb 2007
Posts: 27

Rep: Reputation: 15
can't compile module


after i'm running make i get the followin errors:

make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
make[1]: *** No rule to make target `tutorials/netfilter'. Stop.
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
make: *** [default] Error 2


Any ideas?Thanks.
 
Old 02-06-2007, 12:53 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by robertos
after i'm running make i get the followin errors:

make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
make[1]: *** No rule to make target `tutorials/netfilter'. Stop.
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
make: *** [default] Error 2


Any ideas?Thanks.
Did you install kernel-devel (yum install kernel-devel)?
 
Old 02-06-2007, 11:20 PM   #3
robertos
LQ Newbie
 
Registered: Feb 2007
Posts: 27

Original Poster
Rep: Reputation: 15
yes,i have.
 
Old 02-07-2007, 02:11 PM   #4
robertos
LQ Newbie
 
Registered: Feb 2007
Posts: 27

Original Poster
Rep: Reputation: 15
done!

i got it to work.

i moved my files in a directory in home e.g. /root/netfilter.
I think i remebered i've read once that you can compile modules only in your home or somethung like that. I've tried it and it worked!
 
  


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 a 2.6 kernel module? NeoMagic Linux - Kernel 1 07-18-2006 10:07 AM
Please Compile This Module For Me... hellmet Linux - Software 10 05-08-2006 05:30 AM
compile 2.6.10 with sata, sg as a module disleyg Debian 2 02-14-2005 07:18 PM
can't Compile a module under Kernel 2.4.20-8 srsairam Linux - Software 3 11-09-2004 12:45 AM
es18xx module won't compile msfento Fedora 3 09-01-2004 11:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:56 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