Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I cannot get past this error when trying to run "make" on the driver source.

Makefile.inc:81: *** Cannot detect kernel version - please check compiler and KERNELPATH. Stop.

Does anyone know the procedure for installing madwifi drivers on Ubuntu 11.10?

Notes:

I have all the necessary packages installed including the linux headers and have also tried specifying the "KERNELPATH" manually.

share|improve this question
add comment

migrated from superuser.com Oct 15 '11 at 17:40

This question came from our site for computer enthusiasts and power users.

2 Answers

Just install module-assistant and choose the madwifi from the module assistant list, this will allow you to download, compile and install the modules.

share|improve this answer
    
madwifi drivers are not in the repository so it doesn't work and yes I enabled the 3rd party sources. –  Arctor Oct 14 '11 at 13:06
    
Ok here is a link to a tutorial for debian, i guess you should make it work or add debian repository to your sources.lst. –  v01d Oct 14 '11 at 13:10
    
tried adding those repositories and 10.04 repositories and it doesn't work... would prefer not to install a driver compiled for an older version anyways. –  Arctor Oct 14 '11 at 13:34
    
you can try downloading the latest source from the madwifi site and than try to install it with module assistant. –  v01d Oct 14 '11 at 13:36
    
not sure how I would instruct module-assistant to use the downloaded source... it says it makes and installs "debianized" source in the man file. –  Arctor Oct 14 '11 at 16:30
add comment
up vote 0 down vote accepted

Used svn for the newest release and received no issues when compiling or installing.

share|improve this answer
    
Google search turned up questions about the same error with no resolution. –  Arctor Oct 15 '11 at 20:37
add comment

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.