mfruba / kernel

151 stars 103 forks source link

issue with make on Kali #37

Open ictech28 opened 6 years ago

ictech28 commented 6 years ago

Hi

Im fairly new to linux and am trying to make your driver. however i get the following error.

"**" "NO SKRC,we will use default KSRC" "**" make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-kali3-amd64/build M=/root/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417 modules make[1]: Entering directory '/usr/src/linux-headers-4.15.0-kali3-amd64' "**" "NO SKRC,we will use default KSRC" "**" CC [M] /root/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.o In file included from /root/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h:45:0, from /root/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/drv_types.h:32, from /root/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.c:22: /root/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h: In function ‘_init_timer’: /root/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h:261:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’ ptimer->data = (unsigned long)cntx; ^~ /usr/src/linux-headers-4.15.0-kali3-common/scripts/Makefile.build:329: recipe for target '/root/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.o' failed make[4]: [/root/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.o] Error 1 /usr/src/linux-headers-4.15.0-kali3-common/Makefile:1537: recipe for target 'module/root/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417' failed make[3]: [module/root/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417] Error 2 Makefile:146: recipe for target 'sub-make' failed make[2]: [sub-make] Error 2 Makefile:8: recipe for target 'all' failed make[1]: [all] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-kali3-amd64' Makefile:1368: recipe for target 'modules' failed make: *** [modules] Error 2

Thanks

luka-j commented 6 years ago

This driver is not compatible with Linux 4.15 at the moment (duplicate of #36 )