QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 580|回复: 4

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

[复制链接]
发表于 2004-3-9 17:37:39 | 显示全部楼层 |阅读模式
在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)? [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? [/lib/modules/2.6.3/build/include]

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[1]: Entering directory `/usr/src/linux-2.6.3'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: “arch/i386/kernel/asm-offsets.s”是最新的。
  CHK     include/asm-i386/asm_offsets.h
  CC [M]  /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 [M]  /tmp/vmware-config4/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config4/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config4/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config4/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config4/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config4/vmmon-only/common/task.o
  LD [M]  /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 [M]  /tmp/vmware-config4/vmmon-only/vmmon.ko
make[1]: 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.

[root@inferno user]#
发表于 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升级了吗?
回复

使用道具 举报

 楼主| 发表于 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

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

使用道具 举报

 楼主| 发表于 2004-3-10 12:28:29 | 显示全部楼层
这个用不着吧,检测的路径都正确,2.6.3和2.6.2是不是差别很大?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-17 17:45 , Processed in 0.041270 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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