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

unable to build on rocky9 (or centos 7) #354

Open
IAmTheRealGoof opened this issue Jul 21, 2023 · 0 comments
Open

unable to build on rocky9 (or centos 7) #354

IAmTheRealGoof opened this issue Jul 21, 2023 · 0 comments

Comments

@IAmTheRealGoof
Copy link

mostly new build in VM

`[test@localhost rtl8812AU_8821AU_linux]$ make

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.14.0-284.18.1.el9_2.x86_64/build M=/home/test/Downloads/drivers/rtl8812AU_8821AU_linux modules

make[1]: Entering directory '/usr/src/kernels/5.14.0-284.18.1.el9_2.x86_64'

CC [M] /home/test/Downloads/drivers/rtl8812AU_8821AU_linux/core/rtw_cmd.o

In file included from /home/test/Downloads/drivers/rtl8812AU_8821AU_linux/include/osdep_service.h:41,
from /home/test/Downloads/drivers/rtl8812AU_8821AU_linux/include/drv_types.h:32,
from /home/test/Downloads/drivers/rtl8812AU_8821AU_linux/core/rtw_cmd.c:22:
/home/test/Downloads/drivers/rtl8812AU_8821AU_linux/core/rtw_cmd.c: In function ‘rtw_cmd_thread’:
/home/test/Downloads/drivers/rtl8812AU_8821AU_linux/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)
| ^~~~~~~~~~~~~~~~~
/home/test/Downloads/drivers/rtl8812AU_8821AU_linux/core/rtw_cmd.c:706:9: note: in expansion of macro ‘thread_exit’
706 | thread_exit();
| ^~~~~~~~~~~
/home/test/Downloads/drivers/rtl8812AU_8821AU_linux/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:321: /home/test/Downloads/drivers/rtl8812AU_8821AU_linux/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1923: /home/test/Downloads/drivers/rtl8812AU_8821AU_linux] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.14.0-284.18.1.el9_2.x86_64'

make: *** [Makefile:1622: 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

1 participant