Q. Iâ€™ve CentOS 5 installed under vmware. When I run following command:
It asks about Linux kernel headers to build custom headers.
How do I fix this problem?
A. You donâ€™t have development package for building kernel modules to match the kernel. It is required to build 3rd party modules such as vmware or graphics card drivers.
There is a package called kernel-devel. This package provides kernel headers and makefiles sufficient to build modules against the kernel package.
Login as the root, and use yum command to install the same:
# yum install kernel-devel
Now you should able to build kernel modules.Share this tutorial on: