On Sunday 03 March 2002 14:11, Art Fore wrote:
I have upgraded my kernel from 2.4.17 to 2.4.18 with no problem, but now need to rebuild the NVIDIA_kernel-1.0.2314.src.rpm. When I do the rpm --rebuild (after rebooting into the new kernel in run level 3) I get 290 lines similar to the following. /lib/modules/2.4.18-4GB/build/include/linux/modversions.h:290: linux/modules/zorro.ver: No such file or directory.
Being new to Linux, I am not sure what the above line is telling me. (This rebuild went off without a hitch with 2.4.17 kernel). The modversions.h file is in the directory shown above, I looked at the modversions.h file and seen the "#include <linux/modules/zorro.ver>" line along with the other 289 modules. The zorro.h file is in /lib/modules/2.4.18-4GB/build/include/linux/ directory along with the other files.
So, I am confused. Should the modversion.h file have the linux/modules/ before the zorro.ver or should these files be in a /lib/modules/2.4.18-4GB/build/include/linux/linux/modules directory. There is a /lib/modules/2.4.18-4GB/build/include/linux/modules directory, but it is empty.
Could anyone clarify the confusion please?
Did you get the kernel-source.rpm from mantel? If so, you need to do cd /usr/src/linux make mrproper make cloneconfig make dep Then the rebuild should work. Since you could do a rebuild on 2.4.17 I assume you have the necessary patches to the nvidia code, so you shouldn't need to do any more than the above. //Anders