红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

ubuntu 7.10 下安装vmwareVMware-workstation-5.5.1-19175问题

发布时间:2007-10-24 17:52:04来源:红联作者:bluesword
The file /usr/share/pixmaps/vmware-player.png that this program was about to
install already exists. Overwrite? [yes] y

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

None of the pre-built vmmon modules for VMware Workstation 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] y

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.22-14-generic/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-config0/vmmon-only'
make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 错误: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 错误: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 警告: 在 ‘_syscall1’ 的声明中,类型默认为 ‘int’
/tmp/vmware-config0/vmmon-only/linux/driver.c: 在函数 ‘LinuxDriverNoPage’ 中:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1013: 错误: ‘mem_map’ 未声明 (在此函数内第一次使用)
/tmp/vmware-config0/vmmon-only/linux/driver.c:1013: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
/tmp/vmware-config0/vmmon-only/linux/driver.c:1013: 错误: 所在的函数内只报告一次。)
/tmp/vmware-config0/vmmon-only/linux/driver.c: 在函数 ‘LinuxDriverLockedNoPage’ 中:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1083: 错误: ‘mem_map’ 未声明 (在此函数内第一次使用)
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config0/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.
请问该问题如何能解决?谢谢!
文章评论

共有 1 条评论

  1. greencircle 于 2007-12-01 16:34:06发表:

    我也一样,谁能说说这是为什么