VMware Communities
kafischer
Contributor
Contributor

vmhgfs module not compilable for VMware Tools 9.9.2 with Ubuntu Linux kernel 3.13.0-48-generic (Apr. 2015) (Shared Folder Feature not working in Ubuntu 14.04 LTS (Guest) on Windows 8.1 (Host))?

Hello Community and the VMware Developer Team,


I'm running into compilation errors for the vmhgfs modulte of VMware Tools in Ubuntu Linux kernel to 3.13.0-46-generic. All other VMware tool features are working fine.

1. In Ubuntu 14.04 LTS the terminal command lsmod | grep "vm." lists no vmhgfs module

2. During vmhgfs module compilation there were several "errors" near "/vmhgfs-only/" and "make":


Here is one of our terminal journals for you: 


/tmp/modconfig-dLNweD/vmhgfs-only/inode.c: In function ‘HgfsPermission’:

/tmp/modconfig-dLNweD/vmhgfs-only/inode.c:2019:1: error: invalid storage class for function ‘HgfsGetattr’

HgfsGetattr(struct vfsmount *mnt,  // Unused

^

/tmp/modconfig-dLNweD/vmhgfs-only/inode.c:2018:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]

static int

^

/tmp/modconfig-dLNweD/vmhgfs-only/inode.c:2277:1: error: expected declaration or statement at end of input

}

^

/tmp/modconfig-dLNweD/vmhgfs-only/inode.c: At top level:

/tmp/modconfig-dLNweD/vmhgfs-only/inode.c:136:12: warning: ‘HgfsGetattr’ used but never defined [enabled by default]

static int HgfsGetattr(struct vfsmount *mnt,

            ^

  CC [M]  /tmp/modconfig-dLNweD/vmhgfs-only/super.o

/tmp/modconfig-dLNweD/vmhgfs-only/inode.c: In function ‘HgfsPermission’:

/tmp/modconfig-dLNweD/vmhgfs-only/inode.c:2277:1: warning: control reaches end of non-void function [-Wreturn-type]

}

^

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

make[2]: *** Waiting for unfinished jobs....

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

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

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

make: Leaving directory `/tmp/modconfig-dLNweD/vmhgfs-only'

Is there a simple fix for this as in vmhgfs module not compilable for VMware Tools 9.9.0 (Fusion7.1) after Ubuntu Linux kernel update to ...?

Best regards and thanks!

Kevin

0 Kudos
1 Reply
DougDrew
Contributor
Contributor

I'm having the same issue with a new install of Ubuntu 15.04 (Guest) on Windows 7 Pro (Host). I am setting up samba as a work around. I also posted in the Mac thread.

- Doug

0 Kudos