-4

This question is an exact duplicate of:

I downloaded the drivers for linux from Tp Link website but when I try to run 'make' command to compile them I get the following error:

"NO SKRC,we will use default KSRC"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.13.0-kali1-amd64/build M=/root/Documents/rtl8814AU_linux_v4.3.17_13720.20150622_beta_led  modules
make[1]: *** /lib/modules/4.13.0-kali1-amd64/build: No such file or directory.  Stop.
Makefile:1635: recipe for target 'modules' failed
make: *** [modules] Error 2

I will be grateful if somebody helps. Thank you in advance!

marked as duplicate by Hunter.S.Thompson, Stephen Rauch, Jeff Schaller, G-Man, GAD3R Dec 4 '17 at 7:13

This question was marked as an exact duplicate of an existing question.

0

/lib/modules/4.13.0-kali1-amd64/build should be a symbolic link, pointing to the kernel source code from which 4.13.0-kali1-amd64 was compiled.

Typically, most distributions have a "kernel-source" or similar package which contains this source. Install it.

My opinion is that kernel compilation should be better if it is done from your distribution independently.

Not the answer you're looking for? Browse other questions tagged or ask your own question.