vmware fusion and 11.4

Installing linux and opensuse in particular on vmware fusion has always been a mystery to me, filled with conflicting packages and things that do not quite work. If anyone has a manual, I would be most grateful.

My installation now works for the most part, except for sharing folders and copy-paste between opensuse and my mac.

As for versions, I run the latest vmware fusion and macos x.

There are vmware related tools already installed from within opensuse. I have never been able to find the official documentation for these though. On opensuse 11.2 they were in conflict with the ones from vmware fusion, but this seems to work better now.

Here is what I find:
erik@linux-7ka6:~> vmware-
vmware-checkvm vmware-toolbox-cmd
vmware-hgfsclient vmware-user-autostart-wrapper
vmware-rpctool vmware-user-suid-wrapper
vmware-toolbox vmware-xferlogs

An error message from vmware-toolbox told me that sharing folders did not work. I therefore tried “Install VMware Tools” from the “Virtual Machine” menu item.

I then eventually ran vmware-install.pl which eventually starts compiling modules.

Everything worked fine, except for three errors, two of which I display below. Any help or hints would be most welcome.

Thanks for a great distribution which I have been using since 2000.

CC [M] /tmp/vmware-root/modules/vmhgfs-only/super.o
/tmp/vmware-root/modules/vmhgfs-only/super.c:73:4: error: unknown field ‘clear_inode’ specified in initializer
make[4]: *** [/tmp/vmware-root/modules/vmhgfs-only/super.o] Error 1
make[3]: *** [module/tmp/vmware-root/modules/vmhgfs-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory /usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop' make: *** [vmhgfs.ko] Error 2 make: Leaving directory /tmp/vmware-root/modules/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 ]

MODULEBUILDDIR= modules
make[1]: Entering directory /usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop' make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop/. modules CC [M] /tmp/vmware-root/modules/vmci-only/vmciProcess.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciDatagram.o CC [M] /tmp/vmware-root/modules/vmci-only/kernelStubsLinux.o CC [M] /tmp/vmware-root/modules/vmci-only/vmci_drv.o /tmp/vmware-root/modules/vmci-only/vmci_drv.c:96:4: error: unknown field ‘ioctl’ specified in initializer /tmp/vmware-root/modules/vmci-only/vmci_drv.c:96:4: warning: initialization from incompatible pointer type /tmp/vmware-root/modules/vmci-only/vmci_drv.c: In function ‘vmci_init’: /tmp/vmware-root/modules/vmci-only/vmci_drv.c:156:4: error: implicit declaration of function ‘init_MUTEX’ make[4]: *** [/tmp/vmware-root/modules/vmci-only/vmci_drv.o] Error 1 make[3]: *** [_module_/tmp/vmware-root/modules/vmci-only] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory /usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop’
make: *** [vmci.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmci-only’

The communication service is used in addition to the standard communication
between the guest and the host. The rest of the software provided by VMware
Tools is designed to work independently of this feature.
If you wish to have the VMCI 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 ]

This solution worked for me:

Fixing vmware-tools vmhgfs on newer Linux kernels (probably anything >= 2.6.36)

Still looking for an answer to the second issue.

[QUOTE=Purpendicular;2300911]

CC [M] /tmp/vmware-root/modules/vmhgfs-only/super.o
/tmp/vmware-root/modules/vmhgfs-only/super.c:73:4: error: unknown field �clear_inode� specified in initializer
make[4]: *** [/tmp/vmware-root/modules/vmhgfs-only/super.o] Error 1
make[3]: *** [module/tmp/vmware-root/modules/vmhgfs-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory /usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop' make: *** [vmhgfs.ko] Error 2 make: Leaving directory /tmp/vmware-root/modules/vmhgfs-only’