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

After recent Debian sid upgrade 2.6.16 to 2.6.16, vmware-config.pl fails



I have been running VMware 5.5.1 under Debian sid with 2.6.15 kernel and X.org 6.8.x.

Now, after dist-upgrading to 2.6.16 kernel and X.org 7.0 (and a lot of other upgrades that came along as part of the deal), building vmmon module via vmware-config.pl fails.

vmware-config.pl starts with a message that the kernel was built with gcc 4.0.3 and the build is to use 4.0.4. I said yes, proceed, as I thought this a minor version difference which would be ok. The next part fails with the following messages
Any ideas would be greatly appreciated

------------------------------
root@n3:~# vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
Virtual ethernet done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Your kernel was built with "gcc" version "4.0.3", while you are trying to use "/usr/bin/gcc" version "4.0.4". This configuration is not recommended and VMware
Workstation 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.0.4" anyway? [no] yes

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.16-1-amd64-k8/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.16-1-amd64-k8/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.16-1-amd64-k8'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined /tmp/vmware-config0/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:60: error: conflicting types for âpoll_initwaitâ include/linux/poll.h:45: error: previous declaration of âpoll_initwaitâ was here /tmp/vmware-config0/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type /tmp/vmware-config0/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.16-1-amd64-k8'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html"; and "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html";.

Execution aborted.




Reply to: