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
Build fails due to implicit declaration of function 'complete_and_exit'
kernel version: 6.0.12
gcc version: 12.2.0
Arch: x86_64
Build log:
DKMS make.log for 8188eu-1.2 for kernel 6.0.12-arch1-1 (x86_64)
Fri Dec 23 11:29:20 CET 2022
""
"NO SKRC,we will use default KSRC"
""
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.0.12-arch1-1/build M=/var/lib/dkms/8188eu/1.2/build modules
make[1]: Entering directory '/usr/lib/modules/6.0.12-arch1-1/build'
""
"NO SKRC,we will use default KSRC"
""
CC [M] /var/lib/dkms/8188eu/1.2/build/core/rtw_cmd.o
In file included from /var/lib/dkms/8188eu/1.2/build/include/osdep_service.h:41,
from /var/lib/dkms/8188eu/1.2/build/include/drv_types.h:32,
from /var/lib/dkms/8188eu/1.2/build/core/rtw_cmd.c:22:
/var/lib/dkms/8188eu/1.2/build/core/rtw_cmd.c: In function 'rtw_cmd_thread':
/var/lib/dkms/8188eu/1.2/build/include/osdep_service_linux.h:145:31: error: implicit declaration of function 'complete_and_exit' [-Werror=implicit-function-declaration]
145 | #define thread_exit() complete_and_exit(NULL, 0)
| ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8188eu/1.2/build/core/rtw_cmd.c:637:9: note: in expansion of macro 'thread_exit'
637 | thread_exit();
| ^~~~~~~~~~~
/var/lib/dkms/8188eu/1.2/build/core/rtw_cmd.c:639:1: error: control reaches end of non-void function [-Werror=return-type]
639 | }
| ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:249: /var/lib/dkms/8188eu/1.2/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1852: /var/lib/dkms/8188eu/1.2/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.0.12-arch1-1/build'
make: *** [Makefile:1365: modules] Error 2
No description provided.
The text was updated successfully, but these errors were encountered: