View Single Post
Old 11-20-02, 07:27 PM   #1
oceansoul
Guest
 
Posts: n/a
Default Enabling GeForce with RH Advanced server 2.1

Hi,

I am having trouble getting the NVIDIA drivers working with a Redhat Advanced server 2.1. I am installing on a Toshiba TE2100 laptop with GeForce4 420.

RH AS 2.1 ships with kernel 2.4.9.

I have run the NVchooser scripts with the following output:

./NVchooser.sh: [: 21/\: integer expression expected
./NVchooser.sh: [: 21/\: integer expression expected
Please download and install the following files:
NVIDIA_kernel-1.0-2960.src.rpm
NVIDIA_GLX-1.0-2960.i386.rpm

I cose to use the gz file with the make install option. When I do I get the following error:

[root@dhcppc5 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.9-e.3/build/include -Wno-cast-qual nv.c
In file included from nv.c:63:
/lib/modules/2.4.9-e.3/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.9-e.3/build/include/linux/highmem.h:19: 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_R1664b601' makes pointer from integer without a cast
nv.c:1392: incompatible type for argument 4 of `remap_page_range_R1664b601'
nv.c:1392: too few arguments to function `remap_page_range_R1664b601'
nv.c:1409: warning: passing arg 1 of `remap_page_range_R1664b601' makes pointer from integer without a cast
nv.c:1409: incompatible type for argument 4 of `remap_page_range_R1664b601'
nv.c:1409: too few arguments to function `remap_page_range_R1664b601'
nv.c:1440: warning: passing arg 1 of `remap_page_range_R1664b601' makes pointer from integer without a cast
nv.c:1440: incompatible type for argument 4 of `remap_page_range_R1664b601'
nv.c:1440: too few arguments to function `remap_page_range_R1664b601'
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

help!

  Reply With Quote