lwfinger / rtl8723bu

Driver for RTL8723BU
283 stars 143 forks source link

/lib/modules/4.19.42-v7+/build -- rasbian stretch #142

Closed raspi-GitHub closed 5 years ago

raspi-GitHub commented 5 years ago

Hi,

it's based on an installed version from: .. Feb/4/2018 -rw-r--r-- 1 pi pi 8659 Feb 4 2018 Makefile

and I got it compiled from this on til now, never chaned anything, but now - think rasbian was upgraded to /4.19.42-v7+/ and I get the following errors:

make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.19.42-v7+/build M=/home/pi/git/rtl8723bu modules make[1]: Entering directory '/usr/src/linux-headers-4.19.42-v7+' CC [M] /home/pi/git/rtl8723bu/os_dep/os_intfs.o In file included from /home/pi/git/rtl8723bu/include/drv_types.h:35:0, from /home/pi/git/rtl8723bu/os_dep/os_intfs.c:22: /home/pi/git/rtl8723bu/include/wifi.h:831:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined

define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24:0, from /home/pi/git/rtl8723bu/include/osdep_service_linux.h:74, from /home/pi/git/rtl8723bu/include/osdep_service.h:40, from /home/pi/git/rtl8723bu/include/drv_types.h:32, from /home/pi/git/rtl8723bu/os_dep/os_intfs.c:22: ./include/linux/ieee80211.h:1442:0: note: this is the location of the previous definition

define IEEE80211_MAX_AMPDU_BUF 0x100

/home/pi/git/rtl8723bu/os_dep/os_intfs.c:699:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .ndo_select_queue = rtw_select_queue, . ^~~~ /home/pi/git/rtl8723bu/os_dep/os_intfs.c:699:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’) /home/pi/git/rtl8723bu/os_dep/os_intfs.c:1848:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .ndo_select_queue = rtw_select_queue, . ^~~~ /home/pi/git/rtl8723bu/os_dep/os_intfs.c:1848:22: note: (near initialization for ‘rtw_netdev_if2_ops.ndo_select_queue’) cc1: some warnings being treated as errors scripts/Makefile.build:303: recipe for target '/home/pi/git/rtl8723bu/os_dep/os_intfs.o' failed make[2]: [/home/pi/git/rtl8723bu/os_dep/os_intfs.o] Error 1 Makefile:1524: recipe for target 'module/home/pi/git/rtl8723bu' failed make[1]: [module/home/pi/git/rtl8723bu] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.19.42-v7+' Makefile:322: recipe for target 'modules' failed make: *** [modules] Error 2

is there a fix for? seems the sources on github haven't changed for a while

regards

raspi-GitHub commented 5 years ago

just downloaded sources again $:> git clone https://github.com/lwfinger/rtl8723bu.git $:> cd rtl8723bu $:> make

got it compiled ?

CC [M] /home/pi/git/tmp/rtl8723bu/hal/odm_RegConfig8723B.o CC [M] /home/pi/git/tmp__/rtl8723bu/hal/HalPhyRf_8723B.o CC [M] /home/pi/git/tmp/rtl8723bu/hal/odm_RTL8723B.o CC [M] /home/pi/git/tmp__/rtl8723bu/platform/platform_ops.o LD [M] /home/pi/git/tmp/rtl8723bu/8723bu.o Building modules, stage 2. MODPOST 1 modules CC /home/pi/git/tmp/rtl8723bu/8723bu.mod.o LD [M] /home/pi/git/tmp__/rtl8723bu/8723bu.ko make[1]: Leaving directory '/usr/src/linux-headers-4.19.42-v7+'

raspi-GitHub commented 5 years ago

you may keep this for information purpose - or close it

sorry / thanks