Make && Make Install : please set KERNELPATH
I'm trying to:
make
make install
in the mad-wifi directory.
I get this as soon as i type: make
/bin/sh: line 0: cd: /lib/modules/2.6.39.4/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.39.4/build is missing, please set KERNELPATH. Stop.
I've installed linux-headers and linux-source
It looks like they've been installed into: /usr/src/
I've also tried reinstalling the packages.
The command: uname -r returns:
2.6.39.4
Does anybody have any idea on how i can get make && make install working??
UPDATE: Solved With:
Quote:
root@bt:~# prepare-kernel-sources
root@bt:~# cd /usr/src/linux
root@bt:~# cp -rf include/generated/* include/linux/
Re: Make && Make Install : please set KERNELPATH
Re: Make && Make Install : please set KERNELPATH
copy this code and paste it into console:
Code:
cd /lib/modules/2.6.39.4/
ln -s /usr/src/linux build
if you get error like"module.symvers is missing" during driver installation and you would like to fix that than after you prepare kernel headers do this:
Code:
cd /usr/src/linux/
make modules
however this action may take 2 hours and it's not very important.
important is to make symbolic link in your /lib/modules/$(uname -r)/
cheers!
Re: Make && Make Install : please set KERNELPATH
Thanks man, it worked.. I appreciate the help! :)