3

我将使用 3.2.xxVMware在 6 上安装 8 。我已经彻底安装了它,安装过程中似乎没有任何错误。但是当我想运行它时出现错误,上面写着:debiankernelVMware workstation

Failed to compile module vmmon

这个错误的原因是什么,我该如何解决?

日志输出:

2012-10-11T19:29:37.521+03:30| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmmon-only$
2012-10-11T19:29:39.324+03:30| vthread-3| I120: Failed to compile module vmmon!
4

3 回答 3

5

我使用这个命令来解决我的问题:

# cd /usr/lib/vmware/modules;
# wget http://pavlinux.ru/vmware/8.0.0/source.tar.lzma;
# tar -xf source.tar.lzma;
# vmware-modconfig --console --install-all;
于 2012-10-28T15:45:58.260 回答
3

You need to run this command as root after each kernel upgrades :

vmware-modconfig --console --install-all
于 2012-10-11T16:20:24.597 回答
1

以这种方式解决

检查$ vmplayer -v要插入脚本的版本,在我的情况下是 14.1.7

$ vim vmware-repair.sh

按 i 并粘贴

#!/bin/bash
VMWARE_VERSION=workstation-14.1.7 #This needs to be the actual name of the appropriate branch in mkubecek's GitHub repo for your purposes
TMP_FOLDER=/tmp/patch-vmware
rm -fdr $TMP_FOLDER
mkdir -p $TMP_FOLDER
cd $TMP_FOLDER
git clone https://github.com/mkubecek/vmware-host-modules.git #Use `git branch -a` to find all available branches and find the one that's appropriate for you
cd $TMP_FOLDER/vmware-host-modules
git checkout $VMWARE_VERSION
git fetch
make
sudo make install
sudo rm /usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1
systemctl restart vmware && vmplayer &

按 ESC 然后 :wq 然后 ENTER

$ chmod +x vmware-repair.sh
$ sudo ./vmware-repair.sh

资源

于 2019-05-07T12:43:17.313 回答