Hello forum,
I'd like your help with an issue that has me perplexed.
I'm running Elementary OS 0.2.1 "Luna" 32-bit (built on Ubuntu 12.04 "Precise") guest on a Windows 8.1 Pro 64-bit host.
I have enabled shared folders in the virtual machine settings and installed vmware tools in the guest OS, however there seems to be errors in compiling the vmhgfs module so shared folders don't work (/mnt/hgfs/ is empty), though everything else does (like auto changing resolution, dragging and dropping files).
Entering "vmware-hgfsclient" in terminal lists the shared folder that I want to use. I tried mounting it manually by editing /etc/fstab but that didn't work (or I'm doing it wrong).
I've pasted below a segment of the output of vmware-config-tools.pl for clarity.
...
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes]
Using kernel build system.
make: Entering directory `/tmp/modconfig-W4uHLf/vmci-only'
/usr/bin/make -C /lib/modules/3.2.0-77-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-77-generic-pae'
CC [M] /tmp/modconfig-W4uHLf/vmci-only/linux/driver.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/linux/vmciKernelIf.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/common/vmciContext.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/common/vmciDatagram.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/common/vmciDoorbell.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/common/vmciDriver.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/common/vmciEvent.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/common/vmciHashtable.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/common/vmciQPair.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/common/vmciQueuePair.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/common/vmciResource.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/common/vmciRoute.o
CC [M] /tmp/modconfig-W4uHLf/vmci-only/driverLog.o
LD [M] /tmp/modconfig-W4uHLf/vmci-only/vmci.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-W4uHLf/vmci-only/vmci.mod.o
LD [M] /tmp/modconfig-W4uHLf/vmci-only/vmci.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-77-generic-pae'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-W4uHLf/vmci-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-W4uHLf/vmci-only'
cp -f vmci.ko ./../vmci.o
make: Leaving directory `/tmp/modconfig-W4uHLf/vmci-only'
Using kernel build system.
make: Entering directory `/tmp/modconfig-W4uHLf/vmhgfs-only'
/usr/bin/make -C /lib/modules/3.2.0-77-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-77-generic-pae'
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/backdoorGcc32.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/backdoor.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/bdhandler.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/cpName.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/cpNameLite.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/dentry.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/dir.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/file.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/filesystem.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/fsutil.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/hgfsBd.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/hgfsEscape.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/inode.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/link.o
CC [M] /tmp/modconfig-W4uHLf/vmhgfs-only/message.o
/tmp/modconfig-W4uHLf/vmhgfs-only/inode.c: In function ‘HgfsPermission’:
/tmp/modconfig-W4uHLf/vmhgfs-only/inode.c:1978:34: error: ‘struct dentry’ has no member named ‘d_alias’
/tmp/modconfig-W4uHLf/vmhgfs-only/inode.c:1978:34: warning: initialization from incompatible pointer type [enabled by default]
/tmp/modconfig-W4uHLf/vmhgfs-only/inode.c:1978:34: warning: (near initialization for ‘dentry’) [enabled by default]
/tmp/modconfig-W4uHLf/vmhgfs-only/inode.c:1978:34: error: ‘struct dentry’ has no member named ‘d_alias’
make[2]: *** [/tmp/modconfig-W4uHLf/vmhgfs-only/inode.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/tmp/modconfig-W4uHLf/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-77-generic-pae'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/modconfig-W4uHLf/vmhgfs-only'
The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you wish to have the shared folders 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.
[ Press Enter key to continue ]
...
Feel free to ask me for any information I may have missed out. I'd greatly appreciate any help I can receive.
Regards,
Menon