Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For kernel 6 #48

Open
sensoredspecialist opened this issue Dec 22, 2022 · 1 comment
Open

For kernel 6 #48

sensoredspecialist opened this issue Dec 22, 2022 · 1 comment

Comments

@sensoredspecialist
Copy link

No description provided.

@PanagiotisSop
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants