[3rd-Party Apps] deepinlinux v25版本安装VMware-Workstation-Full-17.0.2模块失败
Tofloor
poster avatar
199******33
deepin
2025-12-20 15:47
Author
vmwar-workstation安装正常,安装依赖的vmmon和vmnet模块是报错,提示gcc版本对不上。求助坛子里的大佬。
 
报错如下:
xiangnan@xiangnan-PC:~/Downloads/vmware-host-modules$ git switch -c remotes/origin/workstation-17.0.2
致命错误:一个名为 'remotes/origin/workstation-17.0.2' 的分支已经存在
xiangnan@xiangnan-PC:~/Downloads/vmware-host-modules$ git checkout
xiangnan@xiangnan-PC:~/Downloads/vmware-host-modules$ ls
INSTALL  LICENSE  Makefile  README  vmmon-only  vmnet-only
xiangnan@xiangnan-PC:~/Downloads/vmware-host-modules$ sudo make
make -C vmmon-only 
make[1]: 进入目录“/home/xiangnan/Downloads/vmware-host-modules/vmmon-only”
Using kernel build system.
make -C /lib/modules/6.12.53-amd64-desktop-rolling/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[2]: 进入目录“/usr/src/linux-headers-6.12.53-amd64-desktop-rolling”
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (Deepin 12.3.0-17deepin8) 12.3.0
  You are using:           gcc (Deepin 12.3.0-17deepin15) 12.3.0
  CC [M]  /home/xiangnan/Downloads/vmware-host-modules/vmmon-only/linux/driver.o
  CC [M]  /home/xiangnan/Downloads/vmware-host-modules/vmmon-only/linux/driverLog.o
  CC [M]  /home/xiangnan/Downloads/vmware-host-modules/vmmon-only/linux/hostif.o
  CC [M]  /home/xiangnan/Downloads/vmware-host-modules/vmmon-only/common/apic.o
In file included from ./include/linux/kernel.h:28,
                 from /home/xiangnan/Downloads/vmware-host-modules/vmmon-only/./include/vm_assert.h:77,
                 from /home/xiangnan/Downloads/vmware-host-modules/vmmon-only/./include/x86cpuid.h:38,
                 from /home/xiangnan/Downloads/vmware-host-modules/vmmon-only/./include/x86cpuid_asm.h:39,
                 from /home/xiangnan/Downloads/vmware-host-modules/vmmon-only/common/apic.c:22:
./include/linux/minmax.h:314: warning: "MIN" redefined
  314 | #define MIN(a, b) __cmp(min, a, b)
 
......内容太长此处省略800字。
 
/home/xiangnan/Downloads/vmware-host-modules/vmnet-only/bridge.c:902:4: note: in expansion of macro ‘dev_lock_list’
  902 |    dev_lock_list();
      |    ^~~~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:229:/home/xiangnan/Downloads/vmware-host-modules/vmnet-only/bridge.o] 错误 1
make[3]: *** [/usr/src/linux-headers-6.12.53-amd64-desktop-rolling/Makefile:1953:/home/xiangnan/Downloads/vmware-host-modules/vmnet-only] 错误 2
make[2]: *** [Makefile:224:__sub-make] 错误 2
make[2]: 离开目录“/usr/src/linux-headers-6.12.53-amd64-desktop-rolling”
make[1]: *** [Makefile:117:vmnet.ko] 错误 2
make[1]: 离开目录“/home/xiangnan/Downloads/vmware-host-modules/vmnet-only”
make: *** [Makefile:21:vmnet-only] 错误 2
Reply Favorite View the author
All Replies
骑木马的哥哥
deepin
2025-12-20 17:34
#1

用版本新一点的vmware吧。

下载流程见这篇文章:https://blog.csdn.net/air__j/article/details/142798842

Reply View the author
199******33
deepin
2025-12-21 22:25
#2
骑木马的哥哥

用版本新一点的vmware吧。

下载流程见这篇文章:https://blog.csdn.net/air__j/article/details/142798842

7.6.x版本安装可以正常使用感谢大佬指点

Reply View the author