I'm trying to run the following command to compile a driver (taken from here
http://acx100.erley.org/howto.txt):
make -C /lib/modules/`uname -r`/build M=`pwd`
Which gives:
make: *** /lib/modules/2.6.17-5mdv/build: No such file or directory. Stop.
Now, as far as I know, this is where the kernel source is usually stored in most distros. However, in Mandriva 2007 (i586), there simply is no /lib/modules/2.6.17-5mdv/build directory at all.
However, the package manager says the source is installed.
What should I do? Try reinstalling the kernel source RPM? Please help.