mfruba / kernel

152 stars 103 forks source link

Error when "make" #22

Open beratn opened 6 years ago

beratn commented 6 years ago

Hello everyone,ı got error when make

/home/arc/Downloads/clones/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/os_dep/linux/ioctl_cfg80211.c:870:3: error: too many arguments specified for 'cfg80211_roamed' function

cfg80211_roamed(padapter->pnetdev ^~~~~~~ In file included from /home/arc/Downloads/clones/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h:83:0, from /home/arc/Downloads/clones/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h:45, from /home/arc/Downloads/clones/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/drv_types.h:32, from /home/arc/Downloads/clones/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/os_dep/linux/ioctl_cfg80211.c:22: ./include/net/cfg80211.h:5477:6: bilgi: declared here void cfg80211_roamed(struct net_device dev, struct cfg80211_roam_info info, ^~~~~~~ /home/arc/Downloads/clones/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/os_dep/linux/ioctl_cfg80211.c: Üst düzeyde: /home/arc/Downloads/clones/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/os_dep/linux/ioctl_cfg80211.c:6119:25: error: initialization in incompatible pointer type [-Werror=incompatible-pointer-types] .change_virtual_intf = cfg80211_rtw_change_iface, ^~~~~~~~~ /home/arc/Downloads/clones/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/os_dep/linux/ioctl_cfg80211.c:6119:25: bilgi: ('rtw_cfg80211_ops.change_virtual_intf' için near ilklendirme) /home/arc/Downloads/clones/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/os_dep/linux/ioctl_cfg80211.c:6139:22: error: initialization in incompatible pointer type [-Werror=incompatible-pointer-types] .add_virtual_intf = cfg80211_rtw_add_virtual_intf, ^~~~~~~~~

luka-j commented 6 years ago

This pull request should make it compile fine.

Omni-potence commented 3 years ago

go here https://github.com/mfruba/kernel/issues/46#issuecomment-716311539