[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: updated to sid 2.6.16-14 and can no longer build VMware modules

RParr wrote:

Since installing the latest sid 2.6.16-2 updates earlier this week I have been unable to build the VMware modules.
vmware-config.pl says my kernel has been built with gcc 4.0.4
BUT when I try to build vmware modules with gcc 4.0.4 it reports the kernel is built with gcc 4.1

# export CC=gcc-4.0
# vmware-config.pl
Using compiler "/usr/bin/gcc-4.0". Use environment variable CC to override.
Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.16-2-amd64-k8'
/tmp/vmware-config0/vmmon-only/Makefile:127: *** Inappropriate build environment: you wanted to use gcc version 4.0.4 while kernel attempts to use gcc version 4.1.2. /tmp/vmware-config0/vmmon-only/Makefile:129: *** For proper build you'll have to replace gcc with symbolic link to /usr/bin/gcc-4.0. Stop.
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.16-2-amd64-k8'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.
Execution aborted.


After carefully reading the error message once again, I temporarily move the gcc -> gcc-4.1 link aside and made a gcc -> gcc-4.0 link and the modules were rebuilt and now work.

Sorry for the noise


Reply to: