Upgrading the PCIe Driver After the Kernel Upgrade
Symptom
After the kernel is upgraded, a message indicating that the header file is missing appears during PCIe driver compilation. See Figure 3-41.
Cause Analysis
The corresponding devel package is not upgraded after the kernel upgrade.
Solution
Download the kernel-devel package from the Red Hat website and run the rpm -ivh kernel-devel -XX.rpm -nodeps command to install the kernel-devel package. Then recompile the PCIe driver.