首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装vmware工具时内核模块编译失败

安装vmware工具时内核模块编译失败
EN

Ask Ubuntu用户
提问于 2012-04-10 23:30:10
回答 2查看 4.6K关注 0票数 1

当我安装WMWare工具时,会得到vmhgfs的错误:

代码语言:javascript
复制
/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是空的。

我尝试使用vmware更新版本的vmware工具,但是它非常慢,在下载过程中被中断。你能给我tar.gz文件的链接吗?

EN

回答 2

Ask Ubuntu用户

发布于 2012-04-11 07:39:34

我下载这个版本:

VMwareTools-8.8.0-471268.tar.gz

问题解决了

票数 1
EN

Ask Ubuntu用户

发布于 2013-05-10 11:02:37

您可以在这里找到以前的版本:http://softwareupdate.vmware.com/cds/vmw-desktop/player/

本博客提供了一些详细信息,说明如果您在Windows主机上运行VMware:http://pete.akeo.ie/2011/11/using-older-versions-of-vmware-tools.html,应该做些什么

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/120873

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档