missing /build in my kernel version dir so i can't install madwifi
Hi,
I have a problem with the madwifi 0.9.3.3. I don't have the required directory (/build) in my kernel directory so I'm not able to use the command the make command, it does just return: /bin/sh: line 0: cd: /lib/modules/2.6.22-2-amd64/build: the file or directory don't exist. Makefile.inc:66: *** /lib/modules/2.6.22-2-amd64/build is mising please set KERNELPATH. Stopping I can't find any other kernelpath with a /build in it. I'm running Debian 4.0 with Gnome the kernel is 2.6.22-2-amd64. Can anyone help me with this problem? |
aptitude update
aptitude keep-all aptitude install build-essential module-assistant m-a update m-a prepare 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.. |
Thanks for the quick response!
My wireless card works fine now. |
All times are GMT -5. The time now is 12:48 AM. |