After much scouring the web i eventually found a fix for vmware workstation 7 on Ubuntu 10.4
Follow these to the T. and you should have no problem compiling vmware modules.
1. Switch to your temp directory
1 2 3 | cd /tmp |
2. Extract the vmware net source module
1 2 3 4 | tar" xf /usr/lib/vmware/modules/source/vmnet.tar</pre> <strong>3.</strong> Add <strong>#include compat_sched.h"</strong]]tar xf /usr/lib/vmware/modules/source/vmnet.tar |
3. Add #include “compat_sched.h” under the first set of includes
1 2 3 | gksudo gedit vmnet-only/vnetUserListener.c |
4. Compress and save the source back to the original location
1 2 3 | tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only |
5. Extract Virtual Machine Communication Interface
1 2 3 | tar xf /usr/lib/vmware/modules/source/vmci.tar |
6. Add #include “compat_sched.h” under the first set of includes
1 2 3 | gksudo gedit vmci-only/linux/vmciKernelIf.c |
7. Add #include “compat_sched.h” under the first set of includes
1 2 3 | gksudo gedit vmci-only/include/pgtbl.h |
8. Compress and save the source back to the original location
1 2 3 | tar cf /usr/lib/vmware/modules/source/vmci.tar vmci-only |
9. Finally recompile the vmware modules
1 2 3 | sudo vmware-modconfig --console --install-all |
..