Debian testing 安装 VMWare 12

Debian内核号Linux version 4.6.0-1 amd64

1、安装VMWare Workstation后启动报gcc 5缺失
在/usr/bin下手动选择gcc-5并确认,弹出新对话框后重新选择一次

2、log文件中显示:
Building module with command “/usr/bin/make -j4 -C /tmp/modconfig-mT2eh6/vmnet-only aut
Failed to build vmnet.  Failed to execute the build command.
解决:参考https://communities.vmware.com/thread/537364?start=0&tstart=0
tar -xf /usr/lib/vmware/modules/source/vmmon.tar
nano vmmon-only/linux/hostif.c
[search an replace the one instance of get_user_pages() with get_user_pages_remote()]
tar -cf /usr/lib/vmware/modules/source/vmmon.tar /usr/lib/vmware/modules/source/vmmon-only/
tar -xf /usr/lib/vmware/modules/source/vmnet.tar
nano vmnet-only/userif.c
[search an replace the one instance of get_user_pages() with get_user_pages_remote()]
tar -cf /usr/lib/vmware/modules/source/vmnet.tar /usr/lib/vmware/modules/source/vmnet-only/

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注