Make 'Error 2' No such file or directory - Arch
by Sudonix from LinuxQuestions.org on (#5NPDF)
Hello, all. Intermediately-experienced Arch user here with somewhat of a noobish situation. I have recently picked up a Linksys Wi-Fi USB dongle for my desktop as I am currently without ethernet. I was able to find open source drivers online for my particular dongle (model WUSB6300) and have tried to compile them. I have been following one user's tutorial here and the Github repo here. The instructions simply say to cd into the directory and execute 'make', but upon doing so, I get returned the following error:
Code:make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.13.12-arch1-1/build M=/home/sudonik/sources/rtl8812AU_8821AU_linux modules
make[1]: *** /lib/modules/5.13.12-arch1-1/build: No such file or directory. Stop.
make: *** [Makefile:1622: modules] Error 2After doing some research, this error seems to be due to either an incorrect directory location or missing dependencies. (Perhaps I'm missing some optional make dependencies?) I updated my system from a temporary Internet source earlier just to be sure nothing was wrong with make, but it's the same error. I'm not sure what my system would be missing and the error isn't telling me much. I looked at the Makefile itself to see if there was anything directory-wise that needed changing, but I saw nothing in particular. As this repo is a fork, I also tried downloading other variations of this driver, but it still results in the same error.
Any ideas? Thanks!
Code:make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.13.12-arch1-1/build M=/home/sudonik/sources/rtl8812AU_8821AU_linux modules
make[1]: *** /lib/modules/5.13.12-arch1-1/build: No such file or directory. Stop.
make: *** [Makefile:1622: modules] Error 2After doing some research, this error seems to be due to either an incorrect directory location or missing dependencies. (Perhaps I'm missing some optional make dependencies?) I updated my system from a temporary Internet source earlier just to be sure nothing was wrong with make, but it's the same error. I'm not sure what my system would be missing and the error isn't telling me much. I looked at the Makefile itself to see if there was anything directory-wise that needed changing, but I saw nothing in particular. As this repo is a fork, I also tried downloading other variations of this driver, but it still results in the same error.
Any ideas? Thanks!