Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-02-2007, 07:28 AM   #1
LQ Newbie
Registered: Feb 2007
Posts: 15

Rep: Reputation: 0
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
Old 08-02-2007, 06:06 PM   #2
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
/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.

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.

Last edited by ciotog; 08-02-2007 at 06:08 PM.
Old 08-03-2007, 01:28 AM   #3
LQ Newbie
Registered: Feb 2007
Posts: 15

Original Poster
Rep: Reputation: 0
thank you I will try it!
Old 08-08-2007, 12:09 PM   #4
LQ Newbie
Registered: Feb 2007
Posts: 15

Original Poster
Rep: Reputation: 0
after linking everything was ok..thanx


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
[root@oprations Module]# make make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/r korotania Fedora 7 06-22-2007 03:12 PM
No /lib/modules/2.6.10-5-386/build kheno Ubuntu 1 05-25-2005 08:46 AM
/lib/modules/2.6.7/build/ - where is it? bobbens Debian 3 11-25-2004 10:46 AM
/lib/modules/2.6.8/modules.dep not found killer_bunny Debian 1 10-17-2004 10:06 PM
No build file in lib/modules/* Mlehliw Linux - Newbie 1 08-06-2004 09:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration