当我安装 WMWare 工具时,出现 vmhgfs 的以下错误:
/tmp/vmware-root/modules/vmhgfs-only/filesystem.c:47:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
compilation terminated.
make[2]: *** [/tmp/vmware-root/modules/vmhgfs-only/filesystem.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-12-generic'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmhgfs-only'
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.
/mnt/hgfs
共享时为空。如果我在终端中运行,vmware-hgfsclient
我会得到共享文件夹列表,但/mnt/hgfs
它是空的。
我尝试使用 vm machin 的新版本 vmware tools,但是速度非常慢,而且下载过程中中断。你能给我 tar.gz 文件的链接吗?
答案1
我下载的是这个版本:
VMwareTools-8.8.0-471268.tar.gz
问题已解决
答案2
您可以在这里找到以前的版本:http://softwareupdate.vmware.com/cds/vmw-desktop/player/
此博客详细介绍了在 Windows 主机上运行 VMware 时应采取的操作:http://pete.akeo.ie/2011/11/using-older-versions-of-vmware-tools.html