Open jmsal79 opened 5 years ago
This is due to changes in Kernel 4.11. There have been several breaking changes since then as well. I have a version of this driver patched up to work through Kernel 4.19 here:
https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959
I hope you can help me, I am trying to compile the driver this is the error:
root@raspberrypi:/tmp/rtl8822bu# cat /etc/os-release | head -1 PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" root@raspberrypi:/tmp/rtl8822bu# uname -r 4.14.90-v7+ root@raspberrypi:/tmp/rtl8822bu# grep CONFIG_PLATFORM_ARM_RPI Makefile CONFIG_PLATFORM_ARM_RPI = y ifeq ($(CONFIG_PLATFORM_ARM_RPI), y) root@raspberrypi:/tmp/rtl8822bu# make make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.14.90-v7+/build M=/tmp/rtl8822bu modules make[1]: Entering directory '/root/linux-6d68e517b3ec73b08f3af96f5859c5d083b66535' CC [M] /tmp/rtl8822bu/core/rtw_cmd.o In file included from /tmp/rtl8822bu/include/drv_types.h:32:0, from /tmp/rtl8822bu/core/rtw_cmd.c:22: /tmp/rtl8822bu/include/osdep_service.h: In function ‘thread_enter’: /tmp/rtl8822bu/include/osdep_service.h:345:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration] allow_signal(SIGTERM); ^
~~~ /tmp/rtl8822bu/include/osdep_service.h: In function ‘flush_signals_thread’: /tmp/rtl8822bu/include/osdep_service.h:355:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration] if (signal_pending(current)) ^~~~~~ /tmp/rtl8822bu/include/osdep_service.h:356:3: error: implicit declaration of function ‘flush_signal ’ [-Werror=implicit-function-declaration] flush_signals(current); ^~~~~ cc1: some warnings being treated as errors scripts/Makefile.build:326: recipe for target '/tmp/rtl8822bu/core/rtw_cmd.o' failed make[2]: [/tmp/rtl8822bu/core/rtw_cmd.o] Error 1 Makefile:1532: recipe for target 'module/tmp/rtl8822bu' failed make[1]: [module/tmp/rtl8822bu] Error 2 make[1]: Leaving directory '/root/linux-6d68e517b3ec73b08f3af96f5859c5d083b66535' Makefile:1318: recipe for target 'modules' failed make: *** [modules] Error 2 root@raspberrypi:/tmp/rtl8822bu#