LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-24-2014, 12:23 AM   #1
ramzi.kahil
LQ Newbie
 
Registered: Apr 2014
Posts: 28

Rep: Reputation: 1
/lib/modules/3.11...../build does not exist. What can I do?


I have a new virtual machine and am trying to run a kernel module, but for some reason when I run `make` I get the following output:

Code:
make: *** /lib/modules/3.11.10-301.fc20.x86_64/build: No such file or directory.
I looked it up, and got:
Code:
# cd /lib/modules/3.11.10-301.fc20.x86_64
#ls -l
lrwxrwxrwx.  1 root root     40 Dec 12  2013 build -> /usr/src/kernels/3.11.10-301.fc20.x86_64
...
# cd /usr/src/kernels/
# ls
** no output - empty directory **
What can I do?

In case it matters: I run Fedora lite in a VM.
 
Old 06-24-2014, 12:29 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

have you installed the kernel-devel package?

Evo2
 
1 members found this post helpful.
  


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
How to build /lib/modules/2.6.30.3 ? JonesD1 Linux - Newbie 6 08-16-2009 08:26 AM
Missing /lib/modules/<build name>/build for installing HP PSPs mikemc58 Linux - Server 1 06-10-2009 09:18 AM
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 06:44 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:39 AM.

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