Apparently there is a patch.
Cheers.
2011/5/2 Jari Fredriksson
<jarif@iki.fi>
pallas:~# CC=gcc-4.3 vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware autostart virtual machines:
Virtual machines failed
Stopping VMware management services:
VMware Virtual Infrastructure Web Access
VMware Server Host Agent failed
Stopping VMware services:
VMware Authentication Daemon done
Virtual machine communication interface done
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
Host network detection done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon
module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc-4.3". Use environment variable CC to override.
What is the location of the directory of C header files that match your
running
kernel? [/lib/modules/2.6.32-5-amd64/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.32-5-amd64/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:31:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:78: error:
conflicting types for âpoll_initwaitâ
/usr/src/linux-headers-2.6.32-5-common/include/linux/poll.h:70: error:
previous declaration of âpoll_initwaitâ was here
In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32,
from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
/tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:1: warning:
"MSR_THERM2_CTL" redefined
In file included from
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr.h:4,
from
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/processor.h:21,
from
/usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:14,
from
/usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:6,
from
/usr/src/linux-headers-2.6.32-5-common/include/linux/module.h:9,
from
/tmp/vmware-config1/vmmon-only/./include/compat_module.h:27,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr-index.h:230:1:
warning: this is the location of the previous definition
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function
âLinuxDriverSyncCallOnEachCPUâ:
/tmp/vmware-config1/vmmon-only/linux/driver.c:1423: error: too many
arguments to function âsmp_call_functionâ
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function
âLinuxDriver_Ioctlâ:
/tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: âstruct
task_structâ has no member named âeuidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: âstruct
task_structâ has no member named âuidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: âstruct
task_structâ has no member named âfsuidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: âstruct
task_structâ has no member named âuidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1989: error: âstruct
task_structâ has no member named âegidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1989: error: âstruct
task_structâ has no member named âgidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1990: error: âstruct
task_structâ has no member named âfsgidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:1990: error: âstruct
task_structâ has no member named âgidâ
/tmp/vmware-config1/vmmon-only/linux/driver.c:2007: error: too many
arguments to function âsmp_call_functionâ
make[4]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[3]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-amd64'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".
Execution aborted.
2.5.2011 16:52, Burhan kirjoitti:
> Hi Jari,
>
> What is it complaining about?
>
> -B
>
> 2011/5/2 Jari Fredriksson <jarif@iki.fi <mailto:jarif@iki.fi>>
>
>
> I went and upgraded my Lenny to Squeeze and now VMware server does not
> compile.
>
> Is it possible, and if it is, how?
>
> Preparing to reinstall lenny now...dammit.
>
> --
>
> A visit to a strange place will bring fresh work.
>
>
--
Q: How many gradual (sorry, that's supposed to be "graduate") students
does it take to screw in a light bulb?
A: "I'm afraid we don't know, but make my stipend tax-free, give my
advisor a $30,000 grant of the taxpayer's money, and I'm sure he
can tell me how to do the gruntwork for him so he can take the
credit for answering this incredibly vital question."