LinuxSir.cn,穿越时空的Linuxsir!

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

配置vwmare遇到问题

[复制链接]
发表于 2004-9-4 11:11:30 | 显示全部楼层 |阅读模式
安装了4.0.5 build6030 的包后. 它说还没有config.
按提示运行vmware -config.pl, 于是:

[root@localhost kingdk]# vmware-config.pl
Making sure VMware Workstation's services are stopped.

Stopping VMware services:
   Virtual machine monitor                                      [ 完成 ]

grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
grep: /proc/ksyms: No such file or directory
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? [/usr/src/linux/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory `/root/tmp/vmware-config3/vmmon-only'
make[1]: Entering directory `/root/tmp/vmware-config3/vmmon-only'
make[2]: Entering directory `/root/tmp/vmware-config3/vmmon-only/driver-2.6.3-7mdk'
make[2]: Leaving directory `/root/tmp/vmware-config3/vmmon-only/driver-2.6.3-7mdk'
make[2]: Entering directory `/root/tmp/vmware-config3/vmmon-only/driver-2.6.3-7mdk'
../linux/driver.c:25:27: linux/wrapper.h: No such file or directory
../linux/driver.c:133: warning: initialization from incompatible pointer type
../linux/driver.c: In function `init_module':
../linux/driver.c:246: error: structure has no member named `prev'
../linux/driver.c:247: error: structure has no member named `next'
../linux/driver.c: In function `Panic':
../linux/driver.c:1304: warning: implicit declaration of function `_exit'
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
make[2]: *** [driver.o] 错误 1
make[2]: Leaving directory `/root/tmp/vmware-config3/vmmon-only/driver-2.6.3-7mdk'
make[1]: *** [driver] 错误 2
make[1]: Leaving directory `/root/tmp/vmware-config3/vmmon-only'
make: *** [auto-build] 错误 2
make: Leaving directory `/root/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.

[root@localhost kingdk]#

该怎么办啊?
发表于 2004-9-4 11:56:30 | 显示全部楼层
没有安装内核源代码。先用 uname -a 取得当前正在运行的内核名称和版本,然后再从控制中心的安装软件里找到与其对应的kernel-source,装上就行了。
 楼主| 发表于 2004-9-4 12:27:38 | 显示全部楼层
已经装了啊

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-9-4 12:32:23 | 显示全部楼层
/usr/src/linux-`uname -r`/include
 楼主| 发表于 2004-9-4 13:30:11 | 显示全部楼层
改过了,还是老样子

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-9-4 14:33:26 | 显示全部楼层
有没有安装内核头文件 kernel-headers ?
 楼主| 发表于 2004-9-4 16:14:52 | 显示全部楼层
怎样知道装了没装?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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