I have had several issue rebuilding the MPSS on Centos 7/RHEL and later here is a proposed change to the manual to fix it.
Problem Symptoms: Are that in section
yum install kernel-headers kernel-devel
Does not install all of the right source and the build will fail.
This command should be used in it's place
sudo yum install "kernel-devel-uname-r == $(uname -r)"
This will put everything in the right place under
/lib/moduale/(uname -r)/build (which is a link)