Thanks to Buchan Mine help i did it:
1) Of course you need the nvidia-kernel and nvidia-glx src.rpm packages
downloaded from www.nvidia.com.
2) You need also to have installed the kernel-sources rpm from the third cdrom
of Mandrake 9.1 rc1
3) You need to set an environmental variable:
"export IGNORE_CC_MISMATCH=1"
4) Now rpm --rebuild nvidia-kernel.....src.rpm
rpm --rebuild nvidia-GLX..... src.rpm
5) After the rebuild succes ou will have the rpms on /usr/src/RPM/RPMs/i586
Francisco Alcaraz
Murcia (Spain)