When installing VMware Tools, the system prompts that C header files cannot be found.
In this case, follow these steps.
1. After the kernel is installed, use this command to determine the installation directory of the kernel C header:
Ls-D/usr/src/kernels/$ (uname-R) */include
2. view the kernel version:
[Root @ localhost ~] # Uname-R
2.6.25-14. fc9.i686
3. Check whether kernel-devel is installed.
[Root @ localhost ~] # Rpm-Q kernel-devel
Package kernel-devel Is Not Installed
4. if not installed, find the corresponding kernel-devel from the Internet, such as kernel-devel-2.6.25-14.fc9.i686.rpm download.
5. install kernel-devel [root @ localhost Home] # rpm-IVH kernel-devel-2.6.25-14.fc9.i686.rpm [root @ localhost Home] # rpm-Q kernel-develkernel-devel-2.6.25-14.fc9.i686 even so, it is still possible that C headers cannot be found !!!!!!
The solution is as follows:
Open Linux/version. h and check that the content is:
# Define linux_version_code 132633
# Define kernel_version (A, B, C) (a) <16) + (B) <8) + (c ))
Again, the version read by Vmware, uts_release! Add a line to Linux/version. h:
# Define uts_release "2.6.25-14. fc9.i686"
# Define linux_version_code 132633
# Define kernel_version (A, B, C) (a) <16) + (B) <8) + (c ))
VMware finally believes that the version of the kernel header file provided by dorainm matches.