[Linux-disciples] Compiling nVidia drivers

Adam Kessel adam at rosi-kessel.org
Thu Apr 15 17:42:28 EDT 2004


You need to install the same gcc that the kernel was compiled under,
which is the gcc from unstable.  

nVidia provides a proprietary kernel module for video support, and it
needs to recompile stuff to link against the currently running kernel.
You can't have modules to the kernel compiled with a different compiler
than the kernel itself.  

You also obviously need the kernel source to be installed in /usr/src.  

On Thu, Apr 15, 2004 at 05:39:15PM -0400, Stephen R Laniel wrote:
> Don't you guys love the flood of my comments today?
> 
> All right, here's another, since you asked. The relevant
> page for nVidia drivers is here:
> http://shorl.com/benulumubrafy
> 
> It actually features a nice curses-ish installer that goes
> through some good checks. For some reason the installer
> checks first for a 'precompiled kernel interface'; failing
> that, it checks nVidia's FTP site for
> the same thing; failing THAT, it looks in /usr/src to find
> the Linux source code and tries to compile out of there.
> That's the step I'm on.
> 
> It says that the source code features a GCC version
> different from the one that compiled the kernel that I'm
> running; the kernel I'm running was compiled against GCC
> 3.3, whereas the source is set to use 2.95. I tried doing
> 
> set CC=gcc-3.3
> 
> but that didn't work. What do I need to set to make this
> work? Or what do I edit within the source to change the
> compiler version?
> 
> I'm not exactly sure what the nVidia installer is doing, so
> I'm flying rather blindly ...
> 
> -- 
> ``[Y]ou know as well as we do that right, as the world
>   goes, is only in question between equals in power,
>   while the strong do what they can and the weak suffer
>   what they must.''
>  -http://crookedtimber.org/archives/001691.html
> 
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples at lists.bostoncoop.net
> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples

-- 
Adam Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040415/b71fe0eb/attachment-0001.pgp


More information about the Linux-disciples mailing list