LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Error trying to configure VM Tools (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/error-trying-to-configure-vm-tools-925810/)

Ian D 01-26-2012 10:48 AM

Error trying to configure VM Tools
 
I have installed VM Tools (Guest: Fedora 16, Host: VM Player 3.1.5 on Windows XP).

I get the following set of messages
Quote:

make: Entering directory `/tmp/vmware-root/modules/vmhgfs-only'
make -C /lib/modules/3.2.1-3.fc16.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.2.1-3.fc16.i686'
CC [M] /tmp/vmware-root/modules/vmhgfs-only/dir.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/rpcout.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/cpName.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/request.o
/tmp/vmware-root/modules/vmhgfs-only/request.c:45:32: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
make[2]: *** [/tmp/vmware-root/modules/vmhgfs-only/request.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.2.1-3.fc16.i686'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmhgfs-only'
I think it has gone wrong - but I don't know what.

towheedm 01-26-2012 10:37 PM

As far as I know, VM Tools will not build on the 3.x kernels.

I have this exact issue on every 3.x kernel on every distro I have installed in vmplayer 3.1.4. Even vmplayer needs patching to build on 2.6.39 or later kernel.

If you are using Fedora, try installing the open source vm tools package:
Code:

yum install open-vm-tools
Hope this helps.


All times are GMT -5. The time now is 05:18 PM.