brandon-bailey / rtl8822bu

RTL8822BU Wireless Driver for Linux
61 stars 220 forks source link

Failed compiling on Manjaro 5.15.81-1 #29

Open atalatable opened 1 year ago

atalatable commented 1 year ago

Hello,

I have trouble compiling and I am not sure about what to do. Here is the error message when doing make

make[1]: Entering directory '/usr/lib/modules/5.15.81-1-MANJARO/build'
  CC [M]  /home/kenny/Downloads/rtl8822bu/core/rtw_cmd.o
In file included from /home/kenny/Downloads/rtl8822bu/include/osdep_service.h:41,
                 from /home/kenny/Downloads/rtl8822bu/include/drv_types.h:32,
                 from /home/kenny/Downloads/rtl8822bu/core/rtw_cmd.c:22:
/home/kenny/Downloads/rtl8822bu/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/kenny/Downloads/rtl8822bu/include/osdep_service_linux.h:257:15: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  257 |         ptimer->data = (unsigned long)cntx;
      |               ^~
/home/kenny/Downloads/rtl8822bu/include/osdep_service_linux.h:258:9: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  258 |         init_timer(ptimer);
      |         ^~~~~~~~~~
      |         _init_timer
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:289: /home/kenny/Downloads/rtl8822bu/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1900: /home/kenny/Downloads/rtl8822bu] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.15.81-1-MANJARO/build'
make: *** [Makefile:1318: modules] Error 2