LinuxSir.cn,穿越时空的Linuxsir!

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

vmware安装一问

[复制链接]
发表于 2005-2-4 16:55:31 | 显示全部楼层 |阅读模式
运行vmware-config.pl后的提示:
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] 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.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config7/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.8-24.11'
Makefile:465: .config: 没有那个文件或目录

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

  CC [M]  /tmp/vmware-config7/vmmon-only/linux/driver.o
/bin/sh: scripts/basic/fixdep: 没有那个文件或目录
make[2]: *** [/tmp/vmware-config7/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config7/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-2.6.8-24.11'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config7/vmmon-only'
Unable to build the vmmon module.
gcc,make,kernel-source我都装了,这是怎么回事?
发表于 2005-2-4 19:46:57 | 显示全部楼层
/usr/src/
下有linux-2.6.8-24.11目录吗?
手动建一个“linux”的连接到“linux-2.6.8-XXXXX(机器上的真正内核目录)”试试。

#cd /usr/src/
#ln -s linux-2.6.8-XXXXX linux
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-4 20:06:30 | 显示全部楼层
解决了,重新编译了一下内核就可以了
回复 支持 反对

使用道具 举报

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

本版积分规则

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