Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

On a new Dell Inspiron 3521, I tried installing Linux. First try was Ubuntu, but couldn't get the WiFi working. After trying all sort of things and commands, some errors started to show. I then installed Fedora to check it out and see if it would pick up the WiFi. But it didn't either.

Now, I want to install some drivers that should fix it. I've extracted a tarball. The directory contains a Makefile, but when I run make, the following error is thrown:

KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make: *** /lib/modules/3.11.10-301.fc20.x86_64/build: No such file or directory.  Stop.
make: *** [all] Error 2

Now I tried to see if that build directory exists, and it does, but as a symlink to a directory that does not exist. It points to /usr/src/kernels/3.11.10-301.fc20.x86_64.

In the kernels directory, I only have 3.12.6-300.fc20.x86_64.

share|improve this question
1  
Did you install the kernel headers? –  galegosimpatico Jan 8 at 13:55
    
Yes, yum list | grep kernel-headers outputs kernel-headers.x86_64 3.12.6-300.fc20 –  Tim Jan 8 at 14:10
    
Turns out now I'm facing the exact same problem, but with a fc19 virtual machine. Let us hope for an answer. –  galegosimpatico Jan 14 at 12:03

1 Answer 1

up vote 2 down vote accepted

Do ln -s /usr/src/kernels/3.12.6-300.fc20.x86_64 /usr/src/kernels/3.11.10-301.fc20.x86_64.

share|improve this answer
    
Thanks! That is actually what I tried before, but more out of a guess.. make still fails due to implicit declaration of function and dereferencing pointer to incomplete type errors.. I guess that is another problem then? –  Tim Jan 8 at 14:26
    
Then you did wrong! This is actually the last resource bullet, and not the first way of working around your problem. In fact it may be better to fail at this stage than going through and experience instability later. –  galegosimpatico Jan 8 at 14:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.