I'm trying to install VMware on Debian (Lenny) and I'm at the point of configuring, but then when it goes to compile, I get the following -
Code:
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.26-1-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
/tmp/vmware-config3/vmmon-only/Makefile:106: *** Inappropriate build environment: you wanted to use gcc version 4.3.2 while kernel attempts to use gcc version 4.1.3.
/tmp/vmware-config3/vmmon-only/Makefile:108: *** For proper build you'll have to replace gcc-4.1 with symbolic link to /usr/bin/gcc. Stop.
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.
So basically, from what I see is that my version of gcc is 4.3.2, but the kernel is trying to use 4.1.3. When I invoke aptitude, it shows 4.1 is installed, but I cannot find it.
Any ideas? Do I need to remove and then re-install it?
AKviking