cobranail 发表于 2004-3-9 17:37:39

vmware 4.5在kernel 2.6.3上没法安装??

在2.6.2的时候还好好的,到了2.6.3就装不上了。
Do you accept? (yes/no) yes

Thank you.

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)?

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?

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config4/vmmon-only'
make -C /lib/modules/2.6.3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make: Entering directory `/usr/src/linux-2.6.3'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make: “arch/i386/kernel/asm-offsets.s”是最新的。
CHK   include/asm-i386/asm_offsets.h
CC /tmp/vmware-config4/vmmon-only/linux/driver.o
/tmp/vmware-config4/vmmon-only/linux/driver.c: In function `Panic':
/tmp/vmware-config4/vmmon-only/linux/driver.c:1881: warning: implicit declaratio n of function `_exit'
CC /tmp/vmware-config4/vmmon-only/linux/hostif.o
CC /tmp/vmware-config4/vmmon-only/common/vmx86.o
CC /tmp/vmware-config4/vmmon-only/common/memtrack.o
CC /tmp/vmware-config4/vmmon-only/common/phystrack.o
CC /tmp/vmware-config4/vmmon-only/common/cpuid.o
CC /tmp/vmware-config4/vmmon-only/common/task.o
LD /tmp/vmware-config4/vmmon-only/vmmon.o
Building modules, stage 2.
/usr/src/linux-2.6.3/scripts/Makefile.modpost:17: *** Uh-oh, you have stale modu le entries. You messed with SUBDIRS,
/usr/src/linux-2.6.3/scripts/Makefile.modpost:18: do not complain if something g oes wrong.
MODPOST
CC      /tmp/vmware-config4/vmmon-only/vmmon.mod.o
LD /tmp/vmware-config4/vmmon-only/vmmon.ko
make: Leaving directory `/usr/src/linux-2.6.3'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config4/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config4/vmmon.o': -1 Unknown symbol in modu le
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.You may want to
rebuild a kernel based on that directory, or specify another directory.

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.

#

樱家冢 发表于 2004-3-9 20:18:36

There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.

内核升级了,kernel-source升级了吗?

cobranail 发表于 2004-3-9 21:32:19

i download the kernel2.6.3 sources from kernel.org,then i build my kernel from these
source,and i havenn't touch the sources again,but it still has errors.

樱家冢 发表于 2004-3-10 12:12:07

a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel

路径不对,可能需要手工指定
做符号连接了吗?

cobranail 发表于 2004-3-10 12:28:29

这个用不着吧,检测的路径都正确,2.6.3和2.6.2是不是差别很大?
页: [1]
查看完整版本: vmware 4.5在kernel 2.6.3上没法安装??