Bug ID 1195582
Summary error in WLAN-module
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.3
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter kl_schmidt@gmx.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

I loaded a WLAN-driver from Github with:
git clone https://github.com/Mange/rtl8192eu-linux-driver

When I started make, I got the following error message:
  CC [M] 
/h/klaus/driver-WLAN/rtl8192eu-linux-driver/os_dep/linux/ioctl_cfg80211.o
/h/klaus/driver-WLAN/rtl8192eu-linux-driver/os_dep/linux/ioctl_cfg80211.c:9924:3:
error: ���������struct cfg80211_ops��������� has no member named ���������mgmt_frame_register���������
  .mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
   ^~~~~~~~~~~~~~~~~~~
/h/klaus/driver-WLAN/rtl8192eu-linux-driver/os_dep/linux/ioctl_cfg80211.c:9924:25:
error: initialization from incompatible pointer type
[-Werror=incompatible-pointer-types]
  .mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/h/klaus/driver-WLAN/rtl8192eu-linux-driver/os_dep/linux/ioctl_cfg80211.c:9924:25:
note: (near initialization for ���������rtw_cfg80211_ops.mgmt_tx_cancel_wait���������)
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-5.3.18-150300.59.43/scripts/Makefile.build:288:
/h/klaus/driver-WLAN/rtl8192eu-linux-driver/os_dep/linux/ioctl_cfg80211.o]
Fehler 1
make[2]: *** [/usr/src/linux-5.3.18-150300.59.43/Makefile:1675:
_module_/h/klaus/driver-WLAN/rtl8192eu-linux-driver] Fehler 2
make[1]: *** [../../../linux-5.3.18-150300.59.43/Makefile:179: sub-make] Fehler
2
make[1]: Verzeichnis ���������/usr/src/linux-5.3.18-150300.59.43-obj/x86_64/default���������
wird verlassen
make: *** [Makefile:2287: modules] Fehler 2

and the warnings:
  CC [M]  /h/klaus/driver-WLAN/rtl8192eu-linux-driver/core/rtw_mlme_ext.o
/h/klaus/driver-WLAN/rtl8192eu-linux-driver/core/rtw_mlme_ext.c: In function
���������mgt_dispatcher���������:
/h/klaus/driver-WLAN/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:1345:17:
warning: this statement may fall through [-Wimplicit-fallthrough=]
    ptable->func = &OnAuthClient;
    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/h/klaus/driver-WLAN/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:1351:2: note:
here
  case IEEE80211_STYPE_ASSOC_REQ:
  ^~~~

Under Debian, a compilation got no problems!


You are receiving this mail because: