Code: Select all
In file included from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service.h:41,
from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/drv_types.h:32,
from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.c:22:
/home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
265 | ptimer->data = (unsigned long)cntx;
| ^~
/home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
266 | init_timer(ptimer);
| ^~~~~~~~~~
| _init_timer
In file included from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/drv_types.h:95,
from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.c:22:
/home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/hal_com.h: At top level:
/home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/hal_com.h:412:13: error: ‘file_path’ redeclared as different kind of symbol
412 | extern char file_path[PATH_LENGTH_MAX];
| ^~~~~~~~~
In file included from ./include/linux/compat.h:17,
from ./include/linux/ethtool.h:17,
from ./include/linux/netdevice.h:37,
from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service_linux.h:35,
from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service.h:41,
from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/drv_types.h:32,
from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.c:22:
./include/linux/fs.h:3032:14: note: previous declaration of ‘file_path’ was here
3032 | extern char *file_path(struct file *, char *, int);
| ^~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:275: /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1757: /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-51-generic'
make: *** [Makefile:1622: modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################