i follow every step i found here and in different website no luck getting my card to work
this happen after i update my kali
so i install the drivers and i always get the same error
i try kali linux 2019 to 2024 same problem
┌──(root㉿kali)-[~]
└─# git clone https://github.com/aircrack-ng/rtl8812au.git
Cloning into 'rtl8812au'...
remote: Enumerating objects: 11318, done.
remote: Counting objects: 100% (2326/2326), done.
remote: Compressing objects: 100% (254/254), done.
remote: Total 11318 (delta 2135), reused 2103 (delta 2072), pack-reused 8992
Receiving objects: 100% (11318/11318), 77.81 MiB | 2.99 MiB/s, done.
Resolving deltas: 100% (7845/7845), done.
┌──(root㉿kali)-[~]
└─# rtl8812au
┌──(root㉿kali)-[~/rtl8812au]
└─# ls
android docs Kconfig os_dep ReleaseNotes.pdf
core hal LICENSE platform save-log.sh
dkms.conf include Makefile README.md tools
┌──(root㉿kali)-[~/rtl8812au]
└─# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.18.0-kali5-amd64/build M=/root/rtl8812au modules
make[1]: *** /lib/modules/5.18.0-kali5-amd64/build: No such file or directory. Stop.
make: *** [Makefile:1730: modules] Error 2
how to fix it