-
Notifications
You must be signed in to change notification settings - Fork 174
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
Make fails on Ubuntu 22.04.2 with Linux 5.19.0-46 generic #153
Comments
I found the problem and pushed a fix. Do a 'git pull', and it should build again. |
Solved. Thank you very much. I was surprised with your answer. It was soooo soon :) |
On my computer updated to Ubuntu 22.04 I have a similar problem that indicates the following: make -C /lib/modules/5.15.0-76-generic/build M=/home/javier/wifi/rtw88 modules Please could you help me I need to install rtl8723de module |
Your gcc with version 5.5.0 is too old. You need version 11.3.0 from Ubuntu as that is the compiler used to build the kernel. |
Make fails this way in my fresh installed Ubuntu:
make -C /lib/modules/5.19.0-46-generic/build M=/home/sergio/Descargas/rtw88 modules make[1]: se entra en el directorio '/usr/src/linux-headers-5.19.0-46-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.0 You are using: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0 CC [M] /home/sergio/Descargas/rtw88/main.o /home/sergio/Descargas/rtw88/main.c: In function ‘rtw_core_deinit’: /home/sergio/Descargas/rtw88/main.c:2302:9: error: implicit declaration of function ‘timer_delete_sync’ [-Werror=implicit-function-declaration] 2302 | timer_delete_sync(&rtwdev->tx_report.purge_timer); | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:257: /home/sergio/Descargas/rtw88/main.o] Error 1 make[1]: *** [Makefile:1857: /home/sergio/Descargas/rtw88] Error 2 make[1]: se sale del directorio '/usr/src/linux-headers-5.19.0-46-generic' make: *** [Makefile:117: all] Error 2
Please help me, I need to use my RTL8821 dongle. Thanks a lot
The text was updated successfully, but these errors were encountered: