Bonsoir,
Merci pour votre réponse, les lignes décrite dans le fichier pdf sont bien présentes.
Cependant la compilation a échoué…
Concernant le forum, je ne vois pas de balise “code”, c’est normal ? ?
root@kali:~/Downloads/TL-WN727N_V4_150909/Driver# vim Makefile.inc
root@kali:~/Downloads/TL-WN727N_V4_150909/Driver# make
make -C UTIL/ osutil
make[1] : on entre dans le répertoire « /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL »
cp -f os/linux/Makefile.6.util /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/Makefile
make -C /lib/modules/4.13.0-kali1-amd64/build SUBDIRS=/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux modules
make[2] : on entre dans le répertoire « /usr/src/linux-headers-4.13.0-kali1-amd64 »
CC [M] /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.o
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:182:8: warning: unused variable ‘i’ [-Wunused-variable]
ULONG i;
^
In file included from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48:0,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:500:18: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [-Wint-conversion]
NdisMoveMemory(skb->tail, pHeader802_3, HdrLen);
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:507:61: note: in definition of macro ‘NdisMoveMemory’
#define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source, Length)
^~~~~~~~~~~
In file included from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/string.h:4:0,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/string.h:18,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/bitmap.h:8,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/cpumask.h:11,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/cpumask.h:4,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/cpufeature.h:4,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/thread_info.h:52,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/thread_info.h:37,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/preempt.h:6,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/preempt.h:80,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/time.h:5,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/stat.h:18,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/module.h:10,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:18,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/string_64.h:62:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t {aka unsigned int}’
void *memmove(void *dest, const void *src, size_t count);
^~~~~~~
In file included from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48:0,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:502:18: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [-Wint-conversion]
NdisMoveMemory(skb->tail, pData, DataSize);
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:507:61: note: in definition of macro ‘NdisMoveMemory’
#define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source, Length)
^~~~~~~~~~~ /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rt_os_util.h:224:7: note: expected ‘PUCHAR {aka unsigned char *}’ but argument is of type ‘sk_buff_data_t {aka unsigned int}’
UCHAR VLAN_8023_Header_Copy(
^~~~~~~~~~~~~~~~~~~~~
In file included from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48:0,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:570:18: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [-Wint-conversion]
NdisMoveMemory(skb->tail, pData, DataSize);
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:507:61: note: in definition of macro ‘NdisMoveMemory’
#define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source, Length)
^~~~~~~~~~~
In file included from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/string.h:4:0,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/string.h:18,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/bitmap.h:8,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/cpumask.h:11,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/cpumask.h:4,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/cpufeature.h:4,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/thread_info.h:52,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/thread_info.h:37,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/preempt.h:6,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/preempt.h:80,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/time.h:5,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/stat.h:18,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/module.h:10,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:18,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/string_64.h:62:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t {aka unsigned int}’
void *memmove(void *dest, const void *src, size_t count);
^~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:692:20: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len;
^
In file included from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48:0,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktInit’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:950:34: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:711:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
SET_OS_PKT_DATATAIL(pRxPkt, pData, DataSize);
^~~~~~~~~~~~~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:737:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
pOSPkt->tail = pOSPkt->data + pOSPkt->len;
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:2177:32: error: passing argument 2 of ‘file_w->f_op->write’ from incompatible pointer type [-Werror=incompatible-pointer-types]
file_w->f_op->write(file_w, pBuf, BufLen, &file_w->f_pos);
^~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:2177:32: note: expected ‘const char *’ but argument is of type ‘UINT32 * {aka unsigned int *}’
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:2162:22: warning: unused variable ‘macValue’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:2162:9: warning: unused variable ‘macAddr’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:2298:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
struct net_device *net_dev = (struct net_device *)pNetDev;
^~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsFreeSpinLock’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:4317:8: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
pLock = (OS_NDIS_MINIPORT_TIMER *) (pLockOrg->pContent);
^
In file included from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48:0,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktTailAdjust’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:950:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:974:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
SET_OS_PKT_DATATAIL(_pkt, GET_OS_PKT_DATATAIL(_pkt), (-_removedTagLen)); \
^~~~~~~~~~~~~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:5207:2: note: in expansion of macro ‘OS_PKT_TAIL_ADJUST’
OS_PKT_TAIL_ADJUST(pNetPkt, removedTagLen);
^~~~~~~~~~~~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:950:34: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:974:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
SET_OS_PKT_DATATAIL(_pkt, GET_OS_PKT_DATATAIL(_pkt), (-_removedTagLen)); \
^~~~~~~~~~~~~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:5207:2: note: in expansion of macro ‘OS_PKT_TAIL_ADJUST’
OS_PKT_TAIL_ADJUST(pNetPkt, removedTagLen);
^~~~~~~~~~~~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpThreadPidKill’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:539:37: error: implicit declaration of function ‘kill_pid’; did you mean ‘si_pid’? [-Werror=implicit-function-declaration]
#define KILL_THREAD_PID(_A, _B, _C) kill_pid((_A), (_B), (_C))
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:5309:9: note: in expansion of macro ‘KILL_THREAD_PID’
return KILL_THREAD_PID(PID, SIGTERM, 1);
^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.13.0-kali1-common/scripts/Makefile.build:307 : la recette pour la cible « /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.o » a échouée
make[5]: *** [/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.o] Erreur 1
/usr/src/linux-headers-4.13.0-kali1-common/Makefile:1529 : la recette pour la cible « _module_/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux » a échouée
make[4]: *** [_module_/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux] Erreur 2
Makefile:145 : la recette pour la cible « sub-make » a échouée
make[3]: *** [sub-make] Erreur 2
Makefile:8 : la recette pour la cible « all » a échouée
make[2]: *** [all] Erreur 2
make[2] : on quitte le répertoire « /usr/src/linux-headers-4.13.0-kali1-amd64 »
Makefile:524 : la recette pour la cible « osutil » a échouée
make[1]: *** [osutil] Erreur 2
make[1] : on quitte le répertoire « /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL »
Makefile:3 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
In file included from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/string.h:4:0,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/string.h:18,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/bitmap.h:8,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/cpumask.h:11,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/cpumask.h:4,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/cpufeature.h:4,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/thread_info.h:52,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/thread_info.h:37,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/preempt.h:6,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/preempt.h:80,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/time.h:5,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/stat.h:18,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/module.h:10,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:18,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/string_64.h:62:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t {aka unsigned int}’
void *memmove(void *dest, const void *src, size_t count);
^~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt_with_VLAN’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:565:9: warning: passing argument 5 of ‘VLAN_8023_Header_Copy’ makes pointer from integer without a cast [-Wint-conversion]
skb->tail, FromWhichBSSID,
^~~
In file included from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:37:0:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rt_os_util.h:224:7: note: expected ‘PUCHAR {aka unsigned char *}’ but argument is of type ‘sk_buff_data_t {aka unsigned int}’
UCHAR VLAN_8023_Header_Copy(
^~~~~~~~~~~~~~~~~~~~~
In file included from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48:0,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:570:18: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [-Wint-conversion]
NdisMoveMemory(skb->tail, pData, DataSize);
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:507:61: note: in definition of macro ‘NdisMoveMemory’
#define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source, Length)
^~~~~~~~~~~
In file included from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/string.h:4:0,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/string.h:18,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/bitmap.h:8,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/cpumask.h:11,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/cpumask.h:4,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/cpufeature.h:4,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/thread_info.h:52,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/thread_info.h:37,
from /usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/preempt.h:6,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/preempt.h:80,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/time.h:5,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/stat.h:18,
from /usr/src/linux-headers-4.13.0-kali1-common/include/linux/module.h:10,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:18,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/usr/src/linux-headers-4.13.0-kali1-common/arch/x86/include/asm/string_64.h:62:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t {aka unsigned int}’
void *memmove(void *dest, const void *src, size_t count);
^~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:692:20: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len;
^
In file included from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48:0,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktInit’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:950:34: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:711:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
SET_OS_PKT_DATATAIL(pRxPkt, pData, DataSize);
^~~~~~~~~~~~~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:737:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
pOSPkt->tail = pOSPkt->data + pOSPkt->len;
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:2177:32: error: passing argument 2 of ‘file_w->f_op->write’ from incompatible pointer type [-Werror=incompatible-pointer-types]
file_w->f_op->write(file_w, pBuf, BufLen, &file_w->f_pos);
^~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:2177:32: note: expected ‘const char *’ but argument is of type ‘UINT32 * {aka unsigned int *}’
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:2162:22: warning: unused variable ‘macValue’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:2162:9: warning: unused variable ‘macAddr’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:2298:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
struct net_device *net_dev = (struct net_device *)pNetDev;
^~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsFreeSpinLock’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:4317:8: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
pLock = (OS_NDIS_MINIPORT_TIMER *) (pLockOrg->pContent);
^
In file included from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_os.h:48:0,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/rtmp_comm.h:69,
from /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:35:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktTailAdjust’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:950:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:974:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
SET_OS_PKT_DATATAIL(_pkt, GET_OS_PKT_DATATAIL(_pkt), (-_removedTagLen)); \
^~~~~~~~~~~~~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:5207:2: note: in expansion of macro ‘OS_PKT_TAIL_ADJUST’
OS_PKT_TAIL_ADJUST(pNetPkt, removedTagLen);
^~~~~~~~~~~~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:950:34: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:974:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
SET_OS_PKT_DATATAIL(_pkt, GET_OS_PKT_DATATAIL(_pkt), (-_removedTagLen)); \
^~~~~~~~~~~~~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:5207:2: note: in expansion of macro ‘OS_PKT_TAIL_ADJUST’
OS_PKT_TAIL_ADJUST(pNetPkt, removedTagLen);
^~~~~~~~~~~~~~~~~~
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpThreadPidKill’:
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/include/os/rt_linux.h:539:37: error: implicit declaration of function ‘kill_pid’; did you mean ‘si_pid’? [-Werror=implicit-function-declaration]
#define KILL_THREAD_PID(_A, _B, _C) kill_pid((_A), (_B), (_C))
^
/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.c:5309:9: note: in expansion of macro ‘KILL_THREAD_PID’
return KILL_THREAD_PID(PID, SIGTERM, 1);
^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.13.0-kali1-common/scripts/Makefile.build:307 : la recette pour la cible « /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.o » a échouée
make[5]: *** [/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux/../../os/linux/rt_linux.o] Erreur 1
/usr/src/linux-headers-4.13.0-kali1-common/Makefile:1529 : la recette pour la cible « _module_/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux » a échouée
make[4]: *** [_module_/root/Downloads/TL-WN727N_V4_150909/Driver/UTIL/os/linux] Erreur 2
Makefile:145 : la recette pour la cible « sub-make » a échouée
make[3]: *** [sub-make] Erreur 2
Makefile:8 : la recette pour la cible « all » a échouée
make[2]: *** [all] Erreur 2
make[2] : on quitte le répertoire « /usr/src/linux-headers-4.13.0-kali1-amd64 »
Makefile:524 : la recette pour la cible « osutil » a échouée
make[1]: *** [osutil] Erreur 2
make[1] : on quitte le répertoire « /root/Downloads/TL-WN727N_V4_150909/Driver/UTIL »
Makefile:3 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2