LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   make: File not found: /lib/modules/2.6.18-elive/build/ (https://www.linuxquestions.org/questions/linux-software-2/make-file-not-found-lib-modules-2-6-18-elive-build-574187/)

clhona 08-02-2007 07:28 AM

make: File not found: /lib/modules/2.6.18-elive/build/
 
Hi, i'm trying to intall my webcam on elive 1 and after the "make" command this error apperars to me:
File not found: /lib/modules/2.6.18-elive/build/

I installed build-essential and linux-headers-$(uname -r) (what I thought it was necessary!)but the error is still there...Do I need other packages? Have I to link the kernel source ?(if it's the case, how?)

ciao clhona

ciotog 08-02-2007 06:06 PM

/lib/modules/<version>/build should be a symlink to the kernel source for <version>, so you'll likely have to install that as well, and perhaps make the symlink yourself.

Code:

cd /lib/modules/2.6.18-elive
ln -s <path-to-2.6.18-elive-source> build

The ln command will likely have to be run as root, so either su or prepend sudo to the command depending on how elive does things.

clhona 08-03-2007 01:28 AM

thank you I will try it!
ciao

clhona 08-08-2007 12:09 PM

after linking everything was ok..thanx


All times are GMT -5. The time now is 06:22 AM.