当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 7 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : vmware tools 安装问题
帖子发表于 : 2008-05-25 18:02 

注册: 2007-10-23 14:09
帖子: 14
送出感谢: 0 次
接收感谢: 0 次
主机为windows vista, 虚拟机为ubuntu 8,04,运行vmware-install.pl,配置时出现以下问题,总是说不能建立modules。build-essential 和 linux-header都安装了。系统提示如下:

Trying to find a suitable vmmemctl module for your running kernel.

None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
[yes]

Using compiler "/usr/bin/gcc". 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.24-16-generic/build/include]

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmemctl-only'
make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /tmp/vmware-config0/vmmemctl-only/os.o
In file included from /tmp/vmware-config0/vmmemctl-only/os.c:40:
/tmp/vmware-config0/vmmemctl-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config0/vmmemctl-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config0/vmmemctl-only/os.c:40:
/tmp/vmware-config0/vmmemctl-only/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
make[2]: *** [/tmp/vmware-config0/vmmemctl-only/os.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmemctl-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [vmmemctl.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmemctl-only'
Unable to build the vmmemctl module.

The memory manager driver (vmmemctl module) is used by VMware host software to
efficiently reclaim memory from a virtual machine.
If the driver is not available, VMware host software may instead need to swap
guest memory to disk, which may reduce performance.
The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you want the memory management feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmhgfs-only'
make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /tmp/vmware-config1/vmhgfs-only/backdoor.o
CC [M] /tmp/vmware-config1/vmhgfs-only/backdoorGcc32.o
CC [M] /tmp/vmware-config1/vmhgfs-only/bdhandler.o
In file included from /tmp/vmware-config1/vmhgfs-only/dbllnklst.h:14,
from /tmp/vmware-config1/vmhgfs-only/vmrpc.h:17,
from /tmp/vmware-config1/vmhgfs-only/hgfsBd.h:14,
from /tmp/vmware-config1/vmhgfs-only/bdhandler.c:29:
/tmp/vmware-config1/vmhgfs-only/vm_basic_types.h:170: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
In file included from /tmp/vmware-config1/vmhgfs-only/request.h:21,
from /tmp/vmware-config1/vmhgfs-only/bdhandler.c:34:
/tmp/vmware-config1/vmhgfs-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config1/vmhgfs-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config1/vmhgfs-only/request.h:21,
from /tmp/vmware-config1/vmhgfs-only/bdhandler.c:34:
/tmp/vmware-config1/vmhgfs-only/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
make[2]: *** [/tmp/vmware-config1/vmhgfs-only/bdhandler.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmhgfs-only'
Unable to build the vmhgfs module.

The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.

所有modules都安装不了,请叫高手知道,感激涕零。我的gcc binutils make都已经是最新版本了。内核为2.6.24-16-generic。


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-05-27 19:40 
头像

注册: 2008-03-25 20:00
帖子: 25
送出感谢: 0 次
接收感谢: 0 次
估计是虚拟机版本的问题,下载最新的vmware 6.03试一试.


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-05-28 17:21 

注册: 2008-05-28 17:17
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
before u install the vmware tools, u need to install some dependencies

please refer the following address:
http://peterc.org/2008/62-how-to-instal ... usion.html

it really works!


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-05-28 23:02 
头像

注册: 2008-03-25 20:00
帖子: 25
送出感谢: 0 次
接收感谢: 0 次
bingo-lin 写道:
before u install the vmware tools, u need to install some dependencies

please refer the following address:
http://peterc.org/2008/62-how-to-instal ... usion.html

it really works!

没有这么麻烦吧,vmware6.0.3对ubuntu 8.04的支持很好啊,并不需要做什么预备工作,只要确保wmware的版本合适,那么利用其自带的vmwaretools就行了。


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-05-29 11:55 

注册: 2007-10-23 14:09
帖子: 14
送出感谢: 0 次
接收感谢: 0 次
引用:
before u install the vmware tools, u need to install some dependencies

please refer the following address:
http://peterc.org/2008/62-how-to-instal ... usion.html

it really works!


hehe. It really works .thanks bingo


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2008-07-14 6:30 

注册: 2008-07-14 6:29
帖子: 22
送出感谢: 0 次
接收感谢: 0 次
bingo-lin 写道:
before u install the vmware tools, u need to install some dependencies

please refer the following address:
http://peterc.org/2008/62-how-to-instal ... usion.html

it really works!


这个真的有用。。。。
总算解决了


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2008-07-16 10:30 

注册: 2007-10-08 12:40
帖子: 26
送出感谢: 0 次
接收感谢: 0 次
bingo-lin 写道:
before u install the vmware tools, u need to install some dependencies

please refer the following address:
http://peterc.org/2008/62-how-to-instal ... usion.html

it really works!


按上面说的去做,最后就OK了。是很麻烦的。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 7 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译