<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Vmware – Yeri Tiete</title>
    <link>https://yeri.be/tag/vmware/</link>
    <description>Yeri Tiete&#39;s blog</description>
    <language>en</language>
    <copyright>© Yeri Tiete</copyright>
    <lastBuildDate>Mon, 15 Mar 2010 17:08:21 +0100</lastBuildDate>
    <atom:link href="https://yeri.be/tag/vmware/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>VMware Server and kernel 2.6.33</title>
      <link>https://yeri.be/vmware-server-and-kernel-2-6-33/</link>
      <pubDate>Mon, 15 Mar 2010 17:08:21 +0100</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/vmware-server-and-kernel-2-6-33/</guid>
      <description>&lt;p&gt;Trying to recompile the VMware Server 2.0.2 on kernel 2.6.33 I came upon these two errors:&lt;/p&gt;&#xA;&lt;blockquote&gt;# uname -a&#xA;Linux Sauron 2.6.33 #1 SMP Tue Mar 9 15:09:05 CET 2010 x86_64 AMD Opteron(tm) Processor 248 AuthenticAMD GNU/Linux&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://home.tiete.be/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;This&lt;/a&gt; is a Gentoo machine.&lt;/p&gt;&#xA;&lt;p&gt;Error 1:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;div id=&#34;_mcePaste&#34;&gt;The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match&lt;/div&gt;&#xA;&lt;div id=&#34;_mcePaste&#34;&gt;your running kernel (version 2.6.33).  Even if the module were to compile&lt;/div&gt;&#xA;&lt;div id=&#34;_mcePaste&#34;&gt;successfully, it would not load into the running kernel.&lt;/div&gt;&#xA;&lt;div id=&#34;_mcePaste&#34;&gt;What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]&lt;/div&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;This can be resolved by editing &lt;em&gt;version.h&lt;/em&gt; (usually in &lt;em&gt;/usr/src/linux/include/linux&lt;/em&gt;) and adding this line:&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Trying to recompile the VMware Server 2.0.2 on kernel 2.6.33 I came upon these two errors:</p>
<blockquote># uname -a
Linux Sauron 2.6.33 #1 SMP Tue Mar 9 15:09:05 CET 2010 x86_64 AMD Opteron(tm) Processor 248 AuthenticAMD GNU/Linux</blockquote>
<p><a href="http://home.tiete.be/" target="_blank" rel="noopener noreferrer">This</a> is a Gentoo machine.</p>
<p>Error 1:</p>
<blockquote>
<div id="_mcePaste">The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match</div>
<div id="_mcePaste">your running kernel (version 2.6.33).  Even if the module were to compile</div>
<div id="_mcePaste">successfully, it would not load into the running kernel.</div>
<div id="_mcePaste">What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]</div></blockquote>
<p>This can be resolved by editing <em>version.h</em> (usually in <em>/usr/src/linux/include/linux</em>) and adding this line:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="c1">#define UTS_RELEASE &#34;2.6.33&#34;</span>
</span></span></code></pre></div><p>Error 2:</p>
<blockquote>The path "/usr/src/linux/include" is a kernel header file directory, but it does not contain the file "linux/autoconf.h" as expected.  This can happen if the kernel has never been built, or if you have invoked the "make mrproper" command in your kernel directory.  In any case, you may want to rebuild your kernel.
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]</blockquote>
<p>As the latest kernel doesn&rsquo;t seem to contain this file, I took the <a href="https://static.yeri.be/2010/03/autoconf.h" target="_blank" rel="noopener noreferrer">autoconf.h</a> file from 2.6.22.2, and copied it to the correct place. This made VMware compile (until it errored on other stuff, which can be fixed using <a href="https://web.archive.org/web/20101122085804/http://radu.cotescu.com:80/2010/01/19/how-to-install-vmware-server-ubuntu-fedora-opensuse/" target="_blank" rel="noopener noreferrer">this script</a>).</p>
<p>I&rsquo;m fairly clueless what implications it can have to make these changes. So use at your own risk. :)</p>
]]></content:encoded>
      <category>errors</category><category>linux</category>
      <category>gentoo</category><category>kernel</category><category>vmware</category>
    </item>
    
  </channel>
</rss>
