LinuxSir.cn,穿越时空的Linuxsir!

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

安装vmware时遇到的一个问题!!!急!!!!!!!!!!

[复制链接]
发表于 2004-9-3 13:10:36 | 显示全部楼层 |阅读模式
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux-2.6.5-7.108/include]
        ~~~~~~~~~~~~~~~~~~~~这个是我自己改的,因为我现在系统内核是这个,原来默认的路径是/usr/src/linux/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 /usr/src/linux-2.6.5-7.108/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.108'
Makefile:438: .config: 没有那个文件或目录

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.108/Module.symvers is  missing, modules will have CONFIG_MODVERSIONS disabled.

  CC [M]  /tmp/vmware-config3/vmmon-only/linux/driver.o
/bin/sh: line 1: scripts/basic/fixdep: ?????????
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] ?? 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.108'
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.
 楼主| 发表于 2004-9-3 13:59:24 | 显示全部楼层
现在我安装了vmware-any-any-update后,运行vmware-config.pl依然出现错误
全部过程如下:
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done

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]

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? [/usr/src/linux/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 4.5.2.
*** Your sources installation is broken:
*** /usr/src/linux/include/.. does not contain .config file
*** vmmon/vmnet build may fail, or built vmmon/vmnet may crash.

*** Hit ENTER to continue, or ^C to stop build.

Using standalone build system.
make: Entering directory `/tmp/vmware-config10/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config10/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config10/vmmon-only/driver-2.6.5-7.108-                                           default'
make[2]: Leaving directory `/tmp/vmware-config10/vmmon-only/driver-2.6.5-7.108-d                                           efault'
make[2]: Entering directory `/tmp/vmware-config10/vmmon-only/driver-2.6.5-7.108-                                           default'
make[2]: Leaving directory `/tmp/vmware-config10/vmmon-only/driver-2.6.5-7.108-default'
make[1]: Leaving directory `/tmp/vmware-config10/vmmon-only'
make: Leaving directory `/tmp/vmware-config10/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config10/vmmon.o': -1 Invalid module format
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.  You may want to
rebuild a kernel based on that directory, or specify another directory.

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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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