rtl8812au icon indicating copy to clipboard operation
rtl8812au copied to clipboard

Error during make for raspberry pi

Open felixgalindo opened this issue 6 years ago • 4 comments

pi@raspberrypi:~/rtl8812au $ make make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.9.24-v7+/build M=/home/pi/rtl8812au modules make[1]: Entering directory '/lib/modules/4.9.24-v7+/build' make[1]: *** No rule to make target 'modules'. Stop. make[1]: Leaving directory '/lib/modules/4.9.24-v7+/build' Makefile:1052: recipe for target 'modules' failed make: *** [modules] Error 2

pi@raspberrypi:~/rtl8812au $ uname -a Linux raspberrypi 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l GNU/Linux

felixgalindo avatar Dec 05 '17 18:12 felixgalindo

Do you have the kernel-headers installed?

kimocoder avatar Dec 05 '17 18:12 kimocoder

Not sure how to install them.

felixgalindo avatar Dec 05 '17 18:12 felixgalindo

"sudo apt-get install raspberrypi-kernel-headers" ?

felixgalindo avatar Dec 05 '17 18:12 felixgalindo

That solved it thanks.

felixgalindo avatar Dec 05 '17 22:12 felixgalindo