VMWare 6 and Ubuntu Hardy: vmmon compile error
Just a quick post to documentate how eitch got his VMWare config to work:
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:
- cd /usr/lib/vmware/modules/source
- cp vmmon.tar vmmon.tar.orig
- sudo tar xvf vmmon.tar
- cd vmmon-only/include/
- sudo vi vcpuset.h
- change line 74 from: #include “asm/bitops.h” to: #include “linux/bitops.h”
- rm vmmon.tar (return to the folder where you decompressed the tar file)
- sudo tar cvf vmmon.tar vmmon-only/
- sudo rm -rf vmmon-only/
- sudo vmware-config.pl
That’s it, the compile will work now and vmware should be usable as normal