博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

miracle

miracle.cublog.cn


vmware6.0.2 failed
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 <linux/bitops.h> 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

发表于: 2008-05-27 ,修改于: 2008-05-27 23:14,已浏览115次,有评论0条 推荐 投诉


网友评论

发表评论