|
|
#1 | |
|
Registered User
Join Date: Jan 2007
Posts: 2
|
Hi:
I have downloaded the driver http://www.nvidia.com/object/linux_d..._1.0-9746.html and installed it,but while compile the kernel to 72%, the program stopped and showed ERROR "/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 appr opriate 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)/buil d/include /usr/include/linux/modversions.h:5:2: #error to build against the currently- running kernel. In file included from /lib/modules/2.4.21-40.EL/build/include/linux/vmalloc. h:8, from nv-linux.h:64, from nv.c:14: " please see the attached log file for detail,thx |
|
|
|
|
|
|
#2 | |
|
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
|
It looks like your kernel source is in an inconsistant state. I'd suggest removing and reinstalling the kernel-source RPM.
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jan 2007
Posts: 2
|
I type" rpm -qa|grep kernel " ,
and it shows kernel-source-2.4.21-40.EL kernel-2.4.21-40.EL kernel-utils-2.4-8.37.14 kernel-doc-2.4.21-40.EL kernel-pcmcia-cs-3.1.31-19 what should I do? |
|
|
|
|
|
#4 | |
|
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
|
Remove the kernel-source RPM and reinstall it.
|
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 | kbulgrien | NVIDIA Linux | 3 | 06-29-12 08:27 AM |
| UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... | interzoneuk | NVIDIA Linux | 0 | 06-26-12 04:51 AM |
| xorg locks-up with newest nvidia drivers w/ vdpau. | theroot | NVIDIA Linux | 1 | 06-24-12 11:04 AM |
| Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) | Katchina404 | NVIDIA Linux | 9 | 01-12-03 08:49 AM |
| Red Hat null(limbo beta 3), guide to install Nvidia Drivers | utiel | NVIDIA Linux | 21 | 09-30-02 05:32 PM |