make[1]: *** /lib/modules/4.0.0-kali1-amd64/build: No such file or directory. Stop.
Try making this directory if you are using kali live
Code:
mkdir /lib/modules/$(uname -r)/build -f
Most probably it should exist if you are using installed version of kali linux.
Run this if you are using installed kali
Code:
sudo apt-get update
sudo apt-get dist-upgrade
reboot
sudo apt-get install linux-headers-$(uname -r)
reboot