LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1065|回复: 1

求教:magic linux2.0下安装vm4.5出了问题

[复制链接]
发表于 2006-2-24 10:06:51 | 显示全部楼层 |阅读模式
前面的都选默认的路径,出现用户协议后同意就出现下面的,请问该怎么做呢?
Trying to find a suitable vmmon module for your running kernel.

None of VMware Workstation's pre-built vmmon modules is suitable for your
running kernel. Do you want this program to try to build the vmmon 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.15.3/build/include]
Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.15.3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/lib/modules/2.6.15.3/build'
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config3/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:37:
/tmp/vmware-config3/vmmon-only/./include/vm_assert.h:276:7: warning: "_MSC_VER" is
not defined
/tmp/vmware-config3/vmmon-only/linux/driver.c:131: warning: initialization from
incompatible pointer type
/tmp/vmware-config3/vmmon-only/linux/driver.c:135: warning: initialization from
incompatible pointer type
In file included from /tmp/vmware-config3/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:37:
/tmp/vmware-config3/vmmon-only/./include/vm_assert.h:276:7: warning: "_MSC_VER" is
not defined
CC [M] /tmp/vmware-config3/vmmon-only/linux/hostif.o
In file included from /tmp/vmware-config3/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config3/vmmon-only/linux/hostif.c:44:
/tmp/vmware-config3/vmmon-only/./include/vm_assert.h:276:7: warning: "_MSC_VER" is
not defined
In file included from /tmp/vmware-config3/vmmon-only/linux/hostif.c:61:
/tmp/vmware-config3/vmmon-only/./include/pgtbl.h: In function `PgtblVa2PTELocked':
/tmp/vmware-config3/vmmon-only/./include/pgtbl.h:81: warning: passing arg 1 of
`pmd_offset' from incompatible pointer type
/tmp/vmware-config3/vmmon-only/linux/hostif.c: In function
`HostIF_FreeLockedPages':
/tmp/vmware-config3/vmmon-only/linux/hostif.c:738: error: structure has no member
named `count'
/tmp/vmware-config3/vmmon-only/linux/hostif.c:740: error: structure has no member
named `count'
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/hostif.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] 错误 2
make[1]: Leaving directory `/lib/modules/2.6.15.3/build'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.
第一次问这种问题,不知道上面是否会太长。 信息是否完整,盼达人指教
发表于 2006-2-24 11:58:50 | 显示全部楼层
Ù个版本的 vmware 太老了,安Å个最新版本吧。似乎是 5.5
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表