I want to install the rtl8192 linux driver in order to use my TP-Link TL-W823N USB adapter but when I execute sudo dkms install rtl8192eu/1.0
then I get gcc
error messages.
$ cat /var/lib/dkms/rtl8192eu/1.0/build/make.log
DKMS make.log for rtl8192eu-1.0 for kernel 6.1.21-v8+ (aarch64)
Thu 16 May 2024 12:30:48 PM CEST
make ARCH=arm CROSS_COMPILE= -C /lib/modules/6.1.21-v8+/build M=/var/lib/dkms/rtl8192eu/1.0/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.21-v8+'
CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o
gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’
gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64
gcc: error: unrecognized command-line option ‘-mapcs’
gcc: error: unrecognized command-line option ‘-mno-sched-prolog’
gcc: error: unrecognized command-line option ‘-msoft-float’
make[2]: * [scripts/Makefile.build:250: /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o] Error 1
make[1]: * [Makefile:2012: /var/lib/dkms/rtl8192eu/1.0/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.21-v8+'
make: * [Makefile:2287: modules] Error 2
My goal is to create a second wifi interface wlan1
.