So i did cd to the nVidia kernel directory /usr/src/redhat/BUILD/NVIDIA_kernel***
and typed: make clean nvidia.o
Here's what I got:
In file included from nv-linux.h:24,
/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/in clude
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
In file included from nv-linux.h:83,
/lib/modules/2.4.18-19.8.0/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.18-19.8.0/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
make: *** [nv.o] Error 1
It is an old observation that the best writers sometimes discard the rules of rhetoric. When they do so, however, the reader will usually find in the sentence a compensating merit, attained at the cost of violation. Unless he is certain of doing as well, he will probably do best to follow the rules.
William Strunk and E. B. White, The Elements of Style