V
V
Vladimir2020-06-13 19:42:28
linux
Vladimir, 2020-06-13 19:42:28

Make errors?

I'm trying to install firewood from https://github.com/kimocoder/rtl8192eu
All packages are worth it. Make error occurs

UPD:
After installing bc
sudo make

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.6.0-kali2-amd64/build M=/home/kali/RTL8192EU modules
make[1]: directory entry "/usr/src/linux-headers-5.6.0-kali2-amd64"
CC [M] /home/kali/RTL8192EU/core/rtw_cmd.o
CC [M] /home/kali/RTL8192EU/core/rtw_security.o
CC [M] /home/kali/RTL8192EU/core/rtw_debug.o
CC [M] /home/kali/RTL8192EU/core/rtw_io.o
CC [M] /home/kali/RTL8192EU/core/rtw_ioctl_query.o
CC [ M] /home/kali/RTL8192EU/core/rtw_ioctl_set.o
CC [M] /home/kali/RTL8192EU/core/rtw_ieee80211.o
CC [M] /home/kali/RTL8192EU/core/rtw_mlme.o
CC [M] /home/kali/RTL8192EU/core/rtw_mlme_ext.o
/home /kali/RTL8192EU/core/rtw_mlme_ext.c: In function 'mgt_dispatcher':
/home/kali/RTL8192EU/core/rtw_mlme_ext.c:1638:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
1638 | if (MLME_IS_AP(padapter))
| ^
/home/kali/RTL8192EU/core/rtw_mlme_ext.c:1643:2: note: here
1643 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /home/kali/RTL8192EU/core/rtw_mi.o
CC [M] /home/kali/RTL8192EU/core/rtw_wlan_util.o
CC [M] /home/kali/RTL8192EU/core/rtw_vht .o
CC [M] /home/kali/RTL8192EU/core/rtw_pwrctrl.o
CC [M] /home/kali/RTL8192EU/core/rtw_rf.o
CC [M] /home/kali/RTL8192EU/core/rtw_recv.o
CC [ M] /home/kali/RTL8192EU/core/rtw_sta_mgt.o
CC [M] /home/kali/RTL8192EU/core/rtw_ap.o
CC [M] /home/kali/RTL8192EU/core/rtw_xmit.o
CC [M] /home/kali/RTL8192EU/core/rtw_p2p.o
CC [M] /home/kali/RTL8192EU/core/rtw_rson.o
CC [M] /home/kali/RTL8192EU/core/rtw_tdls.o
CC [M] /home /kali/RTL8192EU/core/rtw_br_ext.o
CC [M] /home/kali/RTL8192EU/core/rtw_iol.o
CC [M] /home/kali/RTL8192EU/core/rtw_sreset.o
CC [M] /home/kali /RTL8192EU/core/rtw_btcoex_wifionly.o
CC [M] /home/kali/RTL8192EU/core/rtw_btcoex.o
CC [M] /home/kali/RTL8192EU/core/rtw_beamforming.o
CC [M] /home/kali/RTL8192EU/core/rtw_odm.o
CC [M] /home/kali/RTL8192EU/core/efuse/rtw_efuse.o
CC [M] /home/kali/RTL8192EU/os_dep/osdep_service.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/os_intfs.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/usb_intf .o
CC [M] /home/kali/RTL8192EU/os_dep/linux/usb_ops_linux.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/ioctl_linux.o
CC [M] /home/kali/RTL8192EU/os_dep /linux/xmit_linux.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/mlme_linux.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/recv_linux.o
CC [M] /home/kali /RTL8192EU/os_dep/linux/ioctl_cfg80211.o
/home/kali/RTL8192EU/os_dep/linux/ioctl_cfg80211.c: In function 'cfg80211_rtw_change_iface':
/home/kali/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2069:10: warning: this statement may fall through [-Wimplicit -fallthrough=]
2069 | is_p2p = _TRUE;
/home/kali/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2071:2: note: here
2071 | case NL80211_IFTYPE_STATION:
| ^~~~
/home/kali/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2093:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
2093 | is_p2p = _TRUE;
/home/kali/RTL8192EU/os_dep/linux/ioctl_cfg80211.c:2095:2: note: here
2095 | case NL80211_IFTYPE_AP:
| ^~~~
CC [M] /home/kali/RTL8192EU/os_dep/linux/rtw_cfgvendor.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/wifi_regd.o
CC [M] /home/kali/RTL8192EU/os_dep/linux/rtw_android.o
CC [M] /home/kali/RTL8192EU/os_dep/linux /rtw_radiotap.o
CC [M ]
/home/kali/RTL8192EU/os_dep/linux/rtw_proc.o
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/RTL8192EU/include/../os_dep/linux/rtw_proc.h:18,
from /home/kali/RTL8192EU/include/osdep_intf.h:128,
from /home/ kali/RTL8192EU/include/drv_types.h:104,
from /home/kali/RTL8192EU/os_dep/linux/rtw_proc.c:17:
/usr/src/linux-headers-5.6.0-kali2-common/include/linux /proc_fs.h:59:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
59 | 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.6.0-kali2-common/scripts/Makefile.build:273: /home/kali/RTL8192EU/os_dep /linux/rtw_proc.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.6.0-kali2-common/Makefile:1704: /home/kali/RTL8192EU] Error 2
make[ 1]: *** [/usr/src/linux-headers-5.6.0-kali2-common/Makefile:180: sub-make] Error 2
make[1]: leaving directory "/usr/src/linux- headers-5.6.0-kali2-amd64"
make: *** [Makefile:1829: modules] Error 2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2020-06-13
@CityCat4

Kali
Last bucket
Trying to put firewood...
This bunch of errors suggests that firewood is not designed for the last bucket. It would be nice to check with the author on the github - will they generally gather under the 5.x bucket?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question