LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-20-2005, 06:08 PM   #16
dark_negotiator
Member
 
Registered: Mar 2005
Location: AZ
Distribution: Fedora Core7
Posts: 59

Original Poster
Rep: Reputation: 15

[root@localhost roger]# rpm -q gcc
gcc-4.0.1-5mdk

[root@localhost roger]# rpm -qa | grep -i gcc
gcc-c++-3.4.3-7mdk
libgcc1-4.0.1-5mdk
gcc2.96-cpp-2.96-0.83mdk
gcc-cpp-4.0.1-5mdk
gcc-4.0.1-5mdk

[root@localhost roger]# gcc -v
Using built-in specs.
Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-languages=c,c++,ada,f95,objc,java --host=i586-mandriva-linux-gnu --with-system-zlib --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --disable-libjava-multilib
Thread model: posix
gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
 
Old 10-20-2005, 07:30 PM   #17
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
Ah yes that would be your problem. From your kernel version it looks like you're running 2005LE (are you? whats in /etc/release or /etc/mandrake-release?) but you've got the new GCC4 from 2006. This is bound to cause problems and not just with Nvidia, but with anything you try to compile in future. It says the same thing in that error message you posted:
Quote:
You appear to be compiling the NVIDIA kernel module with a different compile
r than the one that was used to compile the running kernel. This may be fin
e, but there are cases where this can lead to instability. The compiler use
d to compile the kernel was gcc 3.4; the current compiler is gcc 4.0.
which I didn't pick up on.

Anyway to fix it goto http://easyurpmi.zarb.org and setup repositories for your correct version, then uninstall that gcc package and reinstall it with urpmi. You should end up with gcc-3.4
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a few noob questions... xsithlordx Linux - Newbie 7 11-19-2005 05:22 PM
Questions from a noob Linux_n00b_57 Linux - Games 5 07-08-2005 04:11 PM
Several noob questions Easyrider Mandriva 1 02-15-2005 12:06 AM
some noob questions WARHEAD Slackware 7 02-29-2004 01:10 PM
Noob questions Celestial Slackware 10 06-12-2003 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration