[Internal testing communication] V25 安装VMR时候安装成功了!
Tofloor
poster avatar
s36376149
deepin
5 hours ago
Author

运行的时候却提示这个不知道怎么弄!

VM就是运行不起来!
2ad2cc22-2bb3-437d-906b-893fb71ecb69.png

84b2f61e-5c03-4292-a479-56222f2edc94.png

Reply Favorite View the author
All Replies
avatar
𰻞𰻝面
deepin
4 hours ago
#1

模块安装失败,虚拟显示器和虚拟网卡

Reply View the author
avatar
s36376149
deepin
4 hours ago
#2
𰻞𰻝面

模块安装失败,虚拟显示器和虚拟网卡

怎么解决呢!

Reply View the author
avatar
𰻞𰻝面
deepin
4 hours ago
#3
s36376149

怎么解决呢!

缺少编译所需的依赖吧,我也不太懂

Reply View the author
avatar
s36376149
deepin
4 hours ago
#4
𰻞𰻝面

缺少编译所需的依赖吧,我也不太懂

不知道啊!有没有大佬知道怎么解决??

Reply View the author
avatar
北冥夜未央
deepin
Ecological co-builder
3 hours ago
#5

看日志知道什么问题才能解决,盲猜是磐石系统限制了目录写入权限,导致编译的模块写入不了内核目录,设置里面把磐石关了重新编译试试。保险起见还是看日志搞明白到底是什么问题~

Reply View the author
avatar
s36376149
deepin
2 hours ago
#6
北冥夜未央

看日志知道什么问题才能解决,盲猜是磐石系统限制了目录写入权限,导致编译的模块写入不了内核目录,设置里面把磐石关了重新编译试试。保险起见还是看日志搞明白到底是什么问题~

这是日志

2026-07-15T08:41:49.212Z In(05) host-42079 Log for VMware Workstation pid=42079 version=17.6.4 build=build-24832109 option=Release
2026-07-15T08:41:49.212Z In(05) host-42079 The host is x86_64.
2026-07-15T08:41:49.212Z In(05) host-42079 Host codepage=UTF-8 encoding=UTF-8
2026-07-15T08:41:49.212Z In(05) host-42079 Host is Linux 6.18.36-amd64-desktop-rolling Deepin 25 Deepin 25 25
2026-07-15T08:41:49.212Z In(05) host-42079 Host offset from UTC is +08:00.
2026-07-15T08:41:49.212Z In(05) host-42079 DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2026-07-15T08:41:49.212Z In(05) host-42079 DictionaryLoad: Cannot open file "/home/hjcxiang/.vmware/config": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 [msg.dictionary.load.openFailed] Cannot open file "/home/hjcxiang/.vmware/config": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 PREF Optional preferences file not found at /home/hjcxiang/.vmware/config. Using default values.
2026-07-15T08:41:49.212Z In(05) host-42079 DictionaryLoad: Cannot open file "/home/hjcxiang/.vmware/preferences": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 [msg.dictionary.load.openFailed] Cannot open file "/home/hjcxiang/.vmware/preferences": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 PREF Optional preferences file not found at /home/hjcxiang/.vmware/preferences. Using default values.
2026-07-15T08:41:49.241Z Wa(03) host-42079 Logging to /tmp/vmware-hjcxiang/vmware-42079.log
2026-07-15T08:41:49.289Z In(05) host-42079 Obtaining info using the running kernel.
2026-07-15T08:41:49.289Z In(05) host-42079 Created new pathsHash.
2026-07-15T08:41:49.289Z In(05) host-42079 Setting header path for 6.18.36-amd64-desktop-rolling to "/lib/modules/6.18.36-amd64-desktop-rolling/build/include".
2026-07-15T08:41:49.289Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:49.289Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:41:49.289Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:41:49.289Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:41:49.297Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:49.297Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:41:49.773Z In(05) host-42079 found symbol version file /lib/modules/6.18.36-amd64-desktop-rolling/build/Module.symvers
2026-07-15T08:41:49.773Z In(05) host-42079 Reading symbol versions from /lib/modules/6.18.36-amd64-desktop-rolling/build/Module.symvers.
2026-07-15T08:41:49.807Z In(05) host-42079 Read 31056 symbol versions
2026-07-15T08:41:49.807Z In(05) host-42079 Reading in info for the vmmon module.
2026-07-15T08:41:49.807Z In(05) host-42079 Reading in info for the vmnet module.
2026-07-15T08:41:49.807Z In(05) host-42079 Invoking modinfo on "vmmon".
2026-07-15T08:41:49.811Z In(05) host-42079 "/sbin/modinfo" exited with status 256.
2026-07-15T08:41:49.811Z In(05) host-42079 Invoking modinfo on "vmnet".
2026-07-15T08:41:49.814Z In(05) host-42079 "/sbin/modinfo" exited with status 256.
2026-07-15T08:41:49.832Z In(05) host-42079 to be installed: vmmon status: 0
2026-07-15T08:41:49.832Z In(05) host-42079 to be installed: vmnet status: 0
2026-07-15T08:41:49.846Z In(05) host-42079 Obtaining info using the running kernel.
2026-07-15T08:41:49.847Z In(05) host-42079 Setting header path for 6.18.36-amd64-desktop-rolling to "/lib/modules/6.18.36-amd64-desktop-rolling/build/include".
2026-07-15T08:41:49.847Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:49.847Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:41:49.847Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:41:49.847Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:41:49.855Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:49.855Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:41:50.332Z In(05) host-42079 found symbol version file /lib/modules/6.18.36-amd64-desktop-rolling/build/Module.symvers
2026-07-15T08:41:50.332Z In(05) host-42079 Reading symbol versions from /lib/modules/6.18.36-amd64-desktop-rolling/build/Module.symvers.
2026-07-15T08:41:50.366Z In(05) host-42079 Read 31056 symbol versions
2026-07-15T08:41:50.374Z In(05) host-42079 Kernel header path retrieved from FileEntry: /lib/modules/6.18.36-amd64-desktop-rolling/build/include
2026-07-15T08:41:50.374Z In(05) host-42079 Update kernel header path to /lib/modules/6.18.36-amd64-desktop-rolling/build/include
2026-07-15T08:41:50.374Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.374Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:41:50.374Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:41:50.374Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:41:50.382Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.382Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:41:50.383Z In(05) host-42079 Found compiler at "/usr/bin/gcc"
2026-07-15T08:41:50.385Z In(05) host-42079 Got gcc version "12".
2026-07-15T08:41:50.385Z In(05) host-42079 The GCC version matches the kernel GCC minor version like a glove.
2026-07-15T08:41:50.386Z In(05) host-42079 Got gcc version "12".
2026-07-15T08:41:50.386Z In(05) host-42079 The GCC version matches the kernel GCC minor version like a glove.
2026-07-15T08:41:50.388Z In(05) host-42079 Trying to find a suitable PBM set for kernel "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.388Z In(05) host-42079 No matching PBM set was found for kernel "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.388Z In(05) host-42079 The GCC version matches the kernel GCC minor version like a glove.
2026-07-15T08:41:50.388Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.388Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:41:50.388Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:41:50.388Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:41:50.396Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.396Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:41:51.916Z In(05) host-42079 The GCC version matches the kernel GCC minor version like a glove.
2026-07-15T08:41:51.916Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:51.916Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:41:51.916Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:41:51.916Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:41:51.947Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:51.947Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:41:51.947Z In(05) host-42079 Using temp dir "/tmp".
2026-07-15T08:42:13.228Z In(05) host-42079 Stopping VMware services:
2026-07-15T08:42:13.228Z In(05) host-42079 VMware Authentication Daemon done
2026-07-15T08:42:13.228Z In(05) host-42079 Virtual machine monitor done
2026-07-15T08:42:13.228Z In(05) host-42079 make: 进入目录“/tmp/modconfig-XrrC1y/vmmon-only”
2026-07-15T08:42:13.228Z In(05) host-42079 /usr/bin/make -C /lib/modules/6.18.36-amd64-desktop-rolling/build/include/.. M=​PWD SRCROOT=PWD/.
2026-07-15T08:42:13.228Z In(05) host-42079 MODULEBUILDDIR= modules
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: 进入目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: 进入目录“/tmp/modconfig-XrrC1y/vmmon-only”
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] linux/driver.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] linux/driverLog.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] linux/hostif.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] common/apic.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] common/comport.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] common/cpuid.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] common/crosspage.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] common/memtrack.o
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: 离开目录“/tmp/modconfig-XrrC1y/vmmon-only”
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: 离开目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:42:13.228Z In(05) host-42079 make: 离开目录“/tmp/modconfig-XrrC1y/vmmon-only”
2026-07-15T08:42:13.228Z In(05) host-42079 make: 进入目录“/tmp/modconfig-XrrC1y/vmnet-only”
2026-07-15T08:42:13.228Z In(05) host-42079 /usr/bin/make -C /lib/modules/6.18.36-amd64-desktop-rolling/build/include/.. M=​PWD SRCROOT=PWD/.
2026-07-15T08:42:13.228Z In(05) host-42079 MODULEBUILDDIR= modules
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: 进入目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: 进入目录“/tmp/modconfig-XrrC1y/vmnet-only”
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] driver.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] hub.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] userif.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] netif.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] bridge.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] procfs.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] smac_compat.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] smac.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] vnetEvent.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] vnetUserListener.o
2026-07-15T08:42:13.228Z In(05) host-42079 LD [M] vmnet.o
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: 离开目录“/tmp/modconfig-XrrC1y/vmnet-only”
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: 离开目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:42:13.228Z In(05) host-42079 make: 离开目录“/tmp/modconfig-XrrC1y/vmnet-only”
2026-07-15T08:42:13.228Z In(05) host-42079 [AppLoader] GLib does not have GSettings support.
2026-07-15T08:42:13.228Z In(05) host-42079 Using kernel build system.
2026-07-15T08:42:13.228Z In(05) host-42079 warning: the compiler differs from the one used to build the kernel
2026-07-15T08:42:13.228Z In(05) host-42079 The kernel was built by: gcc (Deepin 12.3.0-17deepin12) 12.3.0
2026-07-15T08:42:13.228Z In(05) host-42079 You are using: gcc (Deepin 12.3.0-17deepin18) 12.3.0
2026-07-15T08:42:13.228Z In(05) host-42079 linux/driver.c:21:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 21 | #include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 linux/driverLog.c:26:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 26 | #include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/driver.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** 正在等待未完成的任务....
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/driverLog.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 linux/hostif.c:30:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 30 | #include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 common/apic.c:20:10: fatal error: vm_basic_defs.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 20 | #include "vm_basic_defs.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 In file included from common/comport.c:40:
2026-07-15T08:42:13.228Z In(05) host-42079 common/comport.h:25:10: fatal error: includeCheck.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 25 | #include "includeCheck.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/hostif.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/apic.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/comport.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 common/cpuid.c:22:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 22 | # include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/cpuid.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 common/crosspage.c:50:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 50 | # include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 common/memtrack.c:79:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 79 | # include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/crosspage.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/memtrack.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 make[3]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:2028:.] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:248:__sub-make] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: *** [Makefile:248:__sub-make] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make: *** [Makefile:117:vmmon.ko] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 Using kernel build system.
2026-07-15T08:42:13.228Z In(05) host-42079 warning: the compiler differs from the one used to build the kernel
2026-07-15T08:42:13.228Z In(05) host-42079 The kernel was built by: gcc (Deepin 12.3.0-17deepin12) 12.3.0
2026-07-15T08:42:13.228Z In(05) host-42079 You are using: gcc (Deepin 12.3.0-17deepin18) 12.3.0
2026-07-15T08:42:13.228Z In(05) host-42079 vmnet.o: warning: objtool: VNetCsumAndCopyToUser+0x31: call to csum_partial_copy_nocheck() with UACCESS enabled
2026-07-15T08:42:13.228Z In(05) host-42079 vmnet.o: error: objtool: init_module(): Magic init_module() function name is deprecated, use module_init(fn) instead
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:503:vmnet.o] 错误 255
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** 正在删除文件“vmnet.o”
2026-07-15T08:42:13.228Z In(05) host-42079 make[3]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:2028:.] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:248:__sub-make] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: *** [Makefile:248:__sub-make] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make: *** [Makefile:117:vmnet.ko] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 Unable to install all modules. See log for details.
2026-07-15T08:42:13.228Z In(05) host-42079
2026-07-15T08:51:27.660Z In(05) host-42079 The GCC version matches the kernel GCC minor version like a glove.
2026-07-15T08:51:27.660Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:51:27.660Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:51:27.660Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:51:27.660Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:51:27.669Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:51:27.669Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:51:27.669Z In(05) host-42079 Using temp dir "/tmp".
2026-07-15T08:51:36.961Z In(05) host-42079 Stopping VMware services:
2026-07-15T08:51:36.961Z In(05) host-42079 VMware Authentication Daemon done
2026-07-15T08:51:36.961Z In(05) host-42079 Virtual machine monitor done
2026-07-15T08:51:36.961Z In(05) host-42079 make: 进入目录“/tmp/modconfig-2jq7LM/vmmon-only”
2026-07-15T08:51:36.961Z In(05) host-42079 /usr/bin/make -C /lib/modules/6.18.36-amd64-desktop-rolling/build/include/.. M=​PWD SRCROOT=PWD/.
2026-07-15T08:51:36.961Z In(05) host-42079 MODULEBUILDDIR= modules
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: 进入目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: 进入目录“/tmp/modconfig-2jq7LM/vmmon-only”
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] linux/driver.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] linux/driverLog.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] linux/hostif.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] common/apic.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] common/comport.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] common/cpuid.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] common/crosspage.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] common/memtrack.o
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: 离开目录“/tmp/modconfig-2jq7LM/vmmon-only”
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: 离开目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:51:36.961Z In(05) host-42079 make: 离开目录“/tmp/modconfig-2jq7LM/vmmon-only”
2026-07-15T08:51:36.961Z In(05) host-42079 make: 进入目录“/tmp/modconfig-2jq7LM/vmnet-only”
2026-07-15T08:51:36.961Z In(05) host-42079 /usr/bin/make -C /lib/modules/6.18.36-amd64-desktop-rolling/build/include/.. M=​PWD SRCROOT=PWD/.
2026-07-15T08:51:36.961Z In(05) host-42079 MODULEBUILDDIR= modules
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: 进入目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: 进入目录“/tmp/modconfig-2jq7LM/vmnet-only”
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] driver.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] hub.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] userif.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] netif.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] bridge.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] procfs.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] smac_compat.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] smac.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] vnetEvent.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] vnetUserListener.o
2026-07-15T08:51:36.961Z In(05) host-42079 LD [M] vmnet.o
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: 离开目录“/tmp/modconfig-2jq7LM/vmnet-only”
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: 离开目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:51:36.961Z In(05) host-42079 make: 离开目录“/tmp/modconfig-2jq7LM/vmnet-only”
2026-07-15T08:51:36.961Z In(05) host-42079 [AppLoader] GLib does not have GSettings support.
2026-07-15T08:51:36.961Z In(05) host-42079 Using kernel build system.
2026-07-15T08:51:36.961Z In(05) host-42079 warning: the compiler differs from the one used to build the kernel
2026-07-15T08:51:36.961Z In(05) host-42079 The kernel was built by: gcc (Deepin 12.3.0-17deepin12) 12.3.0
2026-07-15T08:51:36.961Z In(05) host-42079 You are using: gcc (Deepin 12.3.0-17deepin18) 12.3.0
2026-07-15T08:51:36.961Z In(05) host-42079 linux/driverLog.c:26:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 26 | #include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/driverLog.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** 正在等待未完成的任务....
2026-07-15T08:51:36.961Z In(05) host-42079 linux/hostif.c:30:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 30 | #include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 linux/driver.c:21:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 21 | #include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/hostif.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/driver.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 In file included from common/comport.c:40:
2026-07-15T08:51:36.961Z In(05) host-42079 common/comport.h:25:10: fatal error: includeCheck.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 25 | #include "includeCheck.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 common/apic.c:20:10: fatal error: vm_basic_defs.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 20 | #include "vm_basic_defs.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/comport.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/apic.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 common/cpuid.c:22:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 22 | # include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/cpuid.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 common/crosspage.c:50:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 50 | # include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/crosspage.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 common/memtrack.c:79:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 79 | # include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/memtrack.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 make[3]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:2028:.] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:248:__sub-make] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: *** [Makefile:248:__sub-make] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make: *** [Makefile:117:vmmon.ko] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 Using kernel build system.
2026-07-15T08:51:36.961Z In(05) host-42079 warning: the compiler differs from the one used to build the kernel
2026-07-15T08:51:36.961Z In(05) host-42079 The kernel was built by: gcc (Deepin 12.3.0-17deepin12) 12.3.0
2026-07-15T08:51:36.961Z In(05) host-42079 You are using: gcc (Deepin 12.3.0-17deepin18) 12.3.0
2026-07-15T08:51:36.961Z In(05) host-42079 vmnet.o: warning: objtool: VNetCsumAndCopyToUser+0x31: call to csum_partial_copy_nocheck() with UACCESS enabled
2026-07-15T08:51:36.961Z In(05) host-42079 vmnet.o: error: objtool: init_module(): Magic init_module() function name is deprecated, use module_init(fn) instead
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:503:vmnet.o] 错误 255
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** 正在删除文件“vmnet.o”
2026-07-15T08:51:36.961Z In(05) host-42079 make[3]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:2028:.] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:248:__sub-make] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: *** [Makefile:248:__sub-make] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make: *** [Makefile:117:vmnet.ko] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 Unable to install all modules. See log for details.
2026-07-15T08:51:36.961Z In(05) host-42079

Reply View the author
avatar
s36376149
deepin
2 hours ago
#7
北冥夜未央

看日志知道什么问题才能解决,盲猜是磐石系统限制了目录写入权限,导致编译的模块写入不了内核目录,设置里面把磐石关了重新编译试试。保险起见还是看日志搞明白到底是什么问题~

磐石没开!已经关了!也是用sudo来安装的

Reply View the author
avatar
chmod700
deepin
an hour ago
#8

以前ubuntu22.04的时候遇到过,原因是gcc版本不对(22.04默认gcc是gcc-11,vmware要求gcc-12),安装gcc-12就行了,不知道你这个是不是也是gcc版本不对,你可以装个老版本试试,比如17.5,验证一下它是不是又提高了gcc版本的要求

Reply View the author
avatar
北冥夜未央
deepin
Ecological co-builder
an hour ago
#9
s36376149

这是日志

2026-07-15T08:41:49.212Z In(05) host-42079 Log for VMware Workstation pid=42079 version=17.6.4 build=build-24832109 option=Release
2026-07-15T08:41:49.212Z In(05) host-42079 The host is x86_64.
2026-07-15T08:41:49.212Z In(05) host-42079 Host codepage=UTF-8 encoding=UTF-8
2026-07-15T08:41:49.212Z In(05) host-42079 Host is Linux 6.18.36-amd64-desktop-rolling Deepin 25 Deepin 25 25
2026-07-15T08:41:49.212Z In(05) host-42079 Host offset from UTC is +08:00.
2026-07-15T08:41:49.212Z In(05) host-42079 DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2026-07-15T08:41:49.212Z In(05) host-42079 DictionaryLoad: Cannot open file "/home/hjcxiang/.vmware/config": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 [msg.dictionary.load.openFailed] Cannot open file "/home/hjcxiang/.vmware/config": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 PREF Optional preferences file not found at /home/hjcxiang/.vmware/config. Using default values.
2026-07-15T08:41:49.212Z In(05) host-42079 DictionaryLoad: Cannot open file "/home/hjcxiang/.vmware/preferences": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 [msg.dictionary.load.openFailed] Cannot open file "/home/hjcxiang/.vmware/preferences": 没有那个文件或目录.
2026-07-15T08:41:49.212Z In(05) host-42079 PREF Optional preferences file not found at /home/hjcxiang/.vmware/preferences. Using default values.
2026-07-15T08:41:49.241Z Wa(03) host-42079 Logging to /tmp/vmware-hjcxiang/vmware-42079.log
2026-07-15T08:41:49.289Z In(05) host-42079 Obtaining info using the running kernel.
2026-07-15T08:41:49.289Z In(05) host-42079 Created new pathsHash.
2026-07-15T08:41:49.289Z In(05) host-42079 Setting header path for 6.18.36-amd64-desktop-rolling to "/lib/modules/6.18.36-amd64-desktop-rolling/build/include".
2026-07-15T08:41:49.289Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:49.289Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:41:49.289Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:41:49.289Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:41:49.297Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:49.297Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:41:49.773Z In(05) host-42079 found symbol version file /lib/modules/6.18.36-amd64-desktop-rolling/build/Module.symvers
2026-07-15T08:41:49.773Z In(05) host-42079 Reading symbol versions from /lib/modules/6.18.36-amd64-desktop-rolling/build/Module.symvers.
2026-07-15T08:41:49.807Z In(05) host-42079 Read 31056 symbol versions
2026-07-15T08:41:49.807Z In(05) host-42079 Reading in info for the vmmon module.
2026-07-15T08:41:49.807Z In(05) host-42079 Reading in info for the vmnet module.
2026-07-15T08:41:49.807Z In(05) host-42079 Invoking modinfo on "vmmon".
2026-07-15T08:41:49.811Z In(05) host-42079 "/sbin/modinfo" exited with status 256.
2026-07-15T08:41:49.811Z In(05) host-42079 Invoking modinfo on "vmnet".
2026-07-15T08:41:49.814Z In(05) host-42079 "/sbin/modinfo" exited with status 256.
2026-07-15T08:41:49.832Z In(05) host-42079 to be installed: vmmon status: 0
2026-07-15T08:41:49.832Z In(05) host-42079 to be installed: vmnet status: 0
2026-07-15T08:41:49.846Z In(05) host-42079 Obtaining info using the running kernel.
2026-07-15T08:41:49.847Z In(05) host-42079 Setting header path for 6.18.36-amd64-desktop-rolling to "/lib/modules/6.18.36-amd64-desktop-rolling/build/include".
2026-07-15T08:41:49.847Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:49.847Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:41:49.847Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:41:49.847Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:41:49.855Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:49.855Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:41:50.332Z In(05) host-42079 found symbol version file /lib/modules/6.18.36-amd64-desktop-rolling/build/Module.symvers
2026-07-15T08:41:50.332Z In(05) host-42079 Reading symbol versions from /lib/modules/6.18.36-amd64-desktop-rolling/build/Module.symvers.
2026-07-15T08:41:50.366Z In(05) host-42079 Read 31056 symbol versions
2026-07-15T08:41:50.374Z In(05) host-42079 Kernel header path retrieved from FileEntry: /lib/modules/6.18.36-amd64-desktop-rolling/build/include
2026-07-15T08:41:50.374Z In(05) host-42079 Update kernel header path to /lib/modules/6.18.36-amd64-desktop-rolling/build/include
2026-07-15T08:41:50.374Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.374Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:41:50.374Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:41:50.374Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:41:50.382Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.382Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:41:50.383Z In(05) host-42079 Found compiler at "/usr/bin/gcc"
2026-07-15T08:41:50.385Z In(05) host-42079 Got gcc version "12".
2026-07-15T08:41:50.385Z In(05) host-42079 The GCC version matches the kernel GCC minor version like a glove.
2026-07-15T08:41:50.386Z In(05) host-42079 Got gcc version "12".
2026-07-15T08:41:50.386Z In(05) host-42079 The GCC version matches the kernel GCC minor version like a glove.
2026-07-15T08:41:50.388Z In(05) host-42079 Trying to find a suitable PBM set for kernel "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.388Z In(05) host-42079 No matching PBM set was found for kernel "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.388Z In(05) host-42079 The GCC version matches the kernel GCC minor version like a glove.
2026-07-15T08:41:50.388Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.388Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:41:50.388Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:41:50.388Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:41:50.396Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:50.396Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:41:51.916Z In(05) host-42079 The GCC version matches the kernel GCC minor version like a glove.
2026-07-15T08:41:51.916Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:51.916Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:41:51.916Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:41:51.916Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:41:51.947Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:41:51.947Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:41:51.947Z In(05) host-42079 Using temp dir "/tmp".
2026-07-15T08:42:13.228Z In(05) host-42079 Stopping VMware services:
2026-07-15T08:42:13.228Z In(05) host-42079 VMware Authentication Daemon done
2026-07-15T08:42:13.228Z In(05) host-42079 Virtual machine monitor done
2026-07-15T08:42:13.228Z In(05) host-42079 make: 进入目录“/tmp/modconfig-XrrC1y/vmmon-only”
2026-07-15T08:42:13.228Z In(05) host-42079 /usr/bin/make -C /lib/modules/6.18.36-amd64-desktop-rolling/build/include/.. M=​PWD SRCROOT=PWD/.
2026-07-15T08:42:13.228Z In(05) host-42079 MODULEBUILDDIR= modules
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: 进入目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: 进入目录“/tmp/modconfig-XrrC1y/vmmon-only”
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] linux/driver.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] linux/driverLog.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] linux/hostif.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] common/apic.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] common/comport.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] common/cpuid.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] common/crosspage.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] common/memtrack.o
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: 离开目录“/tmp/modconfig-XrrC1y/vmmon-only”
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: 离开目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:42:13.228Z In(05) host-42079 make: 离开目录“/tmp/modconfig-XrrC1y/vmmon-only”
2026-07-15T08:42:13.228Z In(05) host-42079 make: 进入目录“/tmp/modconfig-XrrC1y/vmnet-only”
2026-07-15T08:42:13.228Z In(05) host-42079 /usr/bin/make -C /lib/modules/6.18.36-amd64-desktop-rolling/build/include/.. M=​PWD SRCROOT=PWD/.
2026-07-15T08:42:13.228Z In(05) host-42079 MODULEBUILDDIR= modules
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: 进入目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: 进入目录“/tmp/modconfig-XrrC1y/vmnet-only”
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] driver.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] hub.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] userif.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] netif.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] bridge.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] procfs.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] smac_compat.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] smac.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] vnetEvent.o
2026-07-15T08:42:13.228Z In(05) host-42079 CC [M] vnetUserListener.o
2026-07-15T08:42:13.228Z In(05) host-42079 LD [M] vmnet.o
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: 离开目录“/tmp/modconfig-XrrC1y/vmnet-only”
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: 离开目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:42:13.228Z In(05) host-42079 make: 离开目录“/tmp/modconfig-XrrC1y/vmnet-only”
2026-07-15T08:42:13.228Z In(05) host-42079 [AppLoader] GLib does not have GSettings support.
2026-07-15T08:42:13.228Z In(05) host-42079 Using kernel build system.
2026-07-15T08:42:13.228Z In(05) host-42079 warning: the compiler differs from the one used to build the kernel
2026-07-15T08:42:13.228Z In(05) host-42079 The kernel was built by: gcc (Deepin 12.3.0-17deepin12) 12.3.0
2026-07-15T08:42:13.228Z In(05) host-42079 You are using: gcc (Deepin 12.3.0-17deepin18) 12.3.0
2026-07-15T08:42:13.228Z In(05) host-42079 linux/driver.c:21:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 21 | #include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 linux/driverLog.c:26:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 26 | #include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/driver.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** 正在等待未完成的任务....
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/driverLog.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 linux/hostif.c:30:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 30 | #include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 common/apic.c:20:10: fatal error: vm_basic_defs.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 20 | #include "vm_basic_defs.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 In file included from common/comport.c:40:
2026-07-15T08:42:13.228Z In(05) host-42079 common/comport.h:25:10: fatal error: includeCheck.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 25 | #include "includeCheck.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/hostif.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/apic.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/comport.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 common/cpuid.c:22:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 22 | # include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/cpuid.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 common/crosspage.c:50:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 50 | # include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 common/memtrack.c:79:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:42:13.228Z In(05) host-42079 79 | # include "driver-config.h"
2026-07-15T08:42:13.228Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:42:13.228Z In(05) host-42079 compilation terminated.
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/crosspage.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/memtrack.o] 错误 1
2026-07-15T08:42:13.228Z In(05) host-42079 make[3]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:2028:.] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:248:__sub-make] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: *** [Makefile:248:__sub-make] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make: *** [Makefile:117:vmmon.ko] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 Using kernel build system.
2026-07-15T08:42:13.228Z In(05) host-42079 warning: the compiler differs from the one used to build the kernel
2026-07-15T08:42:13.228Z In(05) host-42079 The kernel was built by: gcc (Deepin 12.3.0-17deepin12) 12.3.0
2026-07-15T08:42:13.228Z In(05) host-42079 You are using: gcc (Deepin 12.3.0-17deepin18) 12.3.0
2026-07-15T08:42:13.228Z In(05) host-42079 vmnet.o: warning: objtool: VNetCsumAndCopyToUser+0x31: call to csum_partial_copy_nocheck() with UACCESS enabled
2026-07-15T08:42:13.228Z In(05) host-42079 vmnet.o: error: objtool: init_module(): Magic init_module() function name is deprecated, use module_init(fn) instead
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:503:vmnet.o] 错误 255
2026-07-15T08:42:13.228Z In(05) host-42079 make[4]: *** 正在删除文件“vmnet.o”
2026-07-15T08:42:13.228Z In(05) host-42079 make[3]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:2028:.] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make[2]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:248:__sub-make] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make[1]: *** [Makefile:248:__sub-make] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 make: *** [Makefile:117:vmnet.ko] 错误 2
2026-07-15T08:42:13.228Z In(05) host-42079 Unable to install all modules. See log for details.
2026-07-15T08:42:13.228Z In(05) host-42079
2026-07-15T08:51:27.660Z In(05) host-42079 The GCC version matches the kernel GCC minor version like a glove.
2026-07-15T08:51:27.660Z In(05) host-42079 Validating path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for kernel release "6.18.36-amd64-desktop-rolling".
2026-07-15T08:51:27.660Z In(05) host-42079 Failed to find /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h
2026-07-15T08:51:27.660Z In(05) host-42079 /lib/modules/6.18.36-amd64-desktop-rolling/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2026-07-15T08:51:27.660Z In(05) host-42079 using /usr/bin/gcc-12 for preprocess check
2026-07-15T08:51:27.669Z In(05) host-42079 Preprocessed UTS_RELEASE, got value "6.18.36-amd64-desktop-rolling".
2026-07-15T08:51:27.669Z In(05) host-42079 The header path "/lib/modules/6.18.36-amd64-desktop-rolling/build/include" for the kernel "6.18.36-amd64-desktop-rolling" is valid. Whoohoo!
2026-07-15T08:51:27.669Z In(05) host-42079 Using temp dir "/tmp".
2026-07-15T08:51:36.961Z In(05) host-42079 Stopping VMware services:
2026-07-15T08:51:36.961Z In(05) host-42079 VMware Authentication Daemon done
2026-07-15T08:51:36.961Z In(05) host-42079 Virtual machine monitor done
2026-07-15T08:51:36.961Z In(05) host-42079 make: 进入目录“/tmp/modconfig-2jq7LM/vmmon-only”
2026-07-15T08:51:36.961Z In(05) host-42079 /usr/bin/make -C /lib/modules/6.18.36-amd64-desktop-rolling/build/include/.. M=​PWD SRCROOT=PWD/.
2026-07-15T08:51:36.961Z In(05) host-42079 MODULEBUILDDIR= modules
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: 进入目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: 进入目录“/tmp/modconfig-2jq7LM/vmmon-only”
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] linux/driver.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] linux/driverLog.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] linux/hostif.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] common/apic.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] common/comport.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] common/cpuid.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] common/crosspage.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] common/memtrack.o
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: 离开目录“/tmp/modconfig-2jq7LM/vmmon-only”
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: 离开目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:51:36.961Z In(05) host-42079 make: 离开目录“/tmp/modconfig-2jq7LM/vmmon-only”
2026-07-15T08:51:36.961Z In(05) host-42079 make: 进入目录“/tmp/modconfig-2jq7LM/vmnet-only”
2026-07-15T08:51:36.961Z In(05) host-42079 /usr/bin/make -C /lib/modules/6.18.36-amd64-desktop-rolling/build/include/.. M=​PWD SRCROOT=PWD/.
2026-07-15T08:51:36.961Z In(05) host-42079 MODULEBUILDDIR= modules
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: 进入目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: 进入目录“/tmp/modconfig-2jq7LM/vmnet-only”
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] driver.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] hub.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] userif.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] netif.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] bridge.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] procfs.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] smac_compat.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] smac.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] vnetEvent.o
2026-07-15T08:51:36.961Z In(05) host-42079 CC [M] vnetUserListener.o
2026-07-15T08:51:36.961Z In(05) host-42079 LD [M] vmnet.o
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: 离开目录“/tmp/modconfig-2jq7LM/vmnet-only”
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: 离开目录“/usr/src/linux-headers-6.18.36-amd64-desktop-rolling”
2026-07-15T08:51:36.961Z In(05) host-42079 make: 离开目录“/tmp/modconfig-2jq7LM/vmnet-only”
2026-07-15T08:51:36.961Z In(05) host-42079 [AppLoader] GLib does not have GSettings support.
2026-07-15T08:51:36.961Z In(05) host-42079 Using kernel build system.
2026-07-15T08:51:36.961Z In(05) host-42079 warning: the compiler differs from the one used to build the kernel
2026-07-15T08:51:36.961Z In(05) host-42079 The kernel was built by: gcc (Deepin 12.3.0-17deepin12) 12.3.0
2026-07-15T08:51:36.961Z In(05) host-42079 You are using: gcc (Deepin 12.3.0-17deepin18) 12.3.0
2026-07-15T08:51:36.961Z In(05) host-42079 linux/driverLog.c:26:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 26 | #include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/driverLog.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** 正在等待未完成的任务....
2026-07-15T08:51:36.961Z In(05) host-42079 linux/hostif.c:30:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 30 | #include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 linux/driver.c:21:10: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 21 | #include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/hostif.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:linux/driver.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 In file included from common/comport.c:40:
2026-07-15T08:51:36.961Z In(05) host-42079 common/comport.h:25:10: fatal error: includeCheck.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 25 | #include "includeCheck.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 common/apic.c:20:10: fatal error: vm_basic_defs.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 20 | #include "vm_basic_defs.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/comport.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/apic.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 common/cpuid.c:22:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 22 | # include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/cpuid.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 common/crosspage.c:50:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 50 | # include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/crosspage.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 common/memtrack.c:79:13: fatal error: driver-config.h: 没有那个文件或目录
2026-07-15T08:51:36.961Z In(05) host-42079 79 | # include "driver-config.h"
2026-07-15T08:51:36.961Z In(05) host-42079 | ^~~~~~~~~~~~~~~~~
2026-07-15T08:51:36.961Z In(05) host-42079 compilation terminated.
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:287:common/memtrack.o] 错误 1
2026-07-15T08:51:36.961Z In(05) host-42079 make[3]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:2028:.] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:248:__sub-make] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: *** [Makefile:248:__sub-make] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make: *** [Makefile:117:vmmon.ko] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 Using kernel build system.
2026-07-15T08:51:36.961Z In(05) host-42079 warning: the compiler differs from the one used to build the kernel
2026-07-15T08:51:36.961Z In(05) host-42079 The kernel was built by: gcc (Deepin 12.3.0-17deepin12) 12.3.0
2026-07-15T08:51:36.961Z In(05) host-42079 You are using: gcc (Deepin 12.3.0-17deepin18) 12.3.0
2026-07-15T08:51:36.961Z In(05) host-42079 vmnet.o: warning: objtool: VNetCsumAndCopyToUser+0x31: call to csum_partial_copy_nocheck() with UACCESS enabled
2026-07-15T08:51:36.961Z In(05) host-42079 vmnet.o: error: objtool: init_module(): Magic init_module() function name is deprecated, use module_init(fn) instead
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/scripts/Makefile.build:503:vmnet.o] 错误 255
2026-07-15T08:51:36.961Z In(05) host-42079 make[4]: *** 正在删除文件“vmnet.o”
2026-07-15T08:51:36.961Z In(05) host-42079 make[3]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:2028:.] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make[2]: *** [/usr/src/linux-headers-6.18.36-amd64-desktop-rolling/Makefile:248:__sub-make] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make[1]: *** [Makefile:248:__sub-make] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 make: *** [Makefile:117:vmnet.ko] 错误 2
2026-07-15T08:51:36.961Z In(05) host-42079 Unable to install all modules. See log for details.
2026-07-15T08:51:36.961Z In(05) host-42079

编译模块找不到头文件include "driver-config.h",下面这是AI给的解决办法:

这个问题很常见,核心原因是 VMware 内核模块编译时找不到当前内核的配置头文件driver-config.h 是 VMware 构建脚本动态生成的文件,依赖内核头文件环境。


解决步骤

1️⃣ 确认当前内核版本

打开终端,运行:

bash

1uname** -r**

2

例如输出可能是:6.6.120-amd64-desktop-hwe

2️⃣ 安装对应版本的内核头文件

bash

1sudo** apt update**

2sudo** apt install linux-headers-$(uname -r)**

3

如果提示找不到该版本,尝试安装通用头文件包:

bash

1sudo** apt install linux-headers-generic**

2

3️⃣ 安装编译工具链(如果缺失)

bash

1sudo** apt install -y gcc g++ make perl build-essential**

2

4️⃣ 重新编译 VMware 内核模块

bash

1sudo** vmware-modconfig --console --install-all**

2

系统会自动重新构建 vmmonvmnet 等模块,并生成所需的 driver-config.h

5️⃣ 重启系统(可选但推荐)

bash

1reboot

2


如果还是不行,排查以下几点

排查项 命令/操作
检查内核头文件是否已安装 dpkg -l | grep linux-headers-$(uname -r)
检查 build 符号链接 ls -l /lib/modules/$(uname -r)/build 应指向有效路径
检查 Secure Boot 状态 mokutil --sb-state,如果启用需禁用或签名模块
查看 VMware 日志 cat /tmp/vmware-root/vmware*.log 查看具体错误

Linux下用虚拟机,还是优先推荐VirtualBox,不过内核还是需要切换回6.6, 使用6.18内核一样跑不起来。

Reply View the author