QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1278|回复: 2

升级内核后 vmware 配置出问题

[复制链接]
发表于 2004-3-10 22:08:58 | 显示全部楼层 |阅读模式
把内核从 2.4.22 升级到 2.6.3 后, 运行 vmware-config.pl 出错:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux-2.6.3/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory `/tmp/vmware-config3/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config3/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config3/vmmon-only/driver-2.6.3'
make[2]: Leaving directory `/tmp/vmware-config3/vmmon-only/driver-2.6.3'
make[2]: Entering directory `/tmp/vmware-config3/vmmon-only/driver-2.6.3'
In file included from /usr/src/linux-2.6.3/include/asm/processor.h:18,
                 from /usr/src/linux-2.6.3/include/asm/thread_info.h:13,
                 from /usr/src/linux-2.6.3/include/linux/thread_info.h:21,
                 from /usr/src/linux-2.6.3/include/linux/spinlock.h:12,
                 from /usr/src/linux-2.6.3/include/linux/capability.h:45,
                 from /usr/src/linux-2.6.3/include/linux/sched.h:7,
                 from /usr/src/linux-2.6.3/include/linux/module.h:10,
                 from ../linux/driver.c:16:
/usr/src/linux-2.6.3/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux-2.6.3/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux-2.6.3/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
../linux/driver.c:25:27: linux/wrapper.h: 没有那个文件或目录
../linux/driver.c: At top level:
../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 `/tmp/vmware-config3/vmmon-only/driver-2.6.3'
make[1]: *** [driver] 错误 2
make[1]: Leaving directory `/tmp/vmware-config3/vmmon-only'
make: *** [auto-build] 错误 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.


感觉 2.6.x 和 2.4.x 内核的结构差别很大。

有人在 2.6.x 内核下配置好 vmware 了吗?
发表于 2004-3-10 22:40:53 | 显示全部楼层
http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update53.tar.gz
回复

使用道具 举报

 楼主| 发表于 2004-3-11 09:07:57 | 显示全部楼层
我的网络访问被限制在国内,只能找到 vmware-any-any-update51.tar.gz
请问这个也可以吗? 非常感谢!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-4 18:36 , Processed in 0.042574 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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