Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265261 - app-emulation/vmware-modules-1.0.0.23 fails to compile on kernels <=2.6.27
Summary: app-emulation/vmware-modules-1.0.0.23 fails to compile on kernels <=2.6.27
Status: RESOLVED DUPLICATE of bug 255208
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 08:24 UTC by renato gallo
Modified: 2009-04-07 20:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
it works with 2.6.29 kernels (vmware-modules-1.0.0.23.ebuild,779 bytes, text/plain)
2009-04-07 08:29 UTC, renato gallo
Details
with this patch please add to tree (1.0.0.23-smpcall-pollinitwait.patc,10.60 KB, text/plain)
2009-04-07 08:30 UTC, renato gallo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description renato gallo 2009-04-07 08:24:50 UTC
+++ 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
Comment 1 renato gallo 2009-04-07 08:28:51 UTC
please reopen bug Bug #255208 
and add the patch and the ebuild to tree
Comment 2 renato gallo 2009-04-07 08:29:41 UTC
Created attachment 187538 [details]
it works with 2.6.29 kernels
Comment 3 renato gallo 2009-04-07 08:30:11 UTC
Created attachment 187540 [details]
with this patch please add to tree
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-07 20:37:23 UTC

*** This bug has been marked as a duplicate of bug 255208 ***