automaticaly by rpm2. Edit source module vmmon.tar
or
install by script from tar.gz
cd /usr/lib/vmware/modules/source/3. Replace source of module vmnet.tar (same folder with step 2) by
sudo tar -xvf vmmon.tar
cd vmmon-only
sudo vi include/compat_kernel.h
Find this:
#define __NR_compat_exit __NR_exit
static inline _syscall1(int, compat_exit, int, exit_code);
and change the static inline ..... line to:
int compat_exit(int exit_code);
Then tar up the vmmon-only directory again.
cd .. #go back to the source directory
tar -cf vmmon.tar vmmon-only
Download it from here4. Add Script in "/etc/rc.M" (rc.M is script that's loaded when you use multiuser mode - M for "Multiuser")
# Start the vmware hardware setup5. Add Script in "/etc/rc.K" (rc.K is script that's loaded when you shutdown or change to single user mode - K for "Kill")
if [ -x /etc/rc.d/init.d/vmware ]; then
. /etc/rc.d/init.d/vmware start
fi
# Stop the vmware hardware setup6. Run "vmware-config.pl" and follow the step until finish and successed
if [ -x /etc/rc.d/init.d/vmware ]; then
. /etc/rc.d/init.d/vmware stop
fi
7. Run "vmware &"
That's all... Good Luck... :)
Come on smile....
Ref : http://wiki.archlinux.org/index.php/Installing_VMware