rasa / vmware-tools-patches

Patch and build VMware tools automatically
https://github.com/rasa/vmware-tools-patches/wiki
MIT License
1.19k stars 198 forks source link

Fedora 21 vmblock not installing (compile fails) #41

Open hirodotp opened 9 years ago

hirodotp commented 9 years ago

When installing from tools 7.1.1 (vmwaretools 9.9.2-2496488) in Fedora 21 (kernel 3.19.5-200.fc21.x86_64) vmblock is not being installed. I have applied the fix mentioned in issue #22 with no avail.

When attempting to manually compile the vmblock module from /usr/lib/vmware-tools/modules/source/vmblock-only I get the following error:

[root@element vmblock-only]# make Using kernel build system. make -C /lib/modules/3.19.5-200.fc21.x86_64/build/include/.. SUBDIRS= $PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory '/usr/src/kernels/3.19.5-200.fc21.x86_64' CC [M] /tmp/vmblock-only/linux/filesystem.o /tmp/vmblock-only/linux/filesystem.c: In function ‘Iget’: /tmp/vmblock-only/linux/filesystem.c:325:21: error: storage size of ‘actualNd’ isn’t known struct nameidata actualNd; ^ /tmp/vmblock-only/linux/filesystem.c:325:21: warning: unused variable ‘actualNd’ [-Wunused-variable] scripts/Makefile.build:257: recipe for target '/tmp/vmblock-only/linux/filesystem.o' failed make[2]: * [/tmp/vmblock-only/linux/filesystem.o] Error 1 Makefile:1386: recipe for target 'module/tmp/vmblock-only' failed make[1]: * [module/tmp/vmblock-only] Error 2 make[1]: Leaving directory '/usr/src/kernels/3.19.5-200.fc21.x86_64' Makefile:120: recipe for target 'vmblock.ko' failed make: *\ [vmblock.ko] Error 2 [root@element vmblock-only]#

andreabenini commented 9 years ago

Same problem here with Gentoo, subscribed to this topic to see any further patch or possible trick to solve it

rasa commented 9 years ago

Does https://github.com/rasa/vmware-tools-patches/issues/22#issuecomment-113329797 help?