This is the problem solution:
It will not build because the kernel sources is for a different kernel revision than the one u have installed...
1. download kernel-source package via URPMI
2. do a uname -r to see the current installed kernel revision.
3. check that the file /usr/src/linux is a symbolic link to the same kernel that uname -r returns.
if so, u can follow the procedures in the NVIDIA readme file, and compile the kernel module.
IMPORTANT!!! :
NB! a kernel 2.6.3-4mdk is installed with some Community editions of MDK 10, while the kernel-source from the ftp mirrors installs 2.6.3-8mdk.
This will not work!
Update to 2.6.3-8 kernel first with URPMI kernel, and choose linux 2.6.3-8 kernel.
reboot, and install the NVIDIA driver.
if so, u can follow the procedures in the NVIDIA readme file, and compile the kernel module.
It will now build a module for your kernel.
To be sure u can also do the following (as root offcourse):
export SYSSRC=/usr/src/linux
run the NVIDIA installer.run file with option :
--kernel-source-path=/usr/src/linux
BACKUP BEFORE KERNEL UPGRADE.