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:
- cd /usr/lib/vmware/modules/source
- sudo cp vmmon.tar vmmon.tar.bak
- sudo tar xvf vmmon.tar
- cd vmmon-only/include/
- sudo gedit vcpuset.h
- change line 74 from: #include “asm/bitops.h” to: #include “linux/bitops.h”
- rm vmmon.tar
- sudo tar cvf vmmon.tar vmmon-only
- sudo rm -rf vmmon-only
- sudo vmware-config.pl
阅读(759) | 评论(0) | 转发(0) |