Re: Nvidia install error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 15, 2004 at 08:38:34AM +0300, bengt.lindholm@xxxxxxxxx wrote:
> 
> I tried to install nvidia-drivers but got the following message:
> 
> ERROR: The kernel header file
>        '/lib/modules/2.6.6-1.435/build/include/linux/modversions.h' does not exist.  The most likely reason for this is that the kernel header files in /lib/modules/2.6.6-1.435/build/include' have not been configured.
> 
> How to fix this?

Also, Remember that nVidia has yet to release a driver
that is compatible with the 4K stacks in FC2 kernels.

Assuming that 4K stacks are not an issue, what does rpm tell us about
kernel packages:

     rpm -qa | grep kern

If you see a mismatch kernel-source and kernel be advised that
kernel-source package has changed names to kernel-sourcecode.  Install
kernel-sourcecode to update kernel-source at this point in FC2 time.

On FC2 locate and rpm tell me.
$ rpm -q --whatprovides /usr/include/linux/modversions.h
glibc-kernheaders-2.4-8.44

On FC1 I see:
$ rpm -q --whatprovides /usr/src/linux-2.4.22-1.2188.nptl/include/linux/modversions.h
kernel-source-2.4.22-1.2188.nptl
$ rpm -q --whatprovides /usr/include/linux/modversions.h glibc-kernheaders-2.4-8.36

So there is a FC1 and FC2 difference...

Looking deeper on FC2  I see a hint:
    $ uname -r
    2.6.6-1.435
    $ cat /usr/include/linux/modversions.h
    #error Modules should never use kernel-headers system headers,
    #error but rather headers from an appropriate kernel-source package.
    #error Change -I/usr/src/linux/include (or similar) to
    #error -I/lib/modules/$(uname -r)/build/include
    #error to build against the currently-running kernel.



-- 
	T o m  M i t c h e l l 
	/dev/null the ultimate in secure storage.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux