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

Build fails Ubuntu 22.10, somewhat different error output #353

Open
strusty opened this issue May 18, 2023 · 1 comment
Open

Build fails Ubuntu 22.10, somewhat different error output #353

strusty opened this issue May 18, 2023 · 1 comment

Comments

@strusty
Copy link

strusty commented May 18, 2023

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-1ubuntu1
22.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

@Gus-the-looper
Copy link

Same on Ubuntu 24.04.1 LTS

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