How to install VMware Tools in centos 7

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.