Chinaunix首页 | 论坛 | 博客
  • 博客访问: 820290
  • 博文数量: 330
  • 博客积分: 9641
  • 博客等级: 中将
  • 技术积分: 3181
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-19 14:41
文章分类

全部博文(330)

文章存档

2012年(17)

2011年(135)

2010年(85)

2009年(57)

2008年(36)

我的朋友

分类:

2008-05-27 23:14:42

After the kernel 2.6.24,I can not compile vmware properly.
I searched the solution.
from:http://www.blogjava.net/xiaosilent/archive/2008/04/22/194699.html

Problem: include/asm/bitops_32.h:9:2: error: #error only can be included directly, and vmmon-only compile failes

Solution: change line 74 in vmmon-only source file to read: #include “linux/bitops.h”

Steps:

  1. cd /usr/lib/vmware/modules/source
  2. sudo cp vmmon.tar vmmon.tar.bak
  3. sudo tar xvf vmmon.tar
  4. cd vmmon-only/include/
  5. sudo gedit vcpuset.h
  6. change line 74 from: #include “asm/bitops.h” to: #include “linux/bitops.h”
  7. rm vmmon.tar
  8. sudo tar cvf vmmon.tar vmmon-only
  9. sudo rm -rf vmmon-only
  10. sudo vmware-config.pl

阅读(747) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~