The CC version check
发表于 : 2008-04-12 19:35
安装Nvidia官方下载的驱动:NVIDIA-Linux-x86-169.07-pkg1.run时出现下面的错误:
The CC version check failed
The compiler used to compile the kernel (gcc 4.1) does not exactly match
> the
> current compiler (gcc 4.2). The Linux 2.6 kernel module loader rejects
> kern
> el modules built with a version of gcc that does not exactly match that of
> t
> he compiler used to build the running kernel.
>
> If you know what you are doing and want to ignore the gcc version check,
> sel
> ect "No" to continue installation. Otherwise, select "Yes" to abort
> install
> ation, set the CC environment variable to the name of the compiler used to
> c
> ompile your kernel, and restart installation.
本系统有2个内核版本:
2.6.22-14-generic、2.6.24-15-generic
gcc版本也有2个:
gcc-4.1 、gcc-4.2
google了半天都没有找到解决办法,怎么解决?
The CC version check failed
The compiler used to compile the kernel (gcc 4.1) does not exactly match
> the
> current compiler (gcc 4.2). The Linux 2.6 kernel module loader rejects
> kern
> el modules built with a version of gcc that does not exactly match that of
> t
> he compiler used to build the running kernel.
>
> If you know what you are doing and want to ignore the gcc version check,
> sel
> ect "No" to continue installation. Otherwise, select "Yes" to abort
> install
> ation, set the CC environment variable to the name of the compiler used to
> c
> ompile your kernel, and restart installation.
本系统有2个内核版本:
2.6.22-14-generic、2.6.24-15-generic
gcc版本也有2个:
gcc-4.1 、gcc-4.2
google了半天都没有找到解决办法,怎么解决?