Hi guys,
I tried to compile the driver on
Linux kali 5.7.0-kali1-amd64 #1 SMP Debian 5.7.6-1kali2 (2020-07-01) x86_64 GNU/Linux
First issue: The gcc throws errors that I was able to fix with two switches in the Makefile.
gcc version 9.3.0 (Debian 9.3.0-15)
EXTRA_CFLAGS += -Wno-date-time
EXTRA_CFLAGS += -Wno-uninitialized
The main issue are changes in the header files of the kernel that I'm not able to fix.
The changed data types:
/home/kali/rtl8192EU_WiFi_linux/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_WiFi_linux/include/../os_dep/linux/rtw_proc.h:18,
from /home/kali/rtl8192EU_WiFi_linux/include/osdep_intf.h:128,
from /home/kali/rtl8192EU_WiFi_linux/include/drv_types.h:104,
from /home/kali/rtl8192EU_WiFi_linux/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/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.o] Error 1
Any idea / advice what happened here?
Any chance to get the driver comiled on newer kernel versions?
Thanks
Marcus
Hi guys,
I tried to compile the driver on
Linux kali 5.7.0-kali1-amd64 #1 SMP Debian 5.7.6-1kali2 (2020-07-01) x86_64 GNU/LinuxFirst issue: The gcc throws errors that I was able to fix with two switches in the Makefile.
gcc version 9.3.0 (Debian 9.3.0-15)The main issue are changes in the header files of the kernel that I'm not able to fix.
The changed data types:
Any idea / advice what happened here?
Any chance to get the driver comiled on newer kernel versions?
Thanks
Marcus