Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 12-05-03, 04:51 AM   #1
Registered User
Join Date: Dec 2003
Posts: 2
Default Debian, nVidia & a compiler.


When running the nVidia pkg#2 everything is fine. It finds the Debian kernel source code/headers (3.0r1) too.

However, when trying to compile the nVidia module an error message pops up saying; the compiler I'm using to compile the nVidia module, is not the same that was used compiling the kernel itself.

This leads to a CC mismatch.

Anyone have an idea how I could get this working without setting a the flag to ignore the mismatch checking of compilers.

Ohmni is offline   Reply With Quote
Old 12-05-03, 05:45 AM   #2
Registered User
Join Date: Feb 2003
Posts: 8

I am running debian -currently testing/unstable mix but previously 3.0r1. I use the nvidia installer but have compiled my own kernel using the old fashioned non debian way as I have not had the time to figure out the debian way.
The error you mentioned only happened for me when the gcc version (current) was different to the one the kernel was compiled with. The base gcc for 3.0 is 2.95 but 3.3 is available in testing. If you run gcc --version it will tell you the version of gcc currently running. If there is a problem you could recompile the kernel with the current gcc version and then the nvidia installer should work fine.
petros4060 is offline   Reply With Quote
Old 12-05-03, 06:35 AM   #3
Registered User
Join Date: Nov 2003
Location: nantes, France
Posts: 8
Send a message via ICQ to screetch

better, define the shell environment variable IGNORE_CC_MISMATCH.

under bash,

but if it fails to compile or run, run
then check what's the gcc version used to build the kernel and install the compiler (apt-get install gcc-2.95)
or even better, use debian prepackaged files which install everything as .deb packages
screetch is offline   Reply With Quote
Old 12-08-03, 01:35 AM   #4
Registered User
Join Date: Dec 2003
Posts: 2

Thanks guys, I'm gonna try to see if I can get the old version of gcc or worst case I'll set the variable CC.

Ohmni is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
Debian 3.0 / NVidia 2960 rakerzZz NVIDIA Linux 9 08-08-02 12:00 AM

All times are GMT -5. The time now is 05:51 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.