|
|
#1 | |
|
Guest
Posts: n/a
|
In the README.txt file, for installing nvidia drivers, it says that you must install the srpms with the same gcc --version as that was used to compile the Kernel. I have a newer version and was wondering if I must remove the new version, and download the old version (is this possible) or is there some other way to rpm with the old version of gcc.
any thoughts on this? cheers, |
|
|
|
|
#2 | |
|
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
|
There's a setting that can disable that GCC error the nvidia makefiles will give but that is not recommended. I heard several cases where this caused a lot of strange problems, so I would recommend you to use the "old" gcc for it.
|
|
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
thanks thunderbird!
ah, does this mean that i should reinstall an older gcc rpm? ![]() |
|
|
|
#4 | |
|
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
|
Perhaps the old gcc is left somewhere else on your system. (That happens sometimes for backwards compatibility)
Are you sure you are already using that new gcc 3.x? (for distributions which didn't come with 3.x they sometimes give the gcc binary another name like gcc3 or gcc-3.) Else you need to install the old gcc. |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jul 2002
Posts: 19
|
you don't HAVE to
simply say CC_MISMATCH_IGNORE=1 make (or whatever the environment variable is called) And if works fine And as long as you use a gcc newer than 3.0x you are fine I use 3.1 for EVERYTHING and it works
__________________
DarkLLord |
|
|
|
|
|
#6 | |
|
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
|
As I said that override option isn't good. Compiling a kernel module using a different gcc version is very bad. It really caused some strange problems for a lot of people with the NVdriver.
|
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 | kbulgrien | NVIDIA Linux | 3 | 06-29-12 08:27 AM |
| X Failed to load NVdriver | c00lr4c3r | NVIDIA Linux | 13 | 10-22-02 01:44 PM |
| Error messages... HELP!!!! | Imperito | NVIDIA Linux | 3 | 09-24-02 10:46 PM |
| Need help to get the X to work on my Acer TravelMate 630 | knchee | NVIDIA Linux | 16 | 09-19-02 10:16 PM |
| gcc version3 kenrel module problems | valserWater | NVIDIA Linux | 11 | 09-07-02 09:40 AM |