brektrou / rtl8821CU

Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux
GNU General Public License v2.0
1.59k stars 461 forks source link

Build error on arm64 #101

Open obbardc opened 3 years ago

obbardc commented 3 years ago

any ideas? builds fine on my amd64 pc

rtl8821CU-5.8.1# make
make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/5.9.8/build M=/root/rtl8821CU/rtl8821CU-5.8.1  modules
make[1]: Entering directory '/lib/modules/5.9.8/build'
make[1]: *** No rule to make target 'modules'.  Stop.
make[1]: Leaving directory '/lib/modules/5.9.8/build'
Makefile:2327: recipe for target 'modules' failed
make: *** [modules] Error 2
brektrou commented 3 years ago

Install linux-headers or linux-devel package