Perhaps if you told us what messages it gave when it didn't work?
Did it fail to compile because you were not able to tell it where the kernel headers were?
I've ud]sed 1.0.4 on open suse 13.2 but I had to install the kernel headers, and specify the header files
while doing the vmware install.
It asks you for a directory for the headers, and you just need to tell it to use
This might be different for 13.1, but the file you are looking for is version.h
For my part, I installed VMware Workstation 9.0.4 successfully on openSUSE 13.2 by applying the patches for kernel 3.13 found at http://ping8888.com/2013/12/13/vmware-modules-kernel-3-13/ and for kernels 3.15/3.16 found at https://wiki.archlinux.org/index.php/VMware#3.15_and_3.16_kernels
(I am not entirely sure whether the 3.15/3.16 patches are really necessary. If I remember correctly, not all patch hunks could be applied. In any event, VMware workstation 9.0.4 is running fine on openSUSE 13.2 afterwards.)
You can try this method:
zypper in kernel-source
zypper in gcc
zypper in gccdevel
after that you must running it to rebuild modules:
vmware-modconfig --console --install-all
This is work for me, i hope this can help you.
Thanks I'll give this a try
Sent from my Verizon Wireless 4G LTE smartphone