I am running vmware-tools-config.pl for workstation 6.02 on a Mandriva Free 2009 guest. I have the following rpms installed:
gcc
binutils
libbinutils
make
kernel-desktop-devel-2.6.27.5-2mnb-1-1mnb2 (which matches my kernel).
Vmtools seem to load but the scroll button on the mouse will not work.
I get the following output from the attempt to build vmmemctl:
# vmware-config-tools.pl
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon:
Trying to find a suitable vmmemctl module for your running kernel.
None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel?
Extracting the sources of the vmmemctl module.
Building the vmmemctl module.
Using 2.6.x kernel build system.
make: Entering directory `/root/tmp/vmware-config5/vmmemctl-only'
make -C /lib/modules/2.6.27.5-desktop-2mnb/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.27.5-desktop-2mnb'
CC /root/tmp/vmware-config5/vmmemctl-only/os.o
In file included from /root/tmp/vmware-config5/vmmemctl-only/os.c:40:
/root/tmp/vmware-config5/vmmemctl-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/root/tmp/vmware-config5/vmmemctl-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /root/tmp/vmware-config5/vmmemctl-only/os.c:40:
/root/tmp/vmware-config5/vmmemctl-only/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/root/tmp/vmware-config5/vmmemctl-only/os.c: In function ‘os_init’:
/root/tmp/vmware-config5/vmmemctl-only/os.c:567: error: ‘struct proc_dir_entry’ has no member named ‘get_info’
make[2]: *** Error 1
make[1]: *** Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.5-desktop-2mnb'
make: *** http://vmmemctl.ko Error 2
make: Leaving directory `/root/tmp/vmware-config5/vmmemctl-only'
Unable to build the vmmemctl module.
The memory manager driver (vmmemctl module) is used by VMware host software to
efficiently reclaim memory from a virtual machine.
If the driver is not available, VMware host software may instead need to swap
guest memory to disk, which may reduce performance.
The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you want the memory management feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
The script also fails to build vmhgfs module, the vmblock module, and the vmxnet module. How can I correct this problem?