View the log file,
Cat/tmp/vmware-xiuyuan/vmware-modconfig-9996.log | More
There are a few lines in the log file:
Setting header path for 3.7.2-204.fc18.x86_64 to "/lib/modules/3.7.2-204.fc18.x86_64/build/include".
Validating path "/lib/modules/3.7.2-204.fc18.x86_64/build/include" for kernel release "3.7.2-204.fc18.x86_64".
Failed to Find/lib/modules/3.7.2-204.fc18.x86_64/build/include/linux/version.h
Failed version test:/lib/modules/3.7.2-204.fc18.x86_64/build/include/linux/version.h not found.
It is not difficult to see, because of the lack of version.h files.
So just need
Copy/usr/include/linux/version.h to/lib/modules/3.7.2-204.fc18.x86_64/build/include/linux/directory
sudo cp/usr/include/linux/version.h/lib/modules/3.7.2-204.fc18.x86_64/build/include/linux/
Or
sudo ln-s/usr/include/linux/version.h/lib/modules/3.7.2-204.fc18.x86_64/build/include/linux/
You may not find the/lib/modules/3.7.2-204.fc18.x86_64/build/include/linux/directory, you can install the kernel header at this time
Yum Install kernel kernel-headers kernel-devel
And then execute the above procedure.
Linux installation vmware Kernel-header problem