Closed bazeon closed 1 year ago
same error on my machine. did you find any solution?
You need the 5.8.7 branch/tag:
https://github.com/fastoe/RTL8812BU#for-kernel-511-or-later-please-clone-the-v587-branch
try that and see if it helps.
You need the 5.8.7 branch/tag:
https://github.com/fastoe/RTL8812BU#for-kernel-511-or-later-please-clone-the-v587-branch
try that and see if it helps.
Not works on 5.18
The error persists even with the 5.8.7 branch
error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration] 1302 | complete_and_exit(comp, 0); | ^~~~~~~~~~~~~~~~~ /home/galmeida/RTL8812BU/os_dep/osdep_service.c: In function ‘rtw_change_ifname’: /home/galmeida/RTL8812BU/os_dep/osdep_service.c:2564:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2564 | _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN); | ~~~~~~~^~~~~~~~~~ /home/galmeida/RTL8812BU/os_dep/osdep_service.c:922:24: note: expected ‘void *’ but argument is of type ‘const unsigned char *’ 922 | void _rtw_memcpy(void *dst, const void *src, u32 sz) | ~~~~~~^~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:288: /home/galmeida/RTL8812BU/os_dep/osdep_service.o] Erro 1 make[1]: *** [Makefile:1837: /home/galmeida/RTL8812BU] Erro 2 make[1]: Saindo do diretório '/usr/src/linux-headers-5.17.15-76051715-generic' make: *** [Makefile:2390: modules] Erro 2
Did anyone find a solution to this? Having the same err on kernel 5.18
Think I have found a working driver repo https://github.com/morrownr/88x2bu-20210702 Still using kernel 5.18 (Kali), using the TPLink Archer T3U USB Wifi Adapter
It didn't work for me. 5.17.5-76051705-generic
This driver https://github.com/morrownr/88x2bu-20210702 works.
Running make on kernel 5.17 results in the following
fredrik@pop-os:~/RTL8812BU-5.8.7$ make make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.17.5-76051705-generic/build M=/home/fredrik/RTL8812BU-5.8.7 modules make[1]: Entering directory '/usr/src/linux-headers-5.17.5-76051705-generic' CC [M] /home/fredrik/RTL8812BU-5.8.7/os_dep/osdep_service.o /home/fredrik/RTL8812BU-5.8.7/os_dep/osdep_service.c: In function ‘thread_exit’: /home/fredrik/RTL8812BU-5.8.7/os_dep/osdep_service.c:1302:9: error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration] 1302 | complete_and_exit(comp, 0); | ^
~~~~ /home/fredrik/RTL8812BU-5.8.7/os_dep/osdep_service.c: In function ‘rtw_change_ifname’: /home/fredrik/RTL8812BU-5.8.7/os_dep/osdep_service.c:2564:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2564 | _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN); |~^~~~ /home/fredrik/RTL8812BU-5.8.7/os_dep/osdep_service.c:922:24: note: expected ‘void ’ but argument is of type ‘const unsigned char ’ 922 | void _rtw_memcpy(void dst, const void src, u32 sz) |~~^~~ cc1: some warnings being treated as errors make[2]: [scripts/Makefile.build:288: /home/fredrik/RTL8812BU-5.8.7/os_dep/osdep_service.o] Error 1 make[1]: [Makefile:1837: /home/fredrik/RTL8812BU-5.8.7] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.17.5-76051705-generic' make: *** [Makefile:2390: modules] Error 2