VMware workstation pro 12 安装出现问题


#1

大家好,在安装 vmware workstation pro 12 , 第一提示没有 Gcc 环境,,然后安装了。zypper in gcc
然后继续下一步的时候提示,没有 kernel-header 的问题。如附件图片。。当然本人的系统已经达到这个核心要求就是 kernel headers 4.4.92-31-default… 但是提示找不到这个 head 文件。。希望有朋友能搞指点以下这个路基设置问题。。。谢谢。。。


#2

它要的是内核头文件,一般只有内核开发或者编译内核驱动才需要开发者用的头文件。你可能是只有 kernel-default 这个包,这只是预编译好的内核,并没有头文件,试试安装 kernel-devel。

从我的 iPhone 发送,使用 Tapatalk


#3

各位兄弟虽然安装了 gcc , kernel-devel … 结果还是出现错误。。

Gensupport:/home/teran/Downloads # vmware
Gtk-Message: Failed to load module “canberra-gtk-module”: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

(vmware-modconfig:14296): Gtk-WARNING **: Unable to locate theme engine in module_path: “adwaita”,
/usr/share/themes/Adwaita/gtk-2.0/main.rc:728: error: unexpected identifier direction', expected character}’

(vmware-modconfig:14296): Gtk-WARNING **: Unable to locate theme engine in module_path: “adwaita”,
Gtk-Message: Failed to load module “canberra-gtk-module”: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
Stopping VMware services:
VMware Authentication Daemon done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
make: Entering directory '/tmp/modconfig-zg8tdu/vmmon-only’
Using kernel build system.
/usr/bin/make -C /lib/modules/4.4.92-31-default/build/include/… SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.4.92-31-obj/x86_64/default’
CC [M] /tmp/modconfig-zg8tdu/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-zg8tdu/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-zg8tdu/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-zg8tdu/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-zg8tdu/vmmon-only/common/hashFunc.o
CC [M] /tmp/modconfig-zg8tdu/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-zg8tdu/vmmon-only/common/cpuid.o
/tmp/modconfig-zg8tdu/vmmon-only/linux/driver.c:1291:1: warning: always_inline function might not be inlinable -Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^
/tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.c: In function ‘HostIFGetUserPages’:
/tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.c:1174:28: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
numPages, 0, 0, ppages, NULL);
^
In file included from /tmp/modconfig-zg8tdu/vmmon-only/./include/compat_page.h:23:0,
from /tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.c:32:
/usr/src/linux-4.4.92-31/include/linux/mm.h:1264:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.c:1174:28: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
numPages, 0, 0, ppages, NULL);
^
In file included from /tmp/modconfig-zg8tdu/vmmon-only/./include/compat_page.h:23:0,
from /tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.c:32:
/usr/src/linux-4.4.92-31/include/linux/mm.h:1264:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.c:1174:28: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
numPages, 0, 0, ppages, NULL);
^
In file included from /tmp/modconfig-zg8tdu/vmmon-only/./include/compat_page.h:23:0,
from /tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.c:32:
/usr/src/linux-4.4.92-31/include/linux/mm.h:1264:6: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.c:1174:28: error: too many arguments to function ‘get_user_pages’
numPages, 0, 0, ppages, NULL);
^
In file included from /tmp/modconfig-zg8tdu/vmmon-only/./include/compat_page.h:23:0,
from /tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.c:32:
/usr/src/linux-4.4.92-31/include/linux/mm.h:1264:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/usr/src/linux-4.4.92-31/scripts/Makefile.build:259: recipe for target ‘/tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.o’ failed
make[4]: *** [/tmp/modconfig-zg8tdu/vmmon-only/linux/hostif.o] Error 1
make[4]: *** Waiting for unfinished jobs…
/usr/src/linux-4.4.92-31/Makefile:1431: recipe for target ‘module/tmp/modconfig-zg8tdu/vmmon-only’ failed
make[3]: *** [module/tmp/modconfig-zg8tdu/vmmon-only] Error 2
Makefile:150: recipe for target ‘sub-make’ failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target ‘__sub-make’ failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.4.92-31-obj/x86_64/default’
Makefile:120: recipe for target ‘vmmon.ko’ failed
make: *** [vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-zg8tdu/vmmon-only’
make: Entering directory '/tmp/modconfig-zg8tdu/vmnet-only’
Using kernel build system.
/usr/bin/make -C /lib/modules/4.4.92-31-default/build/include/… SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.4.92-31-obj/x86_64/default’
CC [M] /tmp/modconfig-zg8tdu/vmnet-only/driver.o
CC [M] /tmp/modconfig-zg8tdu/vmnet-only/hub.o
CC [M] /tmp/modconfig-zg8tdu/vmnet-only/userif.o
CC [M] /tmp/modconfig-zg8tdu/vmnet-only/netif.o
/tmp/modconfig-zg8tdu/vmnet-only/userif.c: In function ‘UserifLockPage’:
In file included from /usr/src/linux-4.4.92-31/include/linux/pci.h:36:0,
from /tmp/modconfig-zg8tdu/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-zg8tdu/vmnet-only/netif.c:43:
/usr/src/linux-4.4.92-31/include/linux/pci_ids.h:2256:0: warning: “PCI_VENDOR_ID_VMWARE” redefined [enabled by default]
#define PCI_VENDOR_ID_VMWARE 0x15ad
^
/tmp/modconfig-zg8tdu/vmnet-only/userif.c:125:28: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
1, 1, 0, &page, NULL);
^
In file included from /tmp/modconfig-zg8tdu/vmnet-only/net.h:38:0,
from /tmp/modconfig-zg8tdu/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-zg8tdu/vmnet-only/netif.c:42:
/tmp/modconfig-zg8tdu/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15AD
^
In file included from /usr/src/linux-4.4.92-31/include/linux/highmem.h:7:0,
from /tmp/modconfig-zg8tdu/vmnet-only/userif.c:26:
/usr/src/linux-4.4.92-31/include/linux/mm.h:1264:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/tmp/modconfig-zg8tdu/vmnet-only/userif.c:125:28: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
1, 1, 0, &page, NULL);
^
In file included from /usr/src/linux-4.4.92-31/include/linux/highmem.h:7:0,
from /tmp/modconfig-zg8tdu/vmnet-only/userif.c:26:
/usr/src/linux-4.4.92-31/include/linux/mm.h:1264:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/tmp/modconfig-zg8tdu/vmnet-only/userif.c:125:28: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
1, 1, 0, &page, NULL);
^
In file included from /usr/src/linux-4.4.92-31/include/linux/highmem.h:7:0,
from /tmp/modconfig-zg8tdu/vmnet-only/userif.c:26:
/usr/src/linux-4.4.92-31/include/linux/mm.h:1264:6: note: expected ‘struct page **’ but argument is of type ‘int’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/tmp/modconfig-zg8tdu/vmnet-only/userif.c:125:28: warning: passing argument 5 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
1, 1, 0, &page, NULL);
^
In file included from /usr/src/linux-4.4.92-31/include/linux/highmem.h:7:0,
from /tmp/modconfig-zg8tdu/vmnet-only/userif.c:26:
/usr/src/linux-4.4.92-31/include/linux/mm.h:1264:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘int’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/tmp/modconfig-zg8tdu/vmnet-only/userif.c:125:28: error: too many arguments to function ‘get_user_pages’
1, 1, 0, &page, NULL);
^
In file included from /usr/src/linux-4.4.92-31/include/linux/highmem.h:7:0,
from /tmp/modconfig-zg8tdu/vmnet-only/userif.c:26:
/usr/src/linux-4.4.92-31/include/linux/mm.h:1264:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
In file included from /tmp/modconfig-zg8tdu/vmnet-only/netif.c:43:0:
/tmp/modconfig-zg8tdu/vmnet-only/netif.c: In function ‘VNetNetifStartXmit’:
/tmp/modconfig-zg8tdu/vmnet-only/compat_netdevice.h:343:46: error: ‘struct net_device’ has no member named ‘trans_start’
#define compat_netif_trans_update(d) do { (d)->trans_start = jiffies; } while (0)
^
/tmp/modconfig-zg8tdu/vmnet-only/netif.c:468:4: note: in expansion of macro ‘compat_netif_trans_update’
compat_netif_trans_update(dev);
^
/usr/src/linux-4.4.92-31/scripts/Makefile.build:259: recipe for target ‘/tmp/modconfig-zg8tdu/vmnet-only/userif.o’ failed
make[4]: *** [/tmp/modconfig-zg8tdu/vmnet-only/userif.o] Error 1
make[4]: *** Waiting for unfinished jobs…
/usr/src/linux-4.4.92-31/scripts/Makefile.build:259: recipe for target ‘/tmp/modconfig-zg8tdu/vmnet-only/netif.o’ failed
make[4]: *** [/tmp/modconfig-zg8tdu/vmnet-only/netif.o] Error 1
/usr/src/linux-4.4.92-31/Makefile:1431: recipe for target ‘module/tmp/modconfig-zg8tdu/vmnet-only’ failed
make[3]: *** [module/tmp/modconfig-zg8tdu/vmnet-only] Error 2
Makefile:150: recipe for target ‘sub-make’ failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target ‘__sub-make’ failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.4.92-31-obj/x86_64/default’
Makefile:120: recipe for target ‘vmnet.ko’ failed
make: *** [vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-zg8tdu/vmnet-only’
Starting VMware services:
Virtual machine monitor failed
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet failed
VMware Authentication Daemon done

canberra-gtk-module 这个模块找不到,估计是否需要安装 32bit 的这个包。。。求支持。。。。谢谢


#4

cat /tmp/vmware-root/vmware-18027.log
2017-11-05T11:21:33.490+08:00| vthread-4| I125: Log for VMware Workstation pid=18027 version=12.5.7 build=build-5813279 option=Release
2017-11-05T11:21:33.490+08:00| vthread-4| I125: The process is 64-bit.
2017-11-05T11:21:33.490+08:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8
2017-11-05T11:21:33.490+08:00| vthread-4| I125: Host is Linux 4.4.92-31-default openSUSE Leap 42.3
2017-11-05T11:21:33.489+08:00| vthread-4| I125: DictionaryLoad: Cannot open file “/usr/lib/vmware/settings”: No such file or directory.
2017-11-05T11:21:33.489+08:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2017-11-05T11:21:33.489+08:00| vthread-4| I125: DictionaryLoad: Cannot open file “/home/teran/.vmware/config”: No such file or directory.
2017-11-05T11:21:33.489+08:00| vthread-4| I125: PREF Optional preferences file not found at /home/teran/.vmware/config. Using default values.
2017-11-05T11:21:33.489+08:00| vthread-4| I125: PREF Unable to check permissions for preferences file.
2017-11-05T11:21:33.489+08:00| vthread-4| I125: DictionaryLoad: Cannot open file “/home/teran/.vmware/preferences”: No such file or directory.
2017-11-05T11:21:33.489+08:00| vthread-4| I125: PREF Failed to load user preferences.
2017-11-05T11:21:33.501+08:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-18027.log
2017-11-05T11:21:33.505+08:00| vthread-4| I125: System distribution is SuSE
2017-11-05T11:21:33.505+08:00| vthread-4| I125: System version is 42.3
2017-11-05T11:21:33.505+08:00| vthread-4| I125: Obtaining info using the running kernel.
2017-11-05T11:21:33.505+08:00| vthread-4| I125: Created new pathsHash.
2017-11-05T11:21:33.505+08:00| vthread-4| I125: Setting header path for 4.4.92-31-default to “/lib/modules/4.4.92-31-default/build/include”.
2017-11-05T11:21:33.505+08:00| vthread-4| I125: Validating path “/lib/modules/4.4.92-31-default/build/include” for kernel release “4.4.92-31-default”.
2017-11-05T11:21:33.505+08:00| vthread-4| I125: Failed to find /lib/modules/4.4.92-31-default/build/include/linux/version.h
2017-11-05T11:21:33.505+08:00| vthread-4| I125: /lib/modules/4.4.92-31-default/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-11-05T11:21:33.505+08:00| vthread-4| I125: using /usr/bin/gcc-4.8 for preprocess check
2017-11-05T11:21:33.510+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value “4.4.92-31-default”.
2017-11-05T11:21:33.510+08:00| vthread-4| I125: The header path “/lib/modules/4.4.92-31-default/build/include” for the kernel “4.4.92-31-default” is valid. Whoohoo!
2017-11-05T11:21:33.605+08:00| vthread-4| I125: found symbol version file /lib/modules/4.4.92-31-default/build/Module.symvers
2017-11-05T11:21:33.605+08:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.4.92-31-default/build/Module.symvers.
2017-11-05T11:21:33.617+08:00| vthread-4| I125: Read 18141 symbol versions
2017-11-05T11:21:33.617+08:00| vthread-4| I125: Reading in info for the vmmon module.
2017-11-05T11:21:33.617+08:00| vthread-4| I125: Reading in info for the vmnet module.
2017-11-05T11:21:33.617+08:00| vthread-4| I125: Reading in info for the vmblock module.
2017-11-05T11:21:33.617+08:00| vthread-4| I125: Reading in info for the vmci module.
2017-11-05T11:21:33.617+08:00| vthread-4| I125: Reading in info for the vsock module.
2017-11-05T11:21:33.617+08:00| vthread-4| I125: Setting vsock to depend on vmci.
2017-11-05T11:21:33.617+08:00| vthread-4| I125: Invoking modinfo on “vmmon”.
2017-11-05T11:21:33.618+08:00| vthread-4| I125: “/sbin/modinfo” exited with status 256.
2017-11-05T11:21:33.618+08:00| vthread-4| I125: Invoking modinfo on “vmnet”.
2017-11-05T11:21:33.619+08:00| vthread-4| I125: “/sbin/modinfo” exited with status 256.
2017-11-05T11:21:33.619+08:00| vthread-4| I125: Invoking modinfo on “vmblock”.
2017-11-05T11:21:33.620+08:00| vthread-4| I125: “/sbin/modinfo” exited with status 256.
2017-11-05T11:21:33.620+08:00| vthread-4| I125: Invoking modinfo on “vmci”.
2017-11-05T11:21:33.621+08:00| vthread-4| I125: “/sbin/modinfo” exited with status 256.
2017-11-05T11:21:33.621+08:00| vthread-4| I125: Invoking modinfo on “vsock”.
2017-11-05T11:21:33.622+08:00| vthread-4| I125: “/sbin/modinfo” exited with status 0.
2017-11-05T11:21:33.630+08:00| vthread-4| I125: to be installed: vmmon status: 0
2017-11-05T11:21:33.630+08:00| vthread-4| I125: to be installed: vmnet status: 0
2017-11-05T11:21:33.642+08:00| vthread-4| I125: Obtaining info using the running kernel.
2017-11-05T11:21:33.642+08:00| vthread-4| I125: Setting header path for 4.4.92-31-default to “/lib/modules/4.4.92-31-default/build/include”.
2017-11-05T11:21:33.642+08:00| vthread-4| I125: Validating path “/lib/modules/4.4.92-31-default/build/include” for kernel release “4.4.92-31-default”.
2017-11-05T11:21:33.642+08:00| vthread-4| I125: Failed to find /lib/modules/4.4.92-31-default/build/include/linux/version.h
2017-11-05T11:21:33.642+08:00| vthread-4| I125: /lib/modules/4.4.92-31-default/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-11-05T11:21:33.642+08:00| vthread-4| I125: using /usr/bin/gcc-4.8 for preprocess check
2017-11-05T11:21:33.647+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value “4.4.92-31-default”.
2017-11-05T11:21:33.647+08:00| vthread-4| I125: The header path “/lib/modules/4.4.92-31-default/build/include” for the kernel “4.4.92-31-default” is valid. Whoohoo!
2017-11-05T11:21:33.740+08:00| vthread-4| I125: found symbol version file /lib/modules/4.4.92-31-default/build/Module.symvers
2017-11-05T11:21:33.740+08:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.4.92-31-default/build/Module.symvers.
2017-11-05T11:21:33.752+08:00| vthread-4| I125: Read 18141 symbol versions
2017-11-05T11:21:33.752+08:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.4.92-31-default/build/include
2017-11-05T11:21:33.752+08:00| vthread-4| I125: Update kernel header path to /lib/modules/4.4.92-31-default/build/include
2017-11-05T11:21:33.752+08:00| vthread-4| I125: Validating path “/lib/modules/4.4.92-31-default/build/include” for kernel release “4.4.92-31-default”.
2017-11-05T11:21:33.752+08:00| vthread-4| I125: Failed to find /lib/modules/4.4.92-31-default/build/include/linux/version.h
2017-11-05T11:21:33.752+08:00| vthread-4| I125: /lib/modules/4.4.92-31-default/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-11-05T11:21:33.752+08:00| vthread-4| I125: using /usr/bin/gcc-4.8 for preprocess check
2017-11-05T11:21:33.757+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value “4.4.92-31-default”.
2017-11-05T11:21:33.757+08:00| vthread-4| I125: The header path “/lib/modules/4.4.92-31-default/build/include” for the kernel “4.4.92-31-default” is valid. Whoohoo!
2017-11-05T11:21:33.757+08:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"
2017-11-05T11:21:33.759+08:00| vthread-4| I125: Got gcc version “4.8”.
2017-11-05T11:21:33.759+08:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-11-05T11:21:33.759+08:00| vthread-4| I125: Using user supplied compiler “/usr/bin/gcc”.
2017-11-05T11:21:33.761+08:00| vthread-4| I125: Got gcc version “4.8”.
2017-11-05T11:21:33.761+08:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-11-05T11:21:33.762+08:00| vthread-4| I125: Trying to find a suitable PBM set for kernel “4.4.92-31-default”.
2017-11-05T11:21:33.762+08:00| vthread-4| I125: No matching PBM set was found for kernel “4.4.92-31-default”.
2017-11-05T11:21:33.762+08:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-11-05T11:21:33.762+08:00| vthread-4| I125: Validating path “/lib/modules/4.4.92-31-default/build/include” for kernel release “4.4.92-31-default”.
2017-11-05T11:21:33.762+08:00| vthread-4| I125: Failed to find /lib/modules/4.4.92-31-default/build/include/linux/version.h
2017-11-05T11:21:33.762+08:00| vthread-4| I125: /lib/modules/4.4.92-31-default/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-11-05T11:21:33.762+08:00| vthread-4| I125: using /usr/bin/gcc-4.8 for preprocess check
2017-11-05T11:21:33.766+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value “4.4.92-31-default”.
2017-11-05T11:21:33.766+08:00| vthread-4| I125: The header path “/lib/modules/4.4.92-31-default/build/include” for the kernel “4.4.92-31-default” is valid. Whoohoo!
2017-11-05T11:21:33.767+08:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-11-05T11:21:33.767+08:00| vthread-4| I125: Validating path “/lib/modules/4.4.92-31-default/build/include” for kernel release “4.4.92-31-default”.
2017-11-05T11:21:33.767+08:00| vthread-4| I125: Failed to find /lib/modules/4.4.92-31-default/build/include/linux/version.h
2017-11-05T11:21:33.767+08:00| vthread-4| I125: /lib/modules/4.4.92-31-default/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-11-05T11:21:33.767+08:00| vthread-4| I125: using /usr/bin/gcc-4.8 for preprocess check
2017-11-05T11:21:33.771+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value “4.4.92-31-default”.
2017-11-05T11:21:33.771+08:00| vthread-4| I125: The header path “/lib/modules/4.4.92-31-default/build/include” for the kernel “4.4.92-31-default” is valid. Whoohoo!
2017-11-05T11:21:33.771+08:00| vthread-4| I125: Using temp dir “/tmp”.
2017-11-05T11:21:33.772+08:00| vthread-4| I125: Obtaining info using the running kernel.
2017-11-05T11:21:33.772+08:00| vthread-4| I125: Setting header path for 4.4.92-31-default to “/lib/modules/4.4.92-31-default/build/include”.
2017-11-05T11:21:33.772+08:00| vthread-4| I125: Validating path “/lib/modules/4.4.92-31-default/build/include” for kernel release “4.4.92-31-default”.
2017-11-05T11:21:33.772+08:00| vthread-4| I125: Failed to find /lib/modules/4.4.92-31-default/build/include/linux/version.h
2017-11-05T11:21:33.772+08:00| vthread-4| I125: /lib/modules/4.4.92-31-default/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2017-11-05T11:21:33.772+08:00| vthread-4| I125: using /usr/bin/gcc-4.8 for preprocess check
2017-11-05T11:21:33.776+08:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value “4.4.92-31-default”.
2017-11-05T11:21:33.776+08:00| vthread-4| I125: The header path “/lib/modules/4.4.92-31-default/build/include” for the kernel “4.4.92-31-default” is valid. Whoohoo!
2017-11-05T11:21:33.870+08:00| vthread-4| I125: found symbol version file /lib/modules/4.4.92-31-default/build/Module.symvers
2017-11-05T11:21:33.870+08:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.4.92-31-default/build/Module.symvers.
2017-11-05T11:21:33.882+08:00| vthread-4| I125: Read 18141 symbol versions
2017-11-05T11:21:33.882+08:00| vthread-4| I125: Invoking modinfo on “vmmon”.
2017-11-05T11:21:33.883+08:00| vthread-4| I125: “/sbin/modinfo” exited with status 256.
2017-11-05T11:21:33.883+08:00| vthread-4| I125: Invoking modinfo on “vmnet”.
2017-11-05T11:21:33.884+08:00| vthread-4| I125: “/sbin/modinfo” exited with status 256.
2017-11-05T11:21:34.330+08:00| vthread-4| I125: Setting destination path for vmmon to “/lib/modules/4.4.92-31-default/misc/vmmon.ko”.
2017-11-05T11:21:34.330+08:00| vthread-4| I125: Extracting the vmmon source from “/usr/lib/vmware/modules/source/vmmon.tar”.
2017-11-05T11:21:34.341+08:00| vthread-4| I125: Successfully extracted the vmmon source.
2017-11-05T11:21:34.341+08:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-oi8SqS/vmmon-only auto-build HEADER_DIR=/lib/modules/4.4.92-31-default/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-11-05T11:21:36.054+08:00| vthread-4| W115: Failed to build vmmon. Failed to execute the build command.
2017-11-05T11:21:36.056+08:00| vthread-4| I125: Setting destination path for vmnet to “/lib/modules/4.4.92-31-default/misc/vmnet.ko”.
2017-11-05T11:21:36.056+08:00| vthread-4| I125: Extracting the vmnet source from “/usr/lib/vmware/modules/source/vmnet.tar”.
2017-11-05T11:21:36.059+08:00| vthread-4| I125: Successfully extracted the vmnet source.
2017-11-05T11:21:36.059+08:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-oi8SqS/vmnet-only auto-build HEADER_DIR=/lib/modules/4.4.92-31-default/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-11-05T11:21:37.349+08:00| vthread-4| W115: Failed to build vmnet. Failed to execute the build command.


#5

你是不是没装 make 或者 gcc?sudo zypper in make gcc

从我的 iPhone 发送,使用 Tapatalk


#6

已经安装 Gcc and kernel-devel ,但是还是提示问题,,,我们这种普通用户不想知道怎么编译,怎么告诉他去找文件。只想使用他,然后进行生产。。。然后被卡在这里。。不是 opensuse 的问题。而是其他的问题。。。谢谢各位的鼎立支援。。。我决定放弃这个 vmware。。改用其他的。。