+++ This bug was initially created as a clone of Bug #255208 +++ vmware-modules-1.0.0.23 fails to compile with error: too many arguments to function 'smp_call_function' Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. ACCEPT_KEYWORDS="~x86" emerge vmware-modules 3. Actual Results: #ls -l /usr/src/linux lrwxrwxrwx 1 root root 22 2009-01-16 12:30 /usr/src/linux -> linux-2.6.27-gentoo-r7 vmware-modules-1.0.0.23 fails to compile with this message: Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work ... .[32;01m*.[0m Preparing vmmon module make -j3 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux Using 2.6.x kernel build system. make -C /usr/src/linux M=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.27-gentoo-r7' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.o In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:31: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/./include/compat_wait.h:78: error: conflicting types for 'poll_initwait' include/linux/poll.h:65: error: previous declaration of 'poll_initwait' was here /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c: In function 'LinuxDriverSyncCallOnEachCPU': /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1423: error: too many arguments to function 'smp_call_function' /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl': /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:2007: error: too many arguments to function 'smp_call_function' make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.o] Error 1 make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r7' make: *** [vmmon.ko] Error 2
please reopen bug Bug #255208 and add the patch and the ebuild to tree
Created attachment 187538 [details] it works with 2.6.29 kernels
Created attachment 187540 [details] with this patch please add to tree
*** This bug has been marked as a duplicate of bug 255208 ***