Click to See Complete Forum and Search --> : Problem TNT2 32MEGS and RedHat7.1


Cyrus
04-23-2001, 04:16 AM
Hi everyone!

I<m trying to install the lastest Nvidia drivers (NIViDIA_kernel-0.9-769 and NVIDIA_GLX-0.9-769) on Redhat 7.1 But when I tried to compile my NVIDIA_kernel I got this error message:

/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 headers from an appropriate kernel-source

make: *** [nv.o] Error 1

How can I fix it.

Please help me!

Thanks in advance

Closer
04-23-2001, 06:53 AM
First make sure the kernel source is installed. it will not install by default.
you have to select kernel source when installing redhat 7.0 and 7.1 or you must install it after the fact.
if source is installed then try pointing to the headers like this
make SYSINCLUDE=/usr/src/linux-2.4/include
one of the above will fix problem. www.evil3d.net (http://www.evil3d.net) has a great how to on nvidia on several linux distro,s.

CLOSER

Cyrus
04-24-2001, 11:27 AM
Thanks you very for your help. I finnaly discover that RedHat didn't install the kernel source and that's why I didn't get my TNT2 work.