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

Armbian Buster on aarch64 (Rock64 dev board) error compiling. #104

Open stamasd opened 3 years ago

stamasd commented 3 years ago

uname -a Linux rock64 5.8.16-rockchip64 #20.08.14 SMP PREEMPT Tue Oct 20 22:37:51 CEST 2020 aarch64 GNU/Linux

gcc -v (snip) gcc version 8.3.0 (Debian 8.3.0-6)

make make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/5.8.16-rockchip64/build M=/home/silviu/rtl8821cu/rtl8821CU modules make[1]: Entering directory '/usr/src/linux-source-5.8.16-rockchip64' CC [M] /home/silviu/rtl8821cu/rtl8821CU/core/rtw_cmd.o gcc: error: unrecognized command line option ‘-mbranch-protection=pac-ret+leaf’; did you mean ‘-fcf-protection=return’? gcc: error: unrecognized command line option ‘-mstack-protector-guard=sysreg’; did you mean ‘-fstack-protector-strong’? gcc: error: unrecognized command line option ‘-mstack-protector-guard-reg=sp_el0’; did you mean ‘-fstack-protector-all’? gcc: error: unrecognized command line option ‘-mstack-protector-guard-offset=1192’; did you mean ‘-fstack-protector-strong’?