aptitude install build-essential module-assistant
That will download and install the essential build environment, all the proper headers, etc. for your running kernel. you should have no trouble compiling your driver module after that.
then try your make command again..
Alternately you could just continue with module-assistant to build and install your madwifi driver module.
m-a a-i madwifi
Which will grab the madwifi source, compile the module, and install it in it's proper place..
m-a = module-assistant
a-i = auto-install
just in case you wondered what those short commands stood for..
Last edited by farslayer; 10-26-2007 at 02:45 PM.