安装VMTOOLS快完成的时候报出个关于memeory manager的错误?怎么解决?

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
请叫我夜月
帖子: 2
注册时间: 2010-02-10 15:20

安装VMTOOLS快完成的时候报出个关于memeory manager的错误?怎么解决?

#1

帖子 请叫我夜月 » 2010-02-11 16:07

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 ]

:em20
请叫我夜月
帖子: 2
注册时间: 2010-02-10 15:20

Re: 安装VMTOOLS快完成的时候报出个关于memeory manager的错误?怎么解决?

#2

帖子 请叫我夜月 » 2010-02-11 16:12

VM 6.00
Ubuntu 9.04

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.28-18-generic/build/include]

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-config0/vmmemctl-only'
make -C /lib/modules/2.6.28-18-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.28-18-generic'
CC [M] /tmp/vmware-config0/vmmemctl-only/os.o
在包含自 /tmp/vmware-config0/vmmemctl-only/os.c:40 的文件中:
/tmp/vmware-config0/vmmemctl-only/compat_wait.h:37:5: 警告: “VMW_HAVE_EPOLL”未定义
/tmp/vmware-config0/vmmemctl-only/compat_wait.h:43:5: 警告: “VMW_HAVE_EPOLL”未定义
In file included from /tmp/vmware-config0/vmmemctl-only/os.c:40:
/tmp/vmware-config0/vmmemctl-only/compat_wait.h:60: 错误: 与‘poll_initwait’类型冲突
include/linux/poll.h:65: 错误: ‘poll_initwait’的上一个声明在此
/tmp/vmware-config0/vmmemctl-only/os.c: 在函数‘os_init’中:
/tmp/vmware-config0/vmmemctl-only/os.c:567: 错误: ‘struct proc_dir_entry’没有名为‘get_info’的成员
make[2]: *** [/tmp/vmware-config0/vmmemctl-only/os.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config0/vmmemctl-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.28-18-generic'
make: *** [vmmemctl.ko] 错误 2
make:离开目录“/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 ]
回复