Install kernel headers and kernel developmental tool in Fedora
Give the uname -r and copy the kernel version and fedora version
Ex. # uname -r
4.8.6-300.fc22.i686
Copy "4.8.6-300.fc22.i686" and replace in the below command instead of 'uname -r' dnf install kernel-headers- `uname -r` kernel-devel- `uname -r`