Distro: Ubuntu Saucy (13.10)
Kernel: 3.11.0-0
Version: open-vm-tools-2013.04.16-1098359
This blocks open-vm-tools DKMS package from building on Saucy once the kernel is rebased to 3.11.
When building with 3.11 headers you get the following error:
open-vm-tools-2013.04.16-1098359/modules/linux/vmhgfs/dir.c:82:4: error: unknown field ‘readdir’ specified in initializer
.readdir = HgfsReaddir,
^
This is because readdir has been renamed to iterate as of commit bb6f619b3a49f940d7478112500da312d70866eb. HgfsReaddir needs to use the new iterate functions, and readdir needs to be replaced with iterate for kernel versions that iterate exists.
A launchpad bug with slightly more info is here:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1208011
Thanks
Looks like a patch at http://mysticalzero.blogspot.com/2013/07/vmblock-patch-for-linux-311-rc1-vmware.html should provide a solution. Not the exact patch needed, but should show what to do.
Patch only fixes one module. The vmci, vmhgfs, and vsock modules are still broken.
Building against 3.12 throws some more error messages, a log is here:
http://devel.recluse.de/~bzed/.publish/2014-01-08-JgfKxGlqJX4/make.log
(I've applied 1a3eb34dd0ad5aa3e51d586cf1fcf310c1f4350e - [PATCH] Fix AssertOnCompileFailed for GCC 4.8 (kernel 3.10+) on 9.4.0-1280544 - made things slightly better, but did not fix all issues unfortunately.
Actually I think 4a527c99 fixes at least the iterate issue.
Please check with the latest version of open-vm-tools 9.10.2.
Similar to tracker https://sourceforge.net/p/open-vm-tools/tracker/173/.