Error compiling driver for TL-WN823N V1

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Error compiling driver for TL-WN823N V1

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Error compiling driver for TL-WN823N V1
Error compiling driver for TL-WN823N V1
2018-08-29 04:20:21
Model :

Hardware Version :

Firmware Version :

ISP :

hi,
I try compile the driver for TL-WN823N V1 but I got error

How do I solve this?
Thanks


[CODE]"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.17.0-kali3-amd64/build M=/root/Transferências/Driver modules
make[1]: Entering directory '/usr/src/linux-headers-4.17.0-kali3-amd64'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
CC [M] /root/Transferências/Driver/core/rtw_cmd.o
In file included from /root/Transferências/Driver/core/rtw_cmd.c:23:0:
/root/Transferências/Driver/include/osdep_service.h: In function ‘_init_timer’:
/root/Transferências/Driver/include/osdep_service.h:957:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/root/Transferências/Driver/include/osdep_service.h:958:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
init_timer(ptimer);
^~~~~~~~~~
_init_timer
In file included from /root/Transferências/Driver/core/rtw_cmd.c:23:0:
/root/Transferências/Driver/include/osdep_service.h: In function ‘thread_enter’:
/root/Transferências/Driver/include/osdep_service.h:1480:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
do_signal
/root/Transferências/Driver/include/osdep_service.h: In function ‘flush_signals_thread’:
/root/Transferências/Driver/include/osdep_service.h:1493:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
if (signal_pending (current))
^~~~~~~~~~~~~~
timer_pending
/root/Transferências/Driver/include/osdep_service.h:1495:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
do_signal
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.17.0-kali3-common/scripts/Makefile.build:318: /root/Transferências/Driver/core/rtw_cmd.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.17.0-kali3-common/Makefile:1585: _module_/root/Transferências/Driver] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.17.0-kali3-amd64'
make: *** [Makefile:731: modules] Error 2

[/CODE]
  1      
  1      
#1
Options

Information

Helpful: 1

Views: 2982

Replies: 21

Related Articles