View Single Post
Old 10-08-02, 08:46 AM   #39
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default Re: error

Quote:
Originally posted by ubien
You appear to be compiling the NVdriver 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 wehre this can lead to unexpected behavious and system crashes. If you know what you are doing and want to ovveride 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 complie the kernel. *** Failed cc sanity check, Bailing out! *** make: *** [gcc-check] Error 1
This means that for some reason, the default cc is not the same version of gcc that compiled the kernel. To find out what it should be, do a cat /proc/version. There's a "(gcc version xxxx)" string in there that shows you which compiler compiled the kernel. Then do a cc -v to see which version compiler is linked to the default "cc" executable. These have to match exactly. Post what they both say, and someone should be able to tell you what to do to get cc to be the same as /proc/version. It probably involves an export CC=<something>, I'm just not sure on what the <something> would be.

Quote:
I have both gcc 3.2 and 2.96 installed if this is any problem.
Not necessarily a problem, but if the default cc is not what was used to compile your kernel, it will be.

The second error you quoted is just because the make failed. It's telling you that no NVdriver module was created, which is correct.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote