Compiling NVIDIA driver for -ntpl kernel

Trond Eivind Glomsrød teg at pvv.org
Thu Oct 23 19:20:50 UTC 2003


Trond Eivind Glomsrød wrote:

> Elton Woo wrote:
>
>> On October 23, 2003 08:21 am, Christopher A. Williams , <"Christopher 
>> A. Williams" <chrisw01 at privatei.com>> wrote:
>>
>>  
>>
>>> Yet another solution is to run the original NVidia installer program
>>> with the parameter --add-this-kernel which will create a customized
>>> version of the installer. Then use that one to install the drivers.
>>>   
>>
>>
>> Kindly pardon my ignorance: But is the command *precisely*
>> "sh --add-this-kernel NVIDIA-Linux-x86-1.0-4496-pkg2.run"
>> OR " sh -add-{name of current kernel} etc..." I mean is "this-kernel"
>> a placeholder for the current kernel, or should I type that command
>> as shown?
>>  
>>
> It would be "sh NVIDIA.... --add..." of course. Think about it... bash 
> would try to run a non-existing
> '-add-this-kernel' file otherwise. That said, it this doesn't fix the 
> problem, which is that the Nvidia building
> procedure will complain when the system compiler doesn't match what 
> the kernel is built with. Do
> 'export CC=gcc32' to fix that.


Or rather, use the option itself. Which wouldn't make more sense, bash 
has no such option.







More information about the fedora-test-list mailing list