brektrou / rtl8821CU

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

error on new 64bit raspbian(5.10.92-v8+) and fixes #159

Closed thetrashyNoob27 closed 2 years ago

thetrashyNoob27 commented 2 years ago

problem 1: Makefile:682: arch/aarch64/Makefile: No such file or directory solution: sudo ln -s /usr/src/linux-headers-5.10.92-v8+/arch/arm64/ /usr/src/linux-headers-5.10.92-v8+/arch/aarch64

problem 2: gcc: error: unrecognized command-line option ‘-mhard-float’
solution: in file rtl8821CU/Makefile line 1216: EXTRA_CFLAGS += -mhard-float disable it.

thetrashyNoob27 commented 2 years ago

wow,turns out i been working with older version of this(like 2020.10). new code working fine.