Re: i8200 & RH 7.3 problems with Nvidia drivers...
- Hi - if you do
rpm -qa | grep kernel
do you see the kernel-source package installed for the currently
running kernel? You need to install that in order to compile; the
kernel-headers package is not enough. That may be the problem.
I have successfully compiled patched NVIDIA drivers under RH7.3 . I
made sure to repackage the patched driver as an RPM which I guess I
could send you if you need it.
--- In linux-dell-laptops@y..., "sgribov" <sgribov@y...> wrote:
> This is probably RH7.3 problem...
> I'm trying to recompile NVIDIA driver under RH7.3 and getting the
> errors from modversions.h. If I install the driver without
> recompiling it works fine, but I want to apply patch for suspend...
> the strange thing is that there is no any other modversions.h
> on the system, not under the /usr/src/linux or /lib/modules/$(uname
> -r)/build/include ...
> Any ideas?
> Anybody successfully recompiled the drivers under RH7.3?
> Here are the errors output:
> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
> -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual
> -Wno-multichar -O -MD -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_KERNEL_NAMES -D__KERNEL__ -DMODULE
> -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2960 -I.
> -I/lib/modules/2.4.18-3/build/include -Wno-cast-qual nv.c
> In file included from nv.c:22:
> /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
> /usr/include/linux/modversions.h:5:2: #error to build against the
> currently-running kernel.
> make: *** [nv.o] Error 1
> Thanks in advance,