2.6.22-2-amd64 NVIDIA driver issues
Okay, so a while back the updates installed the 2.6.22-2 kernel. I hadn't restarted since then, so today I decided that I might as well get things all up to speed with a restart.
So, I restart my computer, and lo and behold the NVIDIA driver isn't working anymore. No big deal, I'll just reinstall it. And then it gives me this: Your kernel was compiled using gcc 4.1, you are currently running gcc 4.2. You cannot run modules compiled using a different version of the compiler. Change your CC variable and try again. Something to that effect. So.. How do I make this work? Can I somehow install the new kernel compiled under 4.2? Can I change the CC environmental variable and make things work? Do I just have to sit here and cry? Thanks. |
Yes you can change it in the shell/terminal where you are compiling the driver either use export IGNORE_CC_MISMATCH=1 or export CC=/usr/bin/gcc-4.1 to have it ignore the mismatch or use the gcc-4.1 when compiling the driver.
|
Thanks. I got it working last night by downloading the latest driver from Nvidia. It still gave me the error, but when I had the option to compile anyways, it did so successfully. I don't know what difference there was in the newest driver that made it work, but I won't complain.
|
Quote:
|
All times are GMT -5. The time now is 07:29 AM. |