解决 ubuntu 1104 vm_share不能使用的问题
来源:互联网 发布:php excel 下拉菜单 编辑:程序博客网 时间:2024/06/14 09:49
If you’re trying to install vmware-tools inside a linux guest and get the dreadedsuper.c:73: error: unknown field ‘clear_inode’ specified in initializer
error while compiling vmhgfs for shared folder support (which I use a lot),
this will help (thanks to Anjo from German VMWare Forums):
- unpack
/usr/lib/vmware-tools/modules/source/vmhgfs.tar
to somewhere - open
vmhgfs-only/super.c
in your favorite text editor - edit from
1
#ifndef VMW_USE_IGET_LOCKED
2
.read_inode = HgfsReadInode,
3
#endif
4
.clear_inode = HgfsClearInode,
5
.put_super = HgfsPutSuper,
6
.statfs = HgfsStatfs,
7
};
to (note .clear_inode -> .evict_inode)
1
#ifndef VMW_USE_IGET_LOCKED
2
.read_inode = HgfsReadInode,
3
#endif
4
.evict_inode = HgfsClearInode,
5
.put_super = HgfsPutSuper,
6
.statfs = HgfsStatfs,
7
};
- repack
vmhgfs.tar
including editedsuper.c
- execute
vmware-config-tools.pl
- profit
原帖地址:http://gordonazmo.wordpress.com/2011/02/09/fixing-vmware-tools-vmhgfs-on-newer-kernels-probably-anything-2-6-36/
- 解决 ubuntu 1104 vm_share不能使用的问题
- 解决ubuntu下opera不能使用ibus的问题
- ubuntu 14.04 解决root用户不能使用fcitx的问题
- 解决ubuntu下不能使用深澜客户端的问题
- 解决ubuntu 不能上网的问题
- ubuntu解决不能设置高分辨率的问题
- ubuntu 解决无线不能连接的问题
- 解决win7和ubuntu双系统ubuntu不能上网的问题
- 解决Ubuntu系统使用pinyin不能打正确打字问题
- ubuntu下 如何解决rubyEE安装后 ./script/console不能使用的问题
- 【超佩服】解决ubuntu系统不能使用技嘉(GA)主板内置网卡(芯片R8168)的问题
- 解决ubuntu中vi不能正常使用方向键与退格键的问题
- 解决ubuntu中vi不能正常使用方向键与退格键的问题
- 解决ubuntu中vi不能正常使用方向键和退格键的问题
- 解决ubuntu中vi不能正常使用方向键与退格键的问题?
- 解决ubuntu 13.04登入系统后触摸板不能使用的问题
- 解决ubuntu中vi不能正常使用方向键与退格键的问题
- 解决Ubuntu Server 12.04 在Hyper-v 2012 R2中不能使用动态内存的问题
- openSUSE上Wiki架设[openSUSE11.4+MediaWiki1.16.4]
- Altium Designer 8.0不为人知的27个技巧
- ubuntu 11.04托盘解禁
- myeclipse for spring里面自动生成视图映射文件时设置问题
- 不知道怎么
- 解决 ubuntu 1104 vm_share不能使用的问题
- ubuntu下安装phpmyadmin的操作
- Camtasia Studio 7使用手册
- 解决Apache+PHP+SQL查询中的乱码问题
- [转]用PNG透明图片和GDI+做不规则透明窗体"异形窗口"
- j2ee开发环境安装
- 0xc000007b解决办法支持列表
- log4cplus 安装
- POJ 2528 hash+interval tree(离散化+线段树)