Here is the error: make -j2 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.36/build Using 2.6.x kernel build system. make -C /lib/modules/2.6.36/build SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory `/usr/src/linux-2.6.36' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. CC [M] /var/tmp/portage/app-emulation/vmware-modules-238.2/work/vmmon-only/linux/driver.o /var/tmp/portage/app-emulation/vmware-modules-238.2/work/vmmon-only/linux/driver.c: In function ‘init_module’: /var/tmp/portage/app-emulation/vmware-modules-238.2/work/vmmon-only/linux/driver.c:425: error: ‘struct file_operations’ has no member named ‘ioctl’ make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-238.2/work/vmmon-only/linux/driver.o] Error 1 make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-238.2/work/vmmon-only] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.36' make: *** [vmmon.ko] Error 2 Reproducible: Always
Created attachment 251577 [details] build.log build.log
Created attachment 251579 [details] vmware-modules-238.2.ebuild Changed vmware-modules-238.2.ebuild ebuild
Created attachment 251581 [details, diff] ioctl.patch ioctl.patch
Created attachment 251583 [details, diff] sk_sleep_new.patch sk_sleep_new.patch
Just attached slightly changed ebuild with two patches. Please review it and bump into overlay.
Created attachment 251655 [details, diff] vmware supplied patch for 2.6.36
I found the attached patch (vmware-7.1-2.6.36-generic.patch) on vmware communities forum: http://communities.vmware.com/thread/286119 Applied cleanly against vmware-modules-238.2.ebuild and everything works fine. This patch fixes one more issue (the iommu compile errors) that the two uploaded patches (ioctl.patch, sk_sleep_new.patch) do not address.
Please bump patches to the overlay.
overlay is patched. changeset 429. Thanks.
Thanks, 238.2-r1 compiles fine against 2.6.36.