Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4449127
  • 博文数量: 1214
  • 博客积分: 13195
  • 博客等级: 上将
  • 技术积分: 9105
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-19 14:41
个人简介

C++,python,热爱算法和机器学习

文章分类

全部博文(1214)

文章存档

2021年(13)

2020年(49)

2019年(14)

2018年(27)

2017年(69)

2016年(100)

2015年(106)

2014年(240)

2013年(5)

2012年(193)

2011年(155)

2010年(93)

2009年(62)

2008年(51)

2007年(37)

分类:

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

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