Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ioctl_cfg80211 error #7

Open
deyloTT opened this issue Dec 5, 2020 · 1 comment
Open

ioctl_cfg80211 error #7

deyloTT opened this issue Dec 5, 2020 · 1 comment

Comments

@deyloTT
Copy link

deyloTT commented Dec 5, 2020

I have successfully compiled this module on two other samsung devices. While trying to compile the driver for a samsung tab 4, i get errors as follows:

CC [M] /home/owner/Downloads/kernel/rtl8188eus/os_dep/linux/ioctl_cfg80211.o
/home/owner/Downloads/kernel/rtl8188eus/os_dep/linux/ioctl_cfg80211.c:5255:44: warning: 'struct station_del_parameters' declared inside parameter list [enabled by default]
struct station_del_parameters *params)
^
/home/owner/Downloads/kernel/rtl8188eus/os_dep/linux/ioctl_cfg80211.c:5255:44: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/owner/Downloads/kernel/rtl8188eus/os_dep/linux/ioctl_cfg80211.c: In function 'cfg80211_rtw_del_station':
/home/owner/Downloads/kernel/rtl8188eus/os_dep/linux/ioctl_cfg80211.c:5267:21: error: dereferencing pointer to incomplete type
target_mac = params->mac;
^
/home/owner/Downloads/kernel/rtl8188eus/os_dep/linux/ioctl_cfg80211.c: At top level:
/home/owner/Downloads/kernel/rtl8188eus/os_dep/linux/ioctl_cfg80211.c:9361:2: warning: initialization from incompatible pointer type [enabled by default]
.del_station = cfg80211_rtw_del_station,
^
/home/owner/Downloads/kernel/rtl8188eus/os_dep/linux/ioctl_cfg80211.c:9361:2: warning: (near initialization for 'rtw_cfg80211_ops.del_station') [enabled by default]
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
/home/owner/Downloads/kernel/tab/scripts/Makefile.build:307: recipe for target '/home/owner/Downloads/kernel/rtl8188eus/os_dep/linux/ioctl_cfg80211.o' failed
make[4]: *** [/home/owner/Downloads/kernel/rtl8188eus/os_dep/linux/ioctl_cfg80211.o] Error 1
/home/owner/Downloads/kernel/tab/Makefile:1379: recipe for target 'module/home/owner/Downloads/kernel/rtl8188eus' failed
make[3]: *** [module/home/owner/Downloads/kernel/rtl8188eus] Error 2
Makefile:130: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:26: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/owner/Downloads/kernel/out'
Makefile:2047: recipe for target 'modules' failed
make: *** [modules] Error 2

@matteo0026
Copy link

Fix: ripunk@f236fb2

It's enough to copy the changes of file os_dep/linux/ioctl_cfg80211.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants