Your kernel was built with “gcc” version…

Occasional when configuring VMware tools on Debian you’ll get the message:

“Your kernel was built with “gcc” version “4.1.3″;, while you are trying to use “/usr/bin/gcc” version “4.3.3″. This configuration is not recommended and VMware Tools may crash if you’ll continue. Please try to use exactly same compiler as one used for building your kernel. Do you want to go with compiler “/usr/bin/gcc” version “4.3.3″ anyway?

A quick way to resolve this is to apt-get gcc-4.1, and then:

cd /usr/bin

cp gcc gcc.backup

rm gcc

ln -s gcc-4.1 gcc

This will provide tools the gcc version it is expecting. More to come on this soon.

This entry was posted in Linux, Virtualization. Bookmark the permalink.

Leave a Reply