Hi, im having quite a problem installing the drivers to my NVIDIA card. I have searched through all this forum, the NVIDIA linux forum, half of the internet pages mentioning a graphics card, and the Holy Bible but i still cant get it to work.
Ill start with my distribution and graphic card specs:
distribution:
Red Hat 9
kernel 2.4.20-8
source in: /usr/src/linux-2.4.20-8
symlinks to kernel in: /usr/src/linux AND /usr/src/linux-2.4
graphics card:
PalitDaytona GeForce4 MX440 64MB SDR AGP8x w/TV-out
Here is what I've done so far:
I downloaded NVchooser.sh and it said:
[root@carmiol root]# /downloads/NVchooser.sh
Please download and install the following files:
NVIDIA_kernel-1.0-2960.src.rpm
NVIDIA_GLX-1.0-2960.i386.rpm
[root@carmiol root]#
I downloaded those files. When I "installed" the kernel file it said:
[root@carmiol root]# rpm -ivh /downloads/NVIDIA_kernel-1.0-4191.src.rpm
warning: user buildmeister does not exist - using root
warning: group buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: group buildmeister does not exist - using root
1:NVIDIA_kernel ########################################### [100%]
[root@carmiol root]#
which was wierd (the buildmeister thing). However the rpm created a file named NVIDIA_kernel-1.0-2960.tar.gz in /usr/src/redhat/SOURCES
I untared the file and proceded to 'make install' the file and it throws the following (sorry for the long code):
[root@carmiol NVIDIA_kernel-1.0-2960]# make install
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2960 -I. -I/lib/modules/2.4.20-8/build/include -Wno-cast-qual nv.c
In file included from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
from nv-linux.h:29,
from nv.c:27:
/lib/modules/2.4.20-8/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-8/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1392: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1392: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1392: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1409: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1409: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1409: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1440: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nv.c:1440: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1440: too few arguments to function `remap_page_range_R2baf18f2'
nv.c: In function `nv_get_phys_address':
nv.c:2276: warning: implicit declaration of function `pte_offset'
nv.c:2276: invalid type argument of `unary *'
make: *** [nv.o] Error 1
[root@carmiol NVIDIA_kernel-1.0-2960]#
I have also tried with other driver files but i get a whole range of errors. Please, help me!!! Any help welcome. BTW, im kinda
