Fix VMware for Kubuntu Hardy Heron
When trying to configure VMware under Kubuntu/Ubuntu, I kept getting this error:
include2/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly
The fix is relatively easy and can be encapsulated into a shell script:
#!/bin/bash cd /usr/lib/vmware/modules/source/ mkdir tmp cd tmp tar -xf ../vmmon.tar cd tmp sed -i.bak 's/asm\/bitops.h/linux\/bitops.h/' vmmon-only/include/vcpuset.h tar -cf ../vmmon.tar * cd .. rmdir tmp echo "Now run vmware-config.pl again"