View Single Post
Old 08-18-03, 06:20 PM   #1
Registered User
Join Date: Aug 2003
Posts: 2
Default compiling 1.0-4180 on AMD64 / RedHat64 beta (Taroon)?

Has anyone had any luck getting the 1.0-4180 driver to compile on the RH64 beta (Taroon) for a AMD64 system.? When compiling the NVIDIA_kernel module I get the following error:

nv.c:1282: warning: passing arg 1 of `remap_page_range_Rsmp_7a2932f2' makes pointer from integer without a cast
nv.c:1282: incompatible type for argument 4 of `remap_page_range_Rsmp_7a2932f2'
nv.c:1282: too few arguments to function `remap_page_range_Rsmp_7a2932f2'

This is because in include/linux/mm.h on the 2.4.21-1.1931.2.349.2.2.entsmp kernel, the remap_page_range function prototype is now 5 arguments instead of 4. So the nv.c isn't written to support this newer kernel.

I know its unlikely this will be fixed anytime soon especially considering that kernel is still in beta, but I was wondering if anyone has figured out a workaround to get the kernel module compiled. The GLX module compiles fine, by the way.

Thanks for the info!

rconstance is offline   Reply With Quote