Created attachment 372758 [details, diff] 279-getname.patch With the commit https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9115eac2c788c17b57c9256cb322fa7371972ddf the symbol getname is not anymore exported for kernel >= 3.14.0. Without a patch the loading of the module fails with the following error: kernel: vmblock: Unknown symbol getname (err 0) I have written a patch which should solve the issue, here is attached. Please test it carefully.
Patch is not compatible with sources patched for 3.12. That patch is also required for modules to build correctly. Mainly because getname line looks like that: --- name = (char*)getname(buf)->name; ---- After fixing patch applies correctly and vmware-modules-279.1-r1 are working as expected.
(In reply to Kamil Kamiński from comment #1) > Patch is not compatible with sources patched for 3.12. That patch is also > required for modules to build correctly. > > Mainly because getname line looks like that: > > --- > name = (char*)getname(buf)->name; > ---- > > After fixing patch applies correctly and vmware-modules-279.1-r1 are working > as expected. there is no need to patch kernel 3.12 so in the ebuild you should put kernel_is gt 3 13 99 && epatch "${FILESDIR}/279-getname.patch"
Created attachment 376568 [details, diff] Modified patch as per comment #1
For folks googling: I now have 3.14.x support in my overlay: gmt-vmware-overlay on github (username: gmt) which solves several problems with gentoo's ebuilds. nb: github was down as I wrote this. I'll update as soon as they sort out their issues, but there may be a brief window where the 3.14.x patches are not yet available once github is online.
http://pastie.org/pastes/9090538/ contains diff to build it. Shamelessly obtained from https://wiki.archlinux.org/index.php/VMware
I have commited a new ebuild and set of patches to the official vmware overlay. Please give it a try. Please be sure to remove any user patches you have in /etc/portage/patches/ as the code should now compile *cleanly* for all kernel versions 3.10 - 3.17. I am working with the maintainer to get the ebuild and patches merged with the mainline once it has been tested enough.