When trying to install my WiFi card's driver on Ubuntu 9.1, I run the make command and get the following error:

make: *** /lib/modules/2.6.31-20-generic/build: No such file or directory

Any ideas how to fix this?

link|improve this question
9.10 reached end of life almost a year ago and is no longer supported, so you aren't getting security fixes. You should upgrade immediately. – psusi Jan 31 at 2:18
feedback

1 Answer

sudo apt-get install linux-headers-generic Try this. If it wont work, comment and we'll figure out the package. (I hope you installed build-essential package.)

link|improve this answer
thanks for replying but that didn't work , can you advice some other package – user36637 May 10 '10 at 22:26
1  
You are missing the kernel headers. That is for SURE. Type uname -a in your terminal. You will see a message and you can check your kernel what are you using AT THE MINUTE. If you see that 2.6.31-20, then you need this: packages.ubuntu.com/karmic/linux-headers-2.6.31-20 . linux-headers-generic gets the latest headers, so if you are using some older kernel, you wont get its headers. phew So just use that link. :) – Shiki May 11 '10 at 7:02
feedback

Your Answer

 
or
required, but never shown

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