设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 655|回复: 0
收起左侧

ubuntu更新内核后无法重新安装vm

[复制链接]
发表于 2008-11-4 11:00:08 | 显示全部楼层 |阅读模式
提示的报错信息如下
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.24-15-generic/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-config1/vmmon-only'
make -C /lib/modules/2.6.24-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-15-generic'
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/cpuid.o
在包含自 include/asm/bitops.h:2 的文件中,
                 从 /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
                 从 /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
                 从 /tmp/vmware-config1/vmmon-only/common/vmx86.h:18,
                 从 /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
                 从 /tmp/vmware-config1/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h:9:2: 错误: #error only  can be included directly
make[2]: *** [/tmp/vmware-config1/vmmon-only/common/cpuid.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-15-generic'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config1/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.
上面是出错的输入
安装vm 或者play都报这个错,求教解决方案
是不是缺少编译的软件?我也刚刚用vm不是很清楚
原来是好用的,后来升级内核后运行vm无法打开,卸载后重新暗转就是这个样子了
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-1-24 14:35 , Processed in 0.057257 second(s), 10 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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