kali linux vmware gcc未找到错误 [英] kali linux vmware gcc not found error
本文介绍了kali linux vmware gcc未找到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是kali linux的新手,我试图找到解决方法。我设法安装了vmware workstation 12.1.1,但是当我尝试运行它时,出现此错误。
I am new to kali linux and I try to find my way around it.. I have managed to install vmware workstation 12.1.1 but when I try to run it I get this error
未找到gcc的兼容版本。未找到GNU C编译器(gcc)版本5.4.0
A compatible version of gcc was not found. GNU C Compiler (gcc) version 5.4.0 was not found
我安装了gcc 6.1.1并花了3天的时间尝试解决这个没有结果..任何帮助?
I have the gcc 6.1.1 installed and spent 3 days trying to fix this with no result.. Any help?
推荐答案
将Kali升级到最新版即4.8.0-kali1-amd64
Upgrade Kali to the Latest Which is 4.8.0-kali1-amd64
apt upgrade
cd /usr/lib/vmware/modules/source
tar xf vmmon.tar
tar xf vmnet.tar
cd vmmon-only
make
cd ../vmnet
make
cd ..
mkdir /lib/modules/`uname -r`/misc
cp vmmon.o /lib/modules/`uname -r`/misc/vmmon.ko
cp vmnet.o /lib/modules/`uname -r`/misc/vmnet.ko
depmod -a
/etc/init.d/vmware restart
我也希望它会对某人有所帮助。
I'm also hope that its will be helpful for someone.
这篇关于kali linux vmware gcc未找到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文