VMware 2.6.X 编译补丁

  | 转载时请务必以超链接形式标明文章原文链接和作者信息及本版权声明。
原文链接:http://www.liaojl.com/archives/2008/03/vmware-26x-patch.html

VMware在Fedora 2.6版本内核编译无法通过,在晚上找到解决方法如下:

I'm not sure why but the compiler (maybe the ubuntu gutsy version) doesn't like the C extensions. Hm.. probably because vmware is using a C++ compiler (!) instead of the C compiler :-/

In any case, edit the file /lib/modules/2.6.22-6-generic/build/include/asm/page.h, go to function native_make_pte around line 112 and change to:

static inline pte_t native_make_pte(unsigned long val)
{
pte_t pte;
pte.pte_low = val;
return pte;
}

Then run vmware-config.pl. This is assuming you already have the latest vmware-any-any-110 patch, of course...

VMware patch may helpful on some case: http://platan.vc.cvut.cz/ftp/pub/vmware/

Leave a comment

Archives

Creative Commons License
This blog is licensed under a Creative Commons License.