brandon-bailey / rtl8822bu

RTL8822BU Wireless Driver for Linux
61 stars 220 forks source link

No compiling on OpenSUSE 15.1 #23

Open r78v10a07 opened 4 years ago

r78v10a07 commented 4 years ago

Hi I have OpenSuSE 15.1 fresh install and the compilation gives this error:

/home/veraalva/rtl8822bu/os_dep/linux/os_intfs.c:1174:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .ndo_select_queue = rtw_select_queue,
                      ^~~~~~~~~~~~~~~~
/home/veraalva/rtl8822bu/os_dep/linux/os_intfs.c:1174:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-4.12.14-lp151.28.20/scripts/Makefile.build:325: /home/veraalva/rtl8822bu/os_dep/linux/os_intfs.o] Error 1
make[3]: *** [/usr/src/linux-4.12.14-lp151.28.20/Makefile:1569: _module_/home/veraalva/rtl8822bu] Error 2
make[2]: *** [Makefile:152: sub-make] Error 2
make[1]: *** [Makefile:24: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.12.14-lp151.28.20-obj/x86_64/default'
make: *** [Makefile:1318: modules] Error 2

Kernel: Linux version 4.12.14-lp151.28.20-default (geeko@buildhost) (gcc version 7.4.1 20190424 [gcc-7-branch revision 270538] (SUSE Linux) ) #1 SMP Tue Oct 8 05:42:34 UTC 2019 (2982b5d)

GCC: gcc (SUSE Linux) 7.4.1 20190424 [gcc-7-branch revision 270538]

maxdarque commented 4 years ago

I have no affiliation with this project and am by no means an expert when it comes to linux drivers.....But you could maybe try this version:

https://github.com/cilynx/rtl88x2BU