VMWare无法共享文件夹(Win7宿主机\Ubuntu14.04客户机)

本文记录了在Ubuntu 14.04系统中安装VMWare Tools时遇到的编译错误问题,尤其是在编译vmhgfsmodule时的问题解决过程。文章提供了详细的错误提示信息并介绍了所需的依赖软件包(如gcc、binutils等),最后提到了尝试使用open-vm-tools作为解决方案。

在安装VMWare tools的时候,需要执行 vmware-install.pl。在安装过程中,需要编译vmhgfs module,如果编译失败就很可能导致共享文件夹无法正常挂载。

最近,我在虚拟机中安装了Ubuntu 14.04后,安装vmware tools时,出现编译错误,并输出如下提示:

The filesystem driver (vmhgfs module) is used only for the shared folder feature. The rest of the software provided by VMware Tools is designed to work independently of this feature.

If you wish to have the shared folders feature, you can install the driver by running vmware-config-tools.pl again after making sure that gcc, binutils, make and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.

提示如果要编译vmhgfs模块,需要安装 gcc, binutils, make and the kernel sources 这些工具,但是在确保这些工具安装后,重新执行 vmware-config-tools,仍然出现了编译错误,可能是vmware的更新还没有跟上linux最新的内核吧,现在只好尝试一下open-vm-tools了。

转载于:https://www.cnblogs.com/beanocean/p/3675685.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值