VMware Installs can't compile modules in 11.2 Milestone 3

It looks like the 2.6.30 kernel in 11.2 M3 isn’t compatible with either VMware Workstation 6.5.2 or VMware Server 2.0.1. The install works, but the step that tries to build the kernel modules during configuration crashes with errors like this:

Using 2.6.x kernel build system.
make: Entering directory /tmp/vmware-root/modules/vmmon-only' make -C /lib/modules/2.6.30-8-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory /usr/src/linux-2.6.30-8-obj/x86_64/default’
make -C …/…/…/linux-2.6.30-8 O=/usr/src/linux-2.6.30-8-obj/x86_64/default/. modules
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
In file included from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:31:
/tmp/vmware-root/modules/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
/usr/src/linux-2.6.30-8/include/linux/poll.h:67: note: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vmware.h:38,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:99:
/tmp/vmware-root/modules/vmmon-only/./include/vm_basic_types.h:108:7: warning: “FreeBSD” is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vcpuset.h:103,
from /tmp/vmware-root/modules/vmmon-only/./include/modulecall.h:37,
from /tmp/vmware-root/modules/vmmon-only/./common/vmx86.h:33,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.h:29,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:101:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:329:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:333:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:401:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:407:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:460:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:506:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:551:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:595:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:640:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:684:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:729:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:773:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:775:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:816:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:860:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:862:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:903:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:945:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:947:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:986:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1028:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1030:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1069:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1223:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1227:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1313:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1536:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1663:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1796:7: warning: “_MSC_VER” is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:39,
from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:41,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:103:
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:486:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:779:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:820:7: warning: “_MSC_VER” is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:922:7: warning: “_MSC_VER” is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:41,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:103:
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:56:7: warning: “_MSC_VER” is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:119:
/tmp/vmware-root/modules/vmmon-only/./common/hostif.h:53:7: warning: “WINNT_DDK” is not defined
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
make[4]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[3]: *** [module/tmp/vmware-root/modules/vmmon-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory /usr/src/linux-2.6.30-8-obj/x86_64/default' make: *** [vmmon.ko] Error 2 make: Leaving directory /tmp/vmware-root/modules/vmmon-only’

Is there some workaround, or do I need to drop back to 11.1 to use VMware?

znmeb wrote:
>
> Is there some workaround, or do I need to drop back to 11.1 to use
> VMware?

The proper fix is to patch the source part of the VMware driver. The
necessary patches for 2.6.30 are available for the VirtualBox driver.

Can both VMWare and VirtualBox coexist under the same SUSE install?