On Thursday, 10 November 2016 19:20 Roman Bysh wrote:
I installed VMware Workstation 12.5 on Tumbleweed on 20161108. However, when I try to initialize it, I', getting a prompt that GNU C Compiler (gcc) version 6.2.1 was not found.
This usually happens when the kernel you are building the modules against (by default the currently running one, unless VM_UNAME is set) was built by different version of gcc than one you are using to build modules. I have the same problem on a 13.1 system with kernels from Kernel:HEAD or Kernel:stable. On Tumbleweed, I guess fully updating the system should fix it. If not, it should settle down within few days (as soon as both new gcc and a kernel built by it get into TW).
Tumbleweed provides gcc 6.2.1. Is there a workaround for this?
As others suggested: - install kernel-$flavor-devel, kernel-devel and kernel-macros (zypper install kernel-$flavor-devel will suffice, $flavor is most likely "default") - unpack vmmon.tar and vmnet.tar from /usr/lib/vmware/modules/source - optionally, some patching might be needed for recent kernels (but if it is, it would be needed for "vmware-modconfig" as well) - run "make" in each vmmon-only/ and vmnet-only/ - create /lib/modules/$(uname -r)/misc and copy vmmon.ko and vmnet.ko into it It's not 100% safe but the risk that kernel and modules built by a different gcc versions would be incompatible is rather low (even lower if the versions are this close). Michal Kubeček -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org