LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NVIDIA gfx + kernel kompilation (https://www.linuxquestions.org/questions/linux-newbie-8/nvidia-gfx-kernel-kompilation-83168/)

bad5you 08-18-2003 12:47 PM

NVIDIA gfx + kernel kompilation
 
Hello all,
being new to Linux I managed to go there:

using Suse 8.2 (kernel 2.4.20-62, kernel source 2.4.20.SUSE-62)
gcc 3.3-23

When trying to install NVIDIA-Linux-x86-1.0-4496-pkg2.run it's all ok until it detects that the kernel was compiled by gcc 2.95 what leads to the known cc mismatch.

[1;31m*** Failed cc sanity check. Bailing out! ***

1) How do I use IGNORE_CC_MISSMATCH?.
Some pages saied "export IGNORE_CC_MISSMATCH=1", others "...=TRUE"

Or should i not ignore it and recompile the kernel to avoid problems?
But then, there were some pages that told not to use gcc 3.3 for kernel kompilation but 3.2 or older.

Or is it the best way to get myself gcc 2.95 to avoid the CC Missmatch?

If not 3.3, where can I get the other compiler versions? How install them? How set them default?

Only answer the last 3 Q. if it's short. I did not serarch fot answers there yet. Maybe give a link?.

2) As I noticed that it's really hard to do everything without a boot about Linux, what book would you recommand for a beginner?

Thanks in advance.

leonscape 08-18-2003 02:22 PM

export IGNORE_CC_MISMATCH=true

worked for me, no problem.

gcc 3.3 is the latest. The kernel is not usually compiled with the newest gcc as it may introduce problems for the kernel.

bad5you 08-18-2003 03:09 PM

I now did it, and it works all fine. 3D hardware accerleration working good now.
And I tried it with =1 (for fun) and it worked. seems as if true and 1 are doing the same job here.

thx

leonscape 08-18-2003 03:36 PM

0 = false
1 = true and or -1

This tends to be how these things are set.


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