Problems with gcc compiler.

Zbigniew Luszpinski zbiggy at o2.pl
Sat Jan 28 11:51:20 CET 2012


> I keep trying to lunar-linux, but for some strange reason I have 
problems with the compiler. I am trying to install the NVIDIA driver and 
get the following error: The kernel is compiled using gcc version 4.4.3, 
you try But NVIDIA kernel module compile with gcc version 4.6.2 In the 
options I have the compiler optimization 4.4.3 by default, do not know why 
this happening. PS: Sorry for my English is not my native language.
> 

This message says that the kernel you currently use was compiled with gcc 
4.4.3 when it was installed. Now you updated to gcc 4.6.2 but kernel was 
not recompiled with new gcc 4.6.2 since that time. All drivers must be 
compiled with the same gcc as kernel was compiled with.

lin your kernel with current gcc, reboot and then lin nvidia.
This is true for all external kernel drivers not only nvidia.
So after reboot lin kernel-reqs to compile all your drivers with current 
gcc.

have a nice day,
Zbigniew Luszpinski



More information about the Lunar mailing list