LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fedora 7 Make (https://www.linuxquestions.org/questions/linux-software-2/fedora-7-make-559360/)

wolfdreamer 06-05-2007 11:39 AM

Fedora 7 Make
 
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.

hollywoodb 06-06-2007 09:21 PM

are kernel-headers and kernel-devel that match your kernel version installed?

wolfdreamer 06-06-2007 09:49 PM

Yes
 
I got it to work, thanks!!


All times are GMT -5. The time now is 02:09 PM.