nvidia and severn2 -- an alternative

Elton Woo elwoo at videotron.ca
Sat Oct 4 21:27:34 UTC 2003


On October 4, 2003 04:03 pm, Robert P. J. Day <"Robert P. J. Day" 
<rpjday at mindspring.com>> wrote:
>   rather than messing with CC=gcc32 or IGNORE_CC_MISMATCH, here's an
> alternative way of installing your nvidia drivers (at least, it works for
> me, so i'm open to corrections/clarifications).
>
>   download the latest nvidia driver from www.nvidia.com,
> NVIDIA-Linux-x86-1.0-4496-pkg2.run.  don't try to install it, just extract
> it into a directory with:
>
>   $ sh NV...run --extract-only
>
> now, as root, "cd" into that directory and just run "make install".  that
> should build the driver and install it. because you're actually compiling
> the driver, you're pretty likely to not have to worry about any compiler
> mismatches.
 ... not ss fast!!  ... I *still* get this with the default Fedora Core
kernel-2.4.22-1.2061.nptl  --->

]# make install
cd usr/src/nv; make install
make[1]: Entering directory 
`/home/abe/INSTALL/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv'
                                                            
You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.
                                                            
If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.
                                                            
In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.
                                                            
*** Failed cc sanity check. Bailing out! ***
make[1]: *** [gcc-check] Error 1
make[1]: Leaving directory 
`/home/abe/INSTALL/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv'
make: *** [kernel_module_install] Error 2
----------------------------------------------------------------

With this kernel, it will NOT accept eport gcc=Gcc32, but only
"export IGNORE_CC_MISMATCH=1".

I'll see if your trick works with the *updated* kernel from RHN.

Elton.


-- 
http://setiathome.ssl.berkeley.edu/stats/team/team_4504.html
"You only live once: let's make life BETTER for each other."
LINUX User #193975 [AMD ATHLON CPU] ICQ #149608718.
		
  







More information about the test mailing list