vmware-config.pl and mandriva kernel
Par blindaue le jeudi, septembre 21 2006, 11:49 - General - Lien permanent
One more time, I'm getting the famous:
What is the location of the directory of C header files that match your running kernel? /usr/src/linux/include
The path "/usr/src/linux/include" is a kernel header file directory, but it does not contain the file "linux/version.h" as expected. This can happen if the kernel has never been built, or if you have invoked the "make mrproper" command in your kernel directory. In any case, you may want to rebuild your kernel.
Now I will remember how to get rid of these message. First, verify that your running kernel and the /usr/src/linux are OK:
$ uname -r
2.6.12-25mdksmp
$ ls -l /usr/src/
lrwxrwxrwx 1 root root 18 sep 21 11:20 linux -> linux-2.6.12-25mdk/
drwxr-xr-x 21 root root 4096 aoû 30 12:24 linux-2.6.12-24mdk/
drwxr-xr-x 21 root root 4096 sep 21 11:32 linux-2.6.12-25mdk/
The important part is "2.6.12-25mdk" (If not, update, and install same kernel and kernel-source)
$ cp /boot/config-2.6.12-25mdksmp /usr/src/linux/.config
edit the Makefile, remove the "custom" in extraversion and put instead "smp" if needed
$ make prepare
(edit: add this too if it complain about modpost)
$ make script
And, Voila, your kernel tree is OK
Commentaires