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