LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   /lib/modules/3.11...../build does not exist. What can I do? (https://www.linuxquestions.org/questions/linux-kernel-70/lib-modules-3-11-build-does-not-exist-what-can-i-do-4175508969/)

ramzi.kahil 06-24-2014 12:23 AM

/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.

evo2 06-24-2014 12:29 AM

Hi,

have you installed the kernel-devel package?

Evo2


All times are GMT -5. The time now is 12:32 PM.