darkangel 发表于 2004-3-10 22:08:58

升级内核后 vmware 配置出问题

把内核从 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?

Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory `/tmp/vmware-config3/vmmon-only'
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make: Entering directory `/tmp/vmware-config3/vmmon-only/driver-2.6.3'
make: Leaving directory `/tmp/vmware-config3/vmmon-only/driver-2.6.3'
make: 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: *** 错误 1
make: Leaving directory `/tmp/vmware-config3/vmmon-only/driver-2.6.3'
make: *** 错误 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
make: *** 错误 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 了吗?

netguy 发表于 2004-3-10 22:40:53

http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update53.tar.gz

darkangel 发表于 2004-3-11 09:07:57

我的网络访问被限制在国内,只能找到 vmware-any-any-update51.tar.gz
请问这个也可以吗? 非常感谢!
页: [1]
查看完整版本: 升级内核后 vmware 配置出问题