LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-05-2007, 02:12 PM   #1
wolfdreamer
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Rep: Reputation: Disabled
Fedora make source


I just installed a fresh copy of Fedora 7. I am trying to do a simple make for several source packages I have. I get the following errors. I am pretty sure that the kernel source is located under /lib/modules/`uname -r` but even when I run make with KERNELPATH=//lib/modules/2.6.20-2925.9.fc7xen or /usr/src/redhat I still get the same errors. Please help!!


make -C /lib/modules/`uname -r`/build SUBDIRS=/home/username/Desktop/gspcav1-20070508 CC=cc modules
make: *** /lib/modules/2.6.20-2925.9.fc7xen/build: No such file or directory. Stop.
make: *** [default] Error 2


/bin/sh: line 0: cd: /lib/modules/2.6.20-2925.9.fc7xen/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.20-2925.9.fc7xen/build is missing, please set KERNELPATH. Stop.
 
Old 06-05-2007, 03:21 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Do you have the kernel-xen-devel and kernel-headers installed????

yum list kernel*
 
Old 06-05-2007, 07:07 PM   #3
wolfdreamer
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Original Poster
Rep: Reputation: Disabled
yum list kernel*

Loading "installonlyn" plugin
Installed Packages
kernel.x86_64 2.6.21-1.3194.fc7 installed
kernel-headers.x86_64 2.6.21-1.3194.fc7 installed
kernel-xen.x86_64 2.6.20-2925.9.fc7 installed
Available Packages
kernel-debug.x86_64 2.6.21-1.3194.fc7 fedora
kernel-debug-devel.x86_64 2.6.21-1.3194.fc7 fedora
kernel-devel.x86_64 2.6.21-1.3194.fc7 fedora
kernel-doc.noarch 2.6.21-1.3194.fc7 fedora
kernel-kdump.x86_64 2.6.21-1.3194.fc7 fedora
kernel-kdump-devel.x86_64 2.6.21-1.3194.fc7 fedora
kernel-xen-2.6-doc.noarch 2.6.20-2925.9.fc7 fedora
kernel-xen-devel.x86_64 2.6.20-2925.9.fc7 fedora
 
Old 06-05-2007, 07:09 PM   #4
wolfdreamer
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Original Poster
Rep: Reputation: Disabled
scratch that I did kernel-xen-devel.x86_64 2.6.20-2925.9.fc7, and its working thanks
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't use make command when installing from source thomasw92 Linux - Newbie 2 03-25-2006 03:03 PM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
How to use kdevelop3 to make a source package? tx-cary Programming 3 07-27-2004 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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