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

Newegg Daily Deals

Thread Tools
Old 05-05-03, 06:08 PM   #13
Registered User
Join Date: May 2003
Posts: 8

I have resolved... withexport CC=/usr/bin/gcc-2.95. .
Then I have
installed NVIDIA.run and has compiled the kernel alone. I do not know
the meant one of export... you can say it to me? Thanks for the
syd is offline   Reply With Quote
Old 05-05-03, 06:16 PM   #14
Registered User
Join Date: Sep 2002
Posts: 2,262

"export" tells the shell to set that variable for the current shell, and all subshells. If you don't use export (if you just say CC=/usr/bin/gcc-2.95), then the variable only gets set for the current shell.

You need it set in child shells too, because the run file either spawns a shell itself, or you spawn one, when you do sh filename. The "sh" is a new shell.
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-05-03, 06:33 PM   #15
Registered User
Join Date: May 2003
Posts: 8

Thanks for everything ... you have been very kind
syd is offline   Reply With Quote
Old 10-20-03, 04:32 PM   #16
Registered User
Join Date: Oct 2003
Posts: 4
Default Easy method...

Instead of telling where the CC is, you could simply do the following (as root)

$ env IGNORE_CC_MISMATCH=1 ./nvidia-installer
(that is when you unpacked the package, otherwise, use sh NVIDIA-... instead of ./nvidia-...

It worked for me (Knoppix 3.3)
lunarg is offline   Reply With Quote
Old 10-22-03, 04:58 AM   #17
Registered User
Join Date: Oct 2003
Posts: 6

Unless you're very sure of what you're doing, you should always compile kernel modules with the same version of compiler as you did the rest of the kernel.

The kernel is very sensitive to which version of gcc is used to compile it. For 2.4.x the only safe version is gcc 2.95.x (x>= 3).

For 2.6.x, gcc 3.3.1 has given me no problems, but few people are running that kernel yet
drone is offline   Reply With Quote

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
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
Problems with a GeForce4 MX 440 under Debian Iainuki NVIDIA Linux 1 09-24-02 09:27 PM
Debian + Nvidia drivers, bad compilation Prodigy NVIDIA Linux 16 09-10-02 07:13 PM
Debian 3.0 / NVidia 2960 rakerzZz NVIDIA Linux 9 08-08-02 12:00 AM

All times are GMT -5. The time now is 08:25 AM.

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