Dear all (again)!

I'm using a 2.4.0 test 5 kernel, which is working fine,
I've build and installed kernel headers, and set up
/usr/src/linux to point to the headers.

I'm trying to compile the NVidia kernel module so that I
can make use of /dev/agpart and dri infrastructure, and the
advanced NVidia 'stuff', but the compilation of the kernel
module goes as follows:

system:~/NVIDIA_kernel-0.9-5# make
rm -f nv.o os-interface.o os-registry.o Module-linux NVdriver
cc -c -Wall -Wunknown-pragmas -Wno-multichar -O  -D__KERNEL__ -DMODULE 
-D_LOOSE_KERNEL_NAMES -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_X86_=1 -Di386=1 
-D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES    -I. 
-I/usr/src/linux/include nv.c
In file included from nv.c:52:
nv.h:131: warning: #warning This driver is not officially supported on post-2.2 
kernels
nv.c: In function `nv_lock_pages':
nv.c:551: warning: implicit declaration of function `virt_to_page'
nv.c:551: warning: initialization makes pointer from integer without a cast
nv.c:555: array subscript is not an integer
nv.c:556: array subscript is not an integer
nv.c: In function `nv_unlock_pages':
nv.c:579: warning: initialization makes pointer from integer without a cast
nv.c:583: array subscript is not an integer
nv.c:589: array subscript is not an integer
make: *** [nv.o] Error 1

I am doing this as root.

I have the XFree 4.0.1 debs installed, and am trying to make use
of the specific kernel modules supplied by NVidia.

As always, any help is much appreciated.

Yours,

Matthew

Reply via email to