Ok, that looks as if you haven't installed kernel-devel and a few others. Some advise installing the entire development tools group, but, as I'm not a developer, I usually start with something like
yum install gcc gcc-c++ make automake kernel-devel
This pulls in several other things too. (And some of those may pull in others, I've never cared enough to research that one fully.)
If you do decide you want the entire development tools package you can do
yum install @development-tools
(or more traditionally)
yum groupinstall 'Development Tools'