If you are using Oracle Linux, check if the Oracle Unbreakable Enterprise Kernel (UEK) is used or not:

The following output is an example for an UEK in use:

# uname -r
3.8.13-118.14.2.el7uek.x86_64

This is a non-UEK:

# uname -r
3.10.0-514.el7.x86_64

On Oracle UEK start with:

# sudo yum install kernel-uek-devel.x86_64

Then install package with:

# sudo rpm -i --nodeps [package]

On RHEL, CentOS, Fedora or Oracle non-UEK start with:

$ sudo yum install "kernel-devel-uname-r == $(uname -r)"