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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-03-03, 07:49 AM   #1
mfred
Registered User
 
mfred's Avatar
 
Join Date: Nov 2002
Posts: 15
Default Ignore_cc_mismatch Mdk 9.1

I get this error described in the FAQ with the Answer:

You should compile the NVIDIA kernel module with the same compiler
version that was used to compile your kernel. Some Linux kernel data
structures are dependent on the version of gcc used to compile it;
for example, in include/linux/spinlock.h:

...
* Most gcc versions have a nasty bug with empty initializers.
*/
#if (__GNUC__ > 2)
typedef struct { } rwlock_t;
#define RW_LOCK_UNLOCKED (rwlock_t) { }
#else
typedef struct { int gcc_is_buggy; } rwlock_t;
#define RW_LOCK_UNLOCKED (rwlock_t) { 0 }
#endif


UH ?
What should I do there ???
__________________
--
rgds
mfred

Using: Leadtek WinFast PX6800 TDH PCIe
mfred is offline   Reply With Quote
Old 04-03-03, 08:43 AM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

What it says to do.

Find out which compiler you have installed (run gcc -dumpversion), and find out which compiler was used to compile your kernel (cat /proc/version), and then either:

1) Install the kernel compiler as your main system compiler, or

2) Recompile your kernel with your current system compiler.

#2 is preferable, because most of the time when there's a compiler version mismatch, it's because the compiler used on the kernel is older. Using a more recent compiler is preferable.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Reply


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
geforce 4 and mdk 8.2 rjbrooksjr NVIDIA Linux 3 08-14-02 11:02 AM

All times are GMT -5. The time now is 11:22 AM.


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