問題描述:
使用vmware10安裝tools的時候提示如下錯誤:
<pre name="code" class="cpp">/tmp/modconfig-ESluHO/vmhgfs-only/inode.c: In function ‘HgfsPermission’:
/tmp/modconfig-ESluHO/vmhgfs-only/inode.c:1978:34: error: ‘struct dentry’ has no member named ‘d_alias’
/tmp/modconfig-ESluHO/vmhgfs-only/inode.c:1978:34: warning: initialisation from incompatible pointer type [enabled by default]
/tmp/modconfig-ESluHO/vmhgfs-only/inode.c:1978:34: warning: (near initialisation for ‘dentry’) [enabled by default]
/tmp/modconfig-ESluHO/vmhgfs-only/inode.c:1978:34: error: ‘struct dentry’ has no member named ‘d_alias’
CC [M] /tmp/modconfig-ESluHO/vmhgfs-only/request.o
make[2]: *** [/tmp/modconfig-ESluHO/vmhgfs-only/inode.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [module/tmp/modconfig-ESluHO/vmhgfs-only] Error 2
make[1]: Leaving directory /usr/src/linux-headers-3.2.0-76-generic'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory/tmp/modconfig-ESluHO/vmhgfs-only'
解決辦法: