Submitted by admin on January 22, 2009 - 2:29pm
During the execution of an installer script, you may encounter the following error message:
The compiler used to compile the kernel (gcc 4.1) does not exactly match the current compiler (gcc 4.3). The Linux kernel module loader rejects kernel modules built with a version of gcc that does not exactly match that of the compiler used to build the running kernel.
If you know what you are doing and want to ignore the gcc version check, select "No" to continue installation. Otherwise, select "Yes" to abort installation, set the CC environment variable to the name of the compiler used to compile your kernel, and restart installation.
Abort now?
If such an error message occurs,
1. Immediately abort the installation, but stay in the terminal as root.
2. Execute the following command from the terminal:
export CC=/usr/bin/gcc-4.1
3. Retry the installation script.
Note that the error message may identify versions other than gcc-4.1 and gcc-4.3 that are in conflict. When changing the CC environment variable, use the version of gcc that was used to compile the kernel, as stated in the error message.