<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I think you need to download the headers or the kernel source for the version of Linux (the Linux kernel) you are using.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> uname –a at the command line will tell you the kernel version.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-Nate</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><br><br></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> cialug-bounces@cialug.org [mailto:cialug-bounces@cialug.org] <b>On Behalf Of </b>Tom Sellers<br><b>Sent:</b> Friday, January 06, 2012 2:47 PM<br><b>To:</b> Linux User Group Iowa<br><b>Subject:</b> [Cialug] VMware install on Ubuntu 10.04 issue<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='background:white'><span style='color:black'>I was following a set of instructions on the internet for installing VMware 2 and all was going well until it got to the below point: I tried to let it create the modules as described and that did not go well. Any ideas?<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>This is my first try at using VMware. I have used Windows virtual machine and virtual box before.<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>-------------------------------------------------------------------------------------------------------------------<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='color:black'>None of the pre-built vmmon modules for VMware Server is suitable for your <br>running kernel. Do you want this program to try to build the vmmon module for <br>your system (you need to have a C compiler installed on your system)? [yes] <br><br>Using compiler "/usr/bin/gcc". Use environment variable CC to override.<br><br>What is the location of the directory of C header files that match your running<br>kernel? [/lib/modules/2.6.32-37-generic/build/include] <br><br>Extracting the sources of the vmmon module.<br><br>Building the vmmon module.<br><br>Using 2.6.x kernel build system.<br>make: Entering directory `/tmp/vmware-config0/vmmon-only'<br>make -C /lib/modules/2.6.32-37-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules<br>make[1]: Entering directory `/usr/src/linux-headers-2.6.32-37-generic'<br> CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o<br>In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:31:<br>/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’<br>include/linux/poll.h:70: note: previous declaration of ‘poll_initwait’ was here<br>In file included from /tmp/vmware-config0/vmmon-only/./include/vmware.h:38,<br> from /tmp/vmware-config0/vmmon-only/linux/driver.c:99:<br>/tmp/vmware-config0/vmmon-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined<br>In file included from /tmp/vmware-config0/vmmon-only/./common/vmx86.h:32,<br> from /tmp/vmware-config0/vmmon-only/linux/driver.h:29,<br> from /tmp/vmware-config0/vmmon-only/linux/driver.c:101:<br>/tmp/vmware-config0/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined<br>In file included from /usr/src/linux-headers-2.6.32-37-generic/arch/x86/include/asm/msr.h:4,<br> from /usr/src/linux-headers-2.6.32-37-generic/arch/x86/include/asm/processor.h:21,<br> from include/linux/prefetch.h:14,<br> from include/linux/list.h:6,<br> from include/linux/module.h:9,<br> from /tmp/vmware-config0/vmmon-only/./include/compat_module.h:27,<br> from /tmp/vmware-config0/vmmon-only/linux/driver.c:26:<br>/usr/src/linux-headers-2.6.32-37-generic/arch/x86/include/asm/msr-index.h:234:1: warning: this is the location of the previous definition<br>In file included from /tmp/vmware-config0/vmmon-only/./include/vcpuset.h:103,<br> from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:37,<br> from /tmp/vmware-config0/vmmon-only/./common/vmx86.h:33,<br> from /tmp/vmware-config0/vmmon-only/linux/driver.h:29,<br> from /tmp/vmware-config0/vmmon-only/linux/driver.c:101:<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:329:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:333:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:401:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:407:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:506:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:595:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:684:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:773:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:775:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:860:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:862:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:945:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:947:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1028:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1030:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1223:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1227:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined<br>In file included from /tmp/vmware-config0/vmmon-only/./include/vm_basic_asm.h:46,<br> from /tmp/vmware-config0/vmmon-only/./include/rateconv.h:45,<br> from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:40,<br> from /tmp/vmware-config0/vmmon-only/./common/vmx86.h:33,<br> from /tmp/vmware-config0/vmmon-only/linux/driver.h:29,<br> from /tmp/vmware-config0/vmmon-only/linux/driver.c:101:<br>/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:62:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:177:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:346:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:453:7: warning: "_MSC_VER" is not defined<br>In file included from /tmp/vmware-config0/vmmon-only/./include/vm_asm.h:43,<br> from /tmp/vmware-config0/vmmon-only/linux/driver.c:103:<br>/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:486:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:779:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:820:7: warning: "_MSC_VER" is not defined<br>/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:922:7: warning: "_MSC_VER" is not defined<br>In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:119:<br>/tmp/vmware-config0/vmmon-only/./common/hostif.h:53:7: warning: "WINNT_DDK" is not defined<br>/tmp/vmware-config0/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:<br>/tmp/vmware-config0/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’<br>/tmp/vmware-config0/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:<br>/tmp/vmware-config0/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’<br>/tmp/vmware-config0/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’<br>/tmp/vmware-config0/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’<br>/tmp/vmware-config0/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’<br>/tmp/vmware-config0/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’<br>/tmp/vmware-config0/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’<br>/tmp/vmware-config0/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’<br>/tmp/vmware-config0/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’<br>/tmp/vmware-config0/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’<br>make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1<br>make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2<br>make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-37-generic'<br>make: *** [vmmon.ko] Error 2<br>make: Leaving directory `/tmp/vmware-config0/vmmon-only'<br>Unable to build the vmmon module.<br><br>For more information on how to troubleshoot module-related problems, please <br>visit our Web site at "<a href="http://www.vmware.com/go/unsup-linux-products">http://www.vmware.com/go/unsup-linux-products</a>" and <br>"<a href="http://www.vmware.com/go/unsup-linux-tools">http://www.vmware.com/go/unsup-linux-tools</a>".<br><br>Execution aborted.<o:p></o:p></span></p></div></div></body></html>