VMware Communities
emcp333
Contributor
Contributor
Jump to solution

Ubuntu 14.04 LTS will not install VMWare Tools shared folders ability

Getting the following error while attempting to install VMWare Tools inside a guest running Ubuntu 14.04 LTS.  I attempted to open a ticket within VMWare's system and got an error (losing faith in Vmware here as an ESXi + Fusion customer...)



Sounds like Vmware needs to update the VMware tools for Ubuntu 14.04 kernel headers??


make: Entering directory `/tmp/modconfig-vL08ip/vmhgfs-only'

/usr/bin/make -C /lib/modules/3.13.0-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

      MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'

  CC [M]  /tmp/modconfig-vL08ip/vmhgfs-only/backdoor.o

  CC [M]  /tmp/modconfig-vL08ip/vmhgfs-only/backdoorGcc64.o

  CC [M]  /tmp/modconfig-vL08ip/vmhgfs-only/bdhandler.o

  CC [M]  /tmp/modconfig-vL08ip/vmhgfs-only/cpName.o

  CC [M]  /tmp/modconfig-vL08ip/vmhgfs-only/cpNameLinux.o

  CC [M]  /tmp/modconfig-vL08ip/vmhgfs-only/cpNameLite.o

  CC [M]  /tmp/modconfig-vL08ip/vmhgfs-only/dentry.o

  CC [M]  /tmp/modconfig-vL08ip/vmhgfs-only/dir.o

  CC [M]  /tmp/modconfig-vL08ip/vmhgfs-only/file.o

/tmp/modconfig-vL08ip/vmhgfs-only/file.c: In function ‘HgfsOpen’:

/tmp/modconfig-vL08ip/vmhgfs-only/file.c:685:27: error: incompatible type for argument 3 of ‘HgfsSetUidGid’

                           current_fsuid(), current_fsgid());

                           ^

In file included from /tmp/modconfig-vL08ip/vmhgfs-only/file.c:46:0:

/tmp/modconfig-vL08ip/vmhgfs-only/fsutil.h:92:6: note: expected ‘uid_t’ but argument is of type ‘kuid_t’

void HgfsSetUidGid(struct inode *parent,

      ^

/tmp/modconfig-vL08ip/vmhgfs-only/file.c:685:27: error: incompatible type for argument 4 of ‘HgfsSetUidGid’

                           current_fsuid(), current_fsgid());

                           ^

In file included from /tmp/modconfig-vL08ip/vmhgfs-only/file.c:46:0:

/tmp/modconfig-vL08ip/vmhgfs-only/fsutil.h:92:6: note: expected ‘gid_t’ but argument is of type ‘kgid_t’

void HgfsSetUidGid(struct inode *parent,

      ^

make[2]: *** [/tmp/modconfig-vL08ip/vmhgfs-only/file.o] Error 1

make[1]: *** [_module_/tmp/modconfig-vL08ip/vmhgfs-only] Error 2

make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'

make: *** [vmhgfs.ko] Error 2

make: Leaving directory `/tmp/modconfig-vL08ip/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 ]

Tags (1)
1 Solution

Accepted Solutions
SvenGus
Expert
Expert
Jump to solution

Seems to work fine with the Tools in the recent VMware Fusion 6.0.3 update:

http://www.vmware.com/go/downloadfusion

Certainly the Tools would need to be updated in order to support Unity view (disabled, sofar, also with 6.0.3 + 14.04) in recent Ubuntu guests: maybe in Fusion 6.1, who knows...

View solution in original post

3 Replies
SvenGus
Expert
Expert
Jump to solution

Seems to work fine with the Tools in the recent VMware Fusion 6.0.3 update:

http://www.vmware.com/go/downloadfusion

Certainly the Tools would need to be updated in order to support Unity view (disabled, sofar, also with 6.0.3 + 14.04) in recent Ubuntu guests: maybe in Fusion 6.1, who knows...

emcp333
Contributor
Contributor
Jump to solution

That update literally landed in my lap this morning.. loading it now!

Seems to have installed.  Will continue pushing but thank you for the clue in!

0 Kudos
kksww
Contributor
Contributor
Jump to solution

eh, meet a new problom after   update  to fusion6.0.3~

why unable to start  services?

it's can't auto enable  share folders when start  this guest running Edubuntu 14.04LTS,

I must enable them myslef everytime.

------------------------------------------------------------

Distribution provided drivers for Xorg X server are used.

Skipping X configuration because X drivers are not included.

Creating a new initrd boot image for the kernel.

update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic

initctl:未知任务: vmware-tools

Unable to start services for VMware Tools

Execution aborted.

------------------------------------------------------

0 Kudos