LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-18-2008, 03:48 PM   #1
sirusx69
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Rep: Reputation: 15
Makefile error in FC8


Trying to compile ndiswrapper and I am getting the error

Makefile:24: *** Kernel tree not found - please et KBUILD to configured kernel.

Stop

Make[1]: Leave directory '/root/Desktop/ndiswrapper=1.51/driver'
make: ***[Install] Error 2


I am a little new to linux still, I read that I needed the kernel source which i downloaded and dunno what to do from there (Nothing ever said what the next step was lol) so umm, Yea help is awesome Thanks ^_^
 
Old 01-18-2008, 05:40 PM   #2
damonhart
LQ Newbie
 
Registered: Nov 2007
Posts: 22

Rep: Reputation: 15
There are instructions in the Release Notes for Fedora 8 for getting the kernel source:

http://docs.fedoraproject.org/releas...sn-Kernel.html

Once you get the kernel source set up you may still need to set the KBUILD environment variable to point to the installed kernel source directory if the ndiswrapper makefile is not defaulting to the right one.
 
Old 01-18-2008, 10:01 PM   #3
sirusx69
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by damonhart View Post
There are instructions in the Release Notes for Fedora 8 for getting the kernel source:

http://docs.fedoraproject.org/releas...sn-Kernel.html

Once you get the kernel source set up you may still need to set the KBUILD environment variable to point to the installed kernel source directory if the ndiswrapper makefile is not defaulting to the right one.
so...since it really dosn't say what exactly to do I'm guessing I go to kernel.org and download the full source of 2.6.23.14????? (just a little confused because the kernel im in is 2.6.23.1-42??, Sorry for any frustration be nice =(
 
Old 01-19-2008, 07:35 AM   #4
damonhart
LQ Newbie
 
Registered: Nov 2007
Posts: 22

Rep: Reputation: 15
follow the link to the wiki, check if need kernel source vs header

Well, the release notes actually don't go through the step by step, but rather point to a wiki page that does:

http://fedoraproject.org/wiki/Docs/CustomKernel

This goes through all the steps needed to build a custom kernel, including getting the source installed on your local system. Of course, if you just need the source, you don't need to proceed with the build.

Before that, however, check that you need the full kernel sources and not just the kernel headers. A quick check of the ndiswrapper install info (http://ndiswrapper.sourceforge.net/j...,installation/) suggests you only need the kernel headers for this, which is much easier:

yum install kernel-headers

should work here.
 
Old 01-19-2008, 11:59 AM   #5
sirusx69
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Original Poster
Rep: Reputation: 15
OK ill try that, Also, I dont quite understand what i need to install nvidia drivers >.> I can get it to 88% of it compliling its own source install before it quits out and says no

EDIT - ran yum install kernel-headers and it kicked back saying they are already installed.
 
  


Reply


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
FC8 dbus error sir-lancealot Linux - Desktop 1 10-10-2007 11:52 PM
Makefile error. Amrita@3086 Solaris / OpenSolaris 1 09-23-2007 02:20 AM
Makefile error wildcat22 Programming 1 02-17-2004 10:53 PM
makefile error durden2.0 Programming 2 01-25-2004 04:45 PM
makefile error puckney Linux - Newbie 3 04-25-2002 09:03 PM


All times are GMT -5. The time now is 07:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration