VMware Server 1.0.7 - compile errors on vmware-config-tools

Hi all,

yes, I searched all the threads around VMware issues on OpenSUSE 11 - still I did not succeed.

I tried it with the OpenSUSE 11 open-vm package and with the VMware supplied tar-file. In any case I am running into the following compile errors:

make: Entering directory /tmp/vmware-config7/vmhgfs-only' make -C /lib/modules/2.6.25.5-1.1-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory /usr/src/linux-2.6.25.5-1.1-obj/i386/pae’
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/i386/pae/. modules
CC [M] /tmp/vmware-config7/vmhgfs-only/cpName.o
In file included from /usr/src/linux-2.6.25.5-1.1/include/linux/string.h:11,
from /tmp/vmware-config7/vmhgfs-only/cpName.h:18,
from /tmp/vmware-config7/vmhgfs-only/cpName.c:18:
/usr/src/linux-2.6.25.5-1.1/include/linux/types.h:40: error: conflicting types for ‘uintptr_t’
/tmp/vmware-config7/vmhgfs-only/vm_basic_types.h:161: error: previous declaration of ‘uintptr_t’ was here
make[4]: *** [/tmp/vmware-config7/vmhgfs-only/cpName.o] Error 1
make[3]: *** [module/tmp/vmware-config7/vmhgfs-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory /usr/src/linux-2.6.25.5-1.1-obj/i386/pae' make: *** [vmhgfs.ko] Error 2 make: Leaving directory /tmp/vmware-config7/vmhgfs-only’
Unable to build the vmhgfs module.

Any hints are appreciated!

Best regards
Hannes

Hannes,

not exactly sure where the problem is. You have VMWare Server 1.0.7, Opensuse 11 as a guest, and now you want to install the VMWare Tools in the Opensuse 11 guest?

Uwe

Correct.

The problem is the type conflict with uintptr_t. I tried to resolve it, but on checking the C sources more and more issues revealed.

Best regards
Hannes

AFAIK vmhgfs is used for shared folders and is not a requirement of vmware tools. Tools runs fine without it.

Shared folders are not supported on vmware server.

Jeff

Yeps, but this image has to be shared with users who do have VM Workstation - so installing vmware-tools would be a benefit…

  • HannesSchubert wrote, On 09/25/2008 09:06 AM:
    > Yeps, but this image has to be shared with users who do have VM
    > Workstation - so installing vmware-tools would be a benefit…

Let me check, I need to install an Opensuse 11 guest first.

Uwe

  • HannesSchubert,

see what you mean now. Is
http://kamilkisiel.blogspot.com/2007/11/installing-vmware-tools-on-kernel-2622.html
any help?

Uwe

Uwe,

first thank you for the hint!

However, I do not see so. It is a problem with a duplicate definition of uintptr_t (and others), but not i_blksize. I tried to fix it, but after 2 hours rearranging #defines I left it alone. Currently I am suspecting that kernel headers do not match - allthough they all are installed directly from the distribution.

Have a nice weekend

Hannes