我感觉是vmtools和centos有不兼容问题,手工安装时也报错。
In file included from /tmp/modconfig-Wtlvd7/vmhgfs-only/inode.c:36:0:
/tmp/modconfig-Wtlvd7/vmhgfs-only/inode.c: 在函数‘HgfsPermission’中:
/tmp/modconfig-Wtlvd7/vmhgfs-only/./shared/compat_dcache.h:57:38: 错误:‘struct dentry’没有名为‘d_count’的成员
#define compat_d_count(dentry) dentry->d_count
^
/tmp/modconfig-Wtlvd7/vmhgfs-only/inode.c:1904:23: 附注:in expansion of macro ‘compat_d_count’
int dcount = compat_d_count(dentry);
^
make[2]: *** [/tmp/modconfig-Wtlvd7/vmhgfs-only/inode.o] 错误 1
make[2]: *** 正在等待未完成的任务....
make[1]: *** [_module_/tmp/modconfig-Wtlvd7/vmhgfs-only] 错误 2
make[1]: 离开目录“/usr/src/kernels/3.10.0-123.4.2.el7.x86_64”
make: *** [vmhgfs.ko] 错误 2
make: 离开目录“/tmp/modconfig-Wtlvd7/vmhgfs-only”
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.
看错误信息就是关于hgfs共享文件夹的问题,不知到怎么解决!
In file included from /tmp/modconfig-Wtlvd7/vmhgfs-only/inode.c:36:0:
/tmp/modconfig-Wtlvd7/vmhgfs-only/inode.c: 在函数‘HgfsPermission’中:
/tmp/modconfig-Wtlvd7/vmhgfs-only/./shared/compat_dcache.h:57:38: 错误:‘struct dentry’没有名为‘d_count’的成员
#define compat_d_count(dentry) dentry->d_count
^
/tmp/modconfig-Wtlvd7/vmhgfs-only/inode.c:1904:23: 附注:in expansion of macro ‘compat_d_count’
int dcount = compat_d_count(dentry);
^
make[2]: *** [/tmp/modconfig-Wtlvd7/vmhgfs-only/inode.o] 错误 1
make[2]: *** 正在等待未完成的任务....
make[1]: *** [_module_/tmp/modconfig-Wtlvd7/vmhgfs-only] 错误 2
make[1]: 离开目录“/usr/src/kernels/3.10.0-123.4.2.el7.x86_64”
make: *** [vmhgfs.ko] 错误 2
make: 离开目录“/tmp/modconfig-Wtlvd7/vmhgfs-only”
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.
看错误信息就是关于hgfs共享文件夹的问题,不知到怎么解决!

