You are not logged in.
Pages: 1
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
- Karrot-x.net
Offline
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
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
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
- Karrot-x.net
Offline
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 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 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 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
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
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...
And with 4363 my arch system I get another 8 fps over my mandrake, and that pulls 10 fps over my XP
Offline
Pages: 1