Quote Originally Posted by _defalt View Post
Kali doesn't use generic headers.
The require command in kali is sudo apt-get install linux-headers-$(uname -r)

The one you mentioned is also same.

generic-headers are available for ubuntu
sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.9.0-kali3-amd64
E: Couldn't find any package by glob 'linux-headers-4.9.0-kali3-amd64'
E: Couldn't find any package by regex 'linux-headers-4.9.0-kali3-amd64'