You are not logged in.

#1 2003-06-09 21:58:41

karrot-x
Member
From: USA
Registered: 2003-04-27
Posts: 10
Website

NVidia Problems

I get this error when trying to run the nvidia 4363, its right after it asks if id like to prep my kernel, 
  *** Failed cc sanity check. Bailing out! ***
   make: *** [gcc-check] Error 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.
[17:35:54 karrot-x@funky-panda karrot-x]$ gcc --version
gcc (GCC) 3.3
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you guys have any ideas please post, im in major need, i want to play cube smile


- Karrot-x.net

Offline

#2 2003-06-09 22:06:43

Howloweener
Member
From: Connecticut
Registered: 2003-06-05
Posts: 21

Re: NVidia Problems

You have to compile your own kernel to get it working.  The conflict comes from having the system using a gcc version different from what the kernel was compiled with.

So go download a kernal from kernel.org (I think it is) and get the other patches together you want to use, I am currently using the ck-sources, and bootsplash patches.  You do know how to complie one don't you?

Offline

#3 2003-06-09 22:08:15

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: NVidia Problems

this is because the arch kernel is compiled with gcc3.2 and your nvidia drivers are compiled with 3.3. there is plenty of info in the readme and on the nvidia site to bypass this without recompiling (which will be hard to do with gcc 3.3)


AKA uknowme

I am not your friend

Offline

#4 2003-06-10 01:25:08

karrot-x
Member
From: USA
Registered: 2003-04-27
Posts: 10
Website

Re: NVidia Problems

heh if i knew how to compile my own kernel id probably have done it by now, but when theres a need theres me doing it smile


- Karrot-x.net

Offline

#5 2003-06-10 02:15:55

jlvsimoes
Member
From: portugal
Registered: 2002-12-23
Posts: 392
Website

Re: NVidia Problems

this is a long shot or not but i think i did manage do compile the nvidia drivers with gcc 3.3 using the a kernel compiled with gcc 3.2
run the NVIDIA-Linux-x86-1.0-4363 with extract only flag
then cd to NVIDIA-Linux-x86-1.0-4363/usr/src/nv/
edit the makefile and try make this the code bellow "useless" im sorry i do not know wath i did tongue but i did something becouse i compile it but its betther to recompile the kernel using gcc 3.3 you may need to pache the kernel to pre7 or even to the latest rc to make it work on 3.3
if you dont want to patch and you fell like triing something nice i think there is my pkg of the wolk-kernel on incoming give it a shot it compiles smoothly using gcc3.3 and i use it misselve for some time now . no problem at all and its very good if you do use the wolk compile it becouse there are many patches and many security features for you to chose from   


gcc-check:
        @if [ -z $(IGNORE_CC_MISMATCH) ]; then
         if [ $(kernel_cc) != $(module_cc) ]; then
        echo "                                                           ";
        echo "You appear to be compiling the NVIDIA kernel module with   ";
        echo "a compiler different from the one that was used to compile ";
        echo "the running kernel. This may be perfectly fine, but there  ";
        echo "are cases where this can lead to unexpected behaviour and  ";
        echo "system crashes.                                            ";
        echo "                                                           ";
        echo "If you know what you are doing and want to override this   ";
        echo "check, you can do so by setting IGNORE_CC_MISMATCH.        ";
        echo "                                                           ";

        echo "In any other case, set the CC environment variable to the  ";
        echo "name of the compiler that was used to compile the kernel.  ";
        echo "                                                           ";
        echo -en "33[1;31m";
        echo -e  "*** Failed cc sanity check. Bailing out! ***";
        echo -en "33[0m";
        exit 1;
         fi
        fi
ps: on arch linux you do not need to know to compile your kernel tongue go to /usr/abs/base/kernel and tipe makepkg thats it if you got your custom config place it there
ps2: o know i did not help you at all tongue sorry


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU/ d- s: a- C L U P+ L+++ E--- W+
N 0+ K- W-- !O !M V-- PS+ PE- V++ PGP T 5 Z+ R* TV+ B+
DI-- D- G-- e-- h! r++ z+ z*
------END GEEK CODE BLOCK------

Offline

#6 2003-06-10 03:53:42

hApy
Member
From: Victoria, BC
Registered: 2003-04-13
Posts: 194
Website

Re: NVidia Problems

all you need to do is:

export IGNORE_CC_MISMATCH="1"

before running the script.

if that exists then it won't complain and will just compile it anyways despite the mismatch. I've been running it like this on and off for awhile and it's completely stable (for me).

Hapy.

Offline

#7 2003-06-10 04:42:55

Howloweener
Member
From: Connecticut
Registered: 2003-06-05
Posts: 21

Re: NVidia Problems

I tried forcing it 'once' and it occasionally would kill X when I ran gl programs or screensavers. Perhaps others have had better luck though, and those happened to be the 4149 drivers (which weren't great).

Besides, I think knowing how to compile a kernel is an important skill.  Yes, it's intimidating the first time, but it's not hard...  And you get to add on all sorts of goodies, like ACPI, preempt, and bootsplashes mmmmm...   big_smile

And with 4363 my arch system I get another 8 fps over my mandrake, and that pulls 10 fps over my XP   yikes

Offline

Board footer

Powered by FluxBB