LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2002, 04:54 PM   #16
hamsterdude
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.2
Posts: 62

Original Poster
Rep: Reputation: 15

apparently not, I tried to compile the kernel tar thingy and:

[ben@localhost NVIDIA_kernel-1.0-2314]$ make SYSINCLUDE=/usr/src/linux/include
rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h NVdriver

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 where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override 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 compile the kernel.

*** Failed cc sanity check. Bailing out! ***
make: *** [gcc-check] Error 1

I know this phrase is fast loosing its charm but HELP!?!
 
Old 03-07-2002, 09:56 PM   #17
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Try doing "make install". Do the kernel first and then the GLX, edit your /etc/X11/XF86Config-4 and then download and run nv_check.sh to check the install. You will also need the kernel src rpm's installed from your mandrake cd's.
 
Old 03-08-2002, 03:21 AM   #18
hamsterdude
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
tried doing make install, and I got the same error.
 
Old 03-08-2002, 03:29 AM   #19
hamsterdude
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
How about if I recompile the kernel so that way it'll be compiled with my current compiler? Unfortunately I've never recompiled my kernel before, is it just cd /mnt/usr/src/linux/kernel ; make Makefile, or what?
 
Old 03-08-2002, 03:38 AM   #20
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
The kernel How-To should be the first thing you read.
 
Old 03-08-2002, 03:35 PM   #21
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
Hold on a sec - I really don't think you need to recompile the kernel for this.

What exactly have you done so far - tell us every step. I'm lost as to what you have done!
 
Old 03-08-2002, 03:47 PM   #22
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
i'm also a little skeptical about whether the kernel needs to be recompiled. i think that the only steps that should be necessary is to install the rpm and change the driver name in the /etc/XF86Config file.
 
Old 03-08-2002, 06:30 PM   #23
hamsterdude
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
OK, chain of events

Step 1

Using Driver: Standard GeForce2 which comes with Mandrake
Xfree driver: nv

If it's just rendering polygons (like GLTron with all detail off), runs fine, but as soon as it starts to render textures (like Tuxracer) runs a 1 or 2 fps. I downloaded the Nvidia RPMs and installed them. Changing nothing else I ran GLTron, and it wouldn't start. I then changed the XF86Config-4 file . . .

Step 2

Using Driver: Standard GeForce2 which comes with Mandrake
Xfree driver: nvidia

X won't start, claims there's no screens. Restore old XFree86 Config file and unistall NVidia RPMs.

Step 3

Using Driver: Standard GeForce2 which comes with Mandrake
Xfree driver: nv

Back to original configuration, downloaded the TAR files, tried to compile Nvidia_kernel thingy with both make SYSINCLUDE=/usr/src/linux/include and make inatall. Both times received same message:
rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h NVdriver

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 where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override 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 compile the kernel.

*** Failed cc sanity check. Bailing out! ***
make: *** [gcc-check] Error 1

HELP!
 
Old 03-08-2002, 06:32 PM   #24
hamsterdude
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
If I upgraded to Mandrake 8.1, would that install working drivers automatically?
 
Old 03-08-2002, 06:48 PM   #25
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Try running the NVchooser script and install the rpm's that it recomends,
http://205.158.109.140/XFree86_40/1.0-2802/NVchooser.sh
Then edit your /etc/X11/XF86Config-4 exactly as it says in the readme file,
http://205.158.109.140/XFree86_40/1.0-2802/README
 
Old 03-08-2002, 07:41 PM   #26
hamsterdude
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
YEAH!!!!!!!
Huzah and hoorah! Thank you for all your help, please don't kill me but the problem was, erm, um *cough* I downloaded the wrong package *cough*

Thanks everyone for all your help!!!!!
 
Old 03-08-2002, 08:44 PM   #27
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47


That calls for the LinuxQuestion squad to come round your place and deliver justice for us all!

Only joking! Tux racer running fine now?
 
Old 03-08-2002, 08:50 PM   #28
hamsterdude
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
Yep, looks lovely, especially considering I;m so used to DirectX. Bring on GL!!!!
Any other good games you can suggest?
 
Old 03-10-2002, 04:10 AM   #29
Furtzi
LQ Newbie
 
Registered: Feb 2002
Location: Finland/NokiaLand
Distribution: GNU/Linux Redhat 7.2
Posts: 9

Rep: Reputation: 0
imho Quake 3 Arena is good, it works better in linux than windows
 
  


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
Installing tuxracer Rhatlinux Slackware 12 09-29-2004 08:10 AM
TuxRacer Lord C Linux - Software 4 03-11-2004 02:50 PM
Tuxracer lag mr.knownothing Linux - Newbie 3 12-23-2003 11:53 AM
Tuxracer wr3ck3d Linux - Software 8 08-02-2003 02:09 PM
tuxracer bibilit Linux - Software 4 11-13-2002 02:55 PM


All times are GMT -5. The time now is 03:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration