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

Makefile build error #19

Open
velomeister opened this issue Jul 12, 2020 · 0 comments
Open

Makefile build error #19

velomeister opened this issue Jul 12, 2020 · 0 comments

Comments

@velomeister
Copy link

Command was executed with the following configuration:

$ uname -a
Linux kali 5.7.0-kali1-amd64 #1 SMP Debian 5.7.6-1kali2 (2020-07-01) x86_64 GNU/Linux
$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.7.0-kali1-amd64/build M=/home/kali/Downloads/RTL8192EU  modules
make[1]: Entering directory '/usr/src/linux-headers-5.7.0-kali1-amd64'
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_cmd.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_security.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_debug.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_io.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_ioctl_query.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_ioctl_set.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_ieee80211.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_mlme.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_mlme_ext.o
/home/kali/Downloads/RTL8192EU/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/home/kali/Downloads/RTL8192EU/core/rtw_mlme_ext.c:1638:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1638 |   if (MLME_IS_AP(padapter))
      |      ^
/home/kali/Downloads/RTL8192EU/core/rtw_mlme_ext.c:1643:2: note: here
 1643 |  case WIFI_ASSOCREQ:
      |  ^~~~
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_mi.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_wlan_util.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_vht.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_pwrctrl.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_rf.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_recv.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_sta_mgt.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_ap.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_xmit.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_p2p.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_rson.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_tdls.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_br_ext.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_iol.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_sreset.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_btcoex_wifionly.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_btcoex.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_beamforming.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/rtw_odm.o
  CC [M]  /home/kali/Downloads/RTL8192EU/core/efuse/rtw_efuse.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/osdep_service.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/os_intfs.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/usb_intf.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/usb_ops_linux.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/ioctl_linux.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/xmit_linux.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/mlme_linux.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/recv_linux.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/ioctl_cfg80211.o
/home/kali/Downloads/RTL8192EU/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_change_iface’:
/home/kali/Downloads/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2069:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2069 |   is_p2p = _TRUE;
/home/kali/Downloads/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2071:2: note: here
 2071 |  case NL80211_IFTYPE_STATION:
      |  ^~~~
/home/kali/Downloads/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2093:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2093 |   is_p2p = _TRUE;
/home/kali/Downloads/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2095:2: note: here
 2095 |  case NL80211_IFTYPE_AP:
      |  ^~~~
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/wifi_regd.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/rtw_android.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/rtw_radiotap.o
  CC [M]  /home/kali/Downloads/RTL8192EU/os_dep/linux/rtw_proc.o
/home/kali/Downloads/RTL8192EU/os_dep/linux/rtw_proc.c: In function ‘rtw_proc_create_entry’:
/home/kali/Downloads/RTL8192EU/os_dep/linux/rtw_proc.c:72:71: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   72 |  entry = proc_create_data(name,  S_IFREG | S_IRUGO | S_IWUGO, parent, fops, data);
      |                                                                       ^~~~
      |                                                                       |
      |                                                                       const struct file_operations *
In file included from /home/kali/Downloads/RTL8192EU/include/../os_dep/linux/rtw_proc.h:18,
                 from /home/kali/Downloads/RTL8192EU/include/osdep_intf.h:128,
                 from /home/kali/Downloads/RTL8192EU/include/drv_types.h:104,
                 from /home/kali/Downloads/RTL8192EU/os_dep/linux/rtw_proc.c:17:
/usr/src/linux-headers-5.7.0-kali1-common/include/linux/proc_fs.h:74:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’
   74 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
      |                               ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.7.0-kali1-common/scripts/Makefile.build:272: /home/kali/Downloads/RTL8192EU/os_dep/linux/rtw_proc.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.7.0-kali1-common/Makefile:1745: /home/kali/Downloads/RTL8192EU] Error 2
make[1]: *** [/usr/src/linux-headers-5.7.0-kali1-common/Makefile:180: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.7.0-kali1-amd64'
make: *** [Makefile:1829: modules] Error 2
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

1 participant