I have been trying to install wifi adapter to my kali linux but i encounter the error below.

Loading new rtl8814au-5.8.5.1 DKMS files...
Building for 5.15.0-kali2-amd64
Building initial module for 5.15.0-kali2-amd64
Error! Build of 8814au.ko failed for: 5.15.0-kali2-amd64 (x86_64)
Make sure the name of the generated module is correct and at the root of the
build directory, or consult make.log in the build directory
/var/lib/dkms/rtl8814au/5.8.5.1/build/ for more information.
dpkg: error processing package rtl8814au-dkms (--configure):
installed rtl8814au-dkms package post-installation script subprocess returned e
rror exit status 7
Errors were encountered while processing:
rtl8814au-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)