Incercam sa compilez driverele de la nvidia pe rh7.2 cu kernelu 2.4.7-10
cu sursele in /usr/src/linux
[root@xxxx NVIDIA_kernel-1.0-1541]# make
rm -f nv.o os-interface.o os-registry.o Module-linux NVdriver
cc -c -Wall -Wno-unknown-pragmas -Wno-multichar -O -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_KERNE
L_NAMES -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=1541 -I. -I/lib/modules/2.4.7-10/b
uild/include nv.c
In file included from nv.c:50:
/usr/include/linux/modversions.h:1:2: #error Modules should never use
kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an
appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error
Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2:
#error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the
currently-running kernel.
In file included from nv-linux.h:56,
from nv.c:55:
/lib/modules/2.4.7-10/build/include/linux/malloc.h:3:2: warning:
#warning The Use of linux/malloc.h is deprecated, use
linux/slab.h
make: *** [nv.o] Error 1
??????
Radu
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.