You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@radhe:/tmp/t4u/rtl8812AU_8821AU_linux-master# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.19.0-41-generic/build M=/tmp/t4u/rtl8812AU_8821AU_linux-master modules
make[1]: Entering directory '/usr/src/linux-headers-5.19.0-41-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu122.04.1) 11.3.0
You are using: gcc (Ubuntu 11.3.0-1ubuntu122.04) 11.3.0
CC [M] /tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.o
In file included from /tmp/t4u/rtl8812AU_8821AU_linux-master/include/osdep_service.h:41,
from /tmp/t4u/rtl8812AU_8821AU_linux-master/include/drv_types.h:32,
from /tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.c:22:
/tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.c: In function ‘rtw_cmd_thread’:
/tmp/t4u/rtl8812AU_8821AU_linux-master/include/osdep_service_linux.h:166:23: error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration]
166 | #define thread_exit() complete_and_exit(NULL, 0)
| ^~~~~~~~~~~~~~~~~
/tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.c:706:9: note: in expansion of macro ‘thread_exit’
706 | thread_exit();
| ^~~~~~~~~~~
/tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.c:708:1: error: control reaches end of non-void function [-Werror=return-type]
708 | }
| ^
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:257: /tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1850: /tmp/t4u/rtl8812AU_8821AU_linux-master] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.19.0-41-generic'
make: *** [Makefile:1622: modules] Error 2
The text was updated successfully, but these errors were encountered:
root@radhe:/tmp/t4u/rtl8812AU_8821AU_linux-master# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.19.0-41-generic/build M=/tmp/t4u/rtl8812AU_8821AU_linux-master modules
make[1]: Entering directory '/usr/src/linux-headers-5.19.0-41-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1
22.04.1) 11.3.022.04) 11.3.0You are using: gcc (Ubuntu 11.3.0-1ubuntu1
CC [M] /tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.o
In file included from /tmp/t4u/rtl8812AU_8821AU_linux-master/include/osdep_service.h:41,
from /tmp/t4u/rtl8812AU_8821AU_linux-master/include/drv_types.h:32,
from /tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.c:22:
/tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.c: In function ‘rtw_cmd_thread’:
/tmp/t4u/rtl8812AU_8821AU_linux-master/include/osdep_service_linux.h:166:23: error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration]
166 | #define thread_exit() complete_and_exit(NULL, 0)
| ^~~~~~~~~~~~~~~~~
/tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.c:706:9: note: in expansion of macro ‘thread_exit’
706 | thread_exit();
| ^~~~~~~~~~~
/tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.c:708:1: error: control reaches end of non-void function [-Werror=return-type]
708 | }
| ^
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:257: /tmp/t4u/rtl8812AU_8821AU_linux-master/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1850: /tmp/t4u/rtl8812AU_8821AU_linux-master] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.19.0-41-generic'
make: *** [Makefile:1622: modules] Error 2
The text was updated successfully, but these errors were encountered: