New books are available, east and west. Finally, they are almost done. After vmware10 was installed, a new centos7 virtual machine was created immediately, and everything went well. However, when VMware Tools was installed, it went west. The following error was reported during file sharing Compilation:
In file encoded ded from/tmp/modconfig-2MHZ0W/vmhgfs-only/inode. C: 36: 0:
/Tmp/modconfig-2MHZ0W/vmhgfs-only/inode. C: In function 'hgfspermission ':
/Tmp/modconfig-2MHZ0W/vmhgfs-only/./shared/compat_dcache.h: 57: 38: Error: 'struct dentry 'has no member named 'd _ count'
# Define compat_d_count (dentry) dentry-> d_count
^
/Tmp/modconfig-2MHZ0W/vmhgfs-only/inode. C: 1904: 23: Note: In expansion of macro 'compat _ d_count'
Int dcount = compat_d_count (dentry );
After the installation is complete,/mnt/HGFS cannot see the directory shared by the host ..... It's okay to have a dog.
According to others' descriptions, go to the/tmp/vmware-tools-distrib/lib/modules/sourcedirectory, decompress vmhgfs.tar, modify the decompressed shared/compat_dcache.h ,,, change the version number of line 54 if linux_version_code> = kernel_version (3, 11, 0) to 3, 10... Re-package it into vmhgfs.tar, and then install it ........
Dare to make a snapshot to go to bed .....
When I woke up, I got used to the interface B4 7.
How to install VMware Tools in centos 7