In order to fix the issue simply perform below mentioned steps.
Copy your CD to the directory.
You have to go for vmware-tools-distrib/lib/modules/source and run below mentioned commands.
Code:
mkdir tmp
cd tmp
tar xvf ../vmhgfs.tar
you have to edit vmhgfs-only/nano filesystem.c and look for compat_d_alloc_name.
you have to replace the same with below mentioned code.
Code:
//rootDentry = compat_d_alloc_name(NULL, "/");
struct qstr qs;
qs.name = "/";
qs.len = strlen ("/");
qs.hash = full_name_hash ("/",strlen("/"));
rootDentry = d_alloc_pseudo(sb, &qs);
also edit out (not needed now)
//rootDentry->d_parent = rootDentry;
//rootDentry->d_sb = sb;
You have to execute below mentioned command
Code:
tar -cf ../vmhgfs.tar *
now go for further and reinstall the vmware-install.pl.
Bookmarks