When I try to do make according to the README file I get this error:
CC [M] /home/user/Downloads/rtw88_8723de-master/rtw8822b.o
In file included from /usr/src/linux-headers-4.19.0-12-common/include/asm-generic/bug.h:18,
from /usr/src/linux-headers-4.19.0-12-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.19.0-12-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.19.0-12-common/include/net/mac80211.h:19,
from /home/user/Downloads/rtw88_8723de-master/main.h:8,
from /home/user/Downloads/rtw88_8723de-master/rtw8822b.c:5:
/usr/src/linux-headers-4.19.0-12-common/include/linux/kernel.h:72:25: error: expected declaration specifiers or ‘...’ before ‘(’ token
Hi,
Debian 10.6 Linux 4.19.0-12-amd64 x86_64
Thank you very much for this driver.
When I try to do make according to the README file I get this error:
CC [M] /home/user/Downloads/rtw88_8723de-master/rtw8822b.o In file included from /usr/src/linux-headers-4.19.0-12-common/include/asm-generic/bug.h:18, from /usr/src/linux-headers-4.19.0-12-common/arch/x86/include/asm/bug.h:83, from /usr/src/linux-headers-4.19.0-12-common/include/linux/bug.h:5, from /usr/src/linux-headers-4.19.0-12-common/include/net/mac80211.h:19, from /home/user/Downloads/rtw88_8723de-master/main.h:8, from /home/user/Downloads/rtw88_8723de-master/rtw8822b.c:5:
/usr/src/linux-headers-4.19.0-12-common/include/linux/kernel.h:72:25: error: expected declaration specifiers or ‘...’ before ‘(’ token
define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
/home/user/Downloads/rtw88_8723de-master/rtw8822b.c:2255:15: note: in expansion of macro ‘ARRAY_SIZE’ static_assert(ARRAY_SIZE(rf_para_tx_8822b) == ARRAY_SIZE(rf_para_rx_8822b)); ^
~~~~~ make[4]: [/usr/src/linux-headers-4.19.0-12-common/scripts/Makefile.build:309: /home/user/Downloads/rtw88_8723de-master/rtw8822b.o] Fehler 1 make[3]: [/usr/src/linux-headers-4.19.0-12-common/Makefile:1565: module/home/user/Downloads/rtw88_8723de-master] Fehler 2 make[2]: [Makefile:146: sub-make] Fehler 2 make[1]: [Makefile:8: all] Fehler 2 make[1]: Verzeichnis „/usr/src/linux-headers-4.19.0-12-amd64“ wird verlassen make: *** [Makefile:44: all] Fehler 2Could you please help me with this problem? I am relative new to Linux.
Thank you