适用于 Ubuntu Hardy 的 VMWare 工具
我正在为 Ubuntu Hardy 使用 VMWare 工具,但由于某种原因 vmware-install.pl
发现我的 LINUX 标头有问题。 错误消息表明“地址空间大小”不匹配。
为了尝试修复,我求助于 vmware-any-any-update117
,但现在却收到以下错误:
In file included from include/asm/page.h:3,
from /tmp/vmware-config0/vmmon-only/common/hostKernel.h:56,
from /tmp/vmware-config0/vmmon-only/common/task.c:30:
include/asm/page_32.h: In function ‘pte_t native_make_pte(long unsigned int)’:
include/asm/page_32.h:112: error: expected primary-expression before ‘)’ token
include/asm/page_32.h:112: error: expected ‘;’ before ‘{’ token
include/asm/page_32.h:112: error: expected primary-expression before ‘.’ token
include/asm/page_32.h:112: error: expected `;' before ‘}’ token
任何人都可以帮我理解这一点吗?
I am using VMWare tools for Ubuntu Hardy, but for some reason vmware-install.pl
finds fault with my LINUX headers. The error message says that the "address space size" doesn't match.
To try and remediate, I have resorted to vmware-any-any-update117
, and am now getting the following error instead:
In file included from include/asm/page.h:3,
from /tmp/vmware-config0/vmmon-only/common/hostKernel.h:56,
from /tmp/vmware-config0/vmmon-only/common/task.c:30:
include/asm/page_32.h: In function ‘pte_t native_make_pte(long unsigned int)’:
include/asm/page_32.h:112: error: expected primary-expression before ‘)’ token
include/asm/page_32.h:112: error: expected ‘;’ before ‘{’ token
include/asm/page_32.h:112: error: expected primary-expression before ‘.’ token
include/asm/page_32.h:112: error: expected `;' before ‘}’ token
Can anyone help me make some sense of this, please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我从 Sun 那里听到了很多有关 VirtualBox 的好消息。 如果您厌倦了 VMWare,那么值得一看。
I've heard a lot of good things about VirtualBox from Sun. If you get fed up with VMWare, it's worth a look.
您可能最好使用 VMWare Tools .rpm 文件而不是 Ubuntu 上的安装脚本。 Alien 是一个让您将 . rpm 成 Ubuntu 友好的 .deb 包。
You're probably best off using the VMWare Tools .rpm file instead of the install script on Ubuntu. Alien is a program that will let you turn a .rpm into a Ubuntu-friendly .deb package.
查看此链接,因为它帮助我在我的一台虚拟机中安装了这些工具。 http://diamondsw.dyndns.org/Home /Et_Cetera/Entries/2008/4/25_Linux_2.6.24_and_VMWare.html
Check out this link as it helped me install the tools in one of my vms. http://diamondsw.dyndns.org/Home/Et_Cetera/Entries/2008/4/25_Linux_2.6.24_and_VMWare.html
此错误经常发生是因为 VMWare Tools 版本与最新内核不兼容(您可以使用旧内核进行测试)。 有时你可以通过互联网上的补丁来修复一些问题,但我更喜欢降级我的内核或者不在 VMWare 中使用最新发行版的版本。 这真的很烦人。 您可能遇到的另一个问题是 X Windows 中的鼠标指针,例如它是否比实际显示的位置向左或向下一英寸。
关于vmware-any-any-update117,它是Linux下运行的VMWare的补丁,通常是Workstation版本。 它不会对工具产生影响。
This error ofter occurs because incompatibility of VMWare Tools Version and recent Kernels (You can test it using older Kernels). Sometimes you can fix some thing with patches all over the internet, but I prefer to downgrade my kernel or don't using latest distribution's version in VMWare. It can be really annoying. Another problem you may have is with your mouse pointer in X Windows, like if it was a inch to left or below than it really shows.
About vmware-any-any-update117, it's a patch to VMWare running under linux, usually Workstation version. It won't have effect in Tools.