DKMS make.log for rtl8822bu-20180723 for kernel 6.1.51-1-MANJARO (x86_64)
Monday 18 September 2023 11:16:06 PM IST
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.1.51-1-MANJARO/build M=/var/lib/dkms/rtl8822bu/20180723/build modules
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mlme_ext.o
/var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mlme_ext.c:1828:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
1828 | ptable->func = &OnAuthClient;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mlme_ext.c:1830:9: note: here
1830 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_sta_mgt.o
/var/lib/dkms/rtl8822bu/20180723/build/core/rtw_sta_mgt.c: In function ‘rtw_mfree_stainfo’:
/var/lib/dkms/rtl8822bu/20180723/build/core/rtw_sta_mgt.c:379:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘lock’ will never be NULL [-Waddress]
379 | if (&psta->lock != NULL)
| ^~
In file included from /var/lib/dkms/rtl8822bu/20180723/build/include/drv_types.h:107,
from /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_sta_mgt.c:17:
/var/lib/dkms/rtl8822bu/20180723/build/include/sta_info.h:252:17: note: ‘lock’ declared here
252 | _lock lock;
| ^~~~
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_br_ext.o
/var/lib/dkms/rtl8822bu/20180723/build/core/rtw_br_ext.c:20:18: fatal error: net/ipx.h: No such file or directory
20 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:250: /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_br_ext.o] Error 1
make[1]: *** [Makefile:2012: /var/lib/dkms/rtl8822bu/20180723/build] Error 2
make: *** [Makefile:2001: modules] Error 2
~
Are you trying to build this package?
It is available via pamac GUI or in terminal. The easiest method would be:
via terminal:
pamac build rtl8822bu-dkms
Make sure that you have dkms and linux-kernel headers for your kernel installed as well.
Other options:
pamac search rtl8822bu
rtl8822bu-git r51.9438d45-1 AUR
Driver for the Realtek 822bu chipset.
rtl8822bu-dkms 5.8.7.4-1 AUR
Kernel module for Edimax EW7822ULC USB3, Asus AC53 Nano USB 802.11ac
and TP-Link Archer T4U adapter. Patched for Linux v5.12.
See also:
I’m new to linux, so could you guide me to install driver and able to run my wifi adapter.
Building module:
Cleaning build area...
'make' -j4 KVER=6.1.51-1-MANJARO KSRC=/lib/modules/6.1.51-1-MANJARO/build.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.51-1-MANJARO (x86_64)
Error while configuring rtl8822bu-dkms
Consult /var/lib/dkms/rtl8822bu/5.8.7.4/build/make.log for more information.
Error: rtl8822bu-dkms: command failed to execute correctly
Running post-transaction hooks...
Arming ConditionNeedsUpdate... [1/3]
Install DKMS modules [2/3]
==> dkms install --no-depmod rtl8822bu/5.8.7.4 -k 6.1.51-1-MANJARO
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8822bu/5.8.7.4/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.1.51-1-MANJARO (x86_64)
Consult /var/lib/dkms/rtl8822bu/5.8.7.4/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8822bu/5.8.7.4 -k 6.1.51-1-MANJARO' exited 10
Refreshing PackageKit... [3/3]
Transaction successfully finished.
/lib/modules/6.1.51-1-MANJARO/kernel/drivers/net/wireless
Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text
I posted the instructions in my reply to your initial post. Use pamac GUI or terminal to build and install the driver.
Is base-devel package installed?
Linux headers are not installed…
pamac install linux61-headers
I am not sure you are building for the correct device.
I have a T2U adapter but it is using MT7610U chipset.
It is possible the device may come with different chipsets.
The best method to identify is lsusb
This is the output for my device
Bus 003 Device 006: ID 148f:761a Ralink Technology, Corp. MT7610U ("Archer T2U" 2.4G+5G WLAN Adapter
Yes I installed
: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [#######################################################################################] 100%
(1/1) checking package integrity [#######################################################################################] 100%
(1/1) loading package files [#######################################################################################] 100%
(1/1) checking for file conflicts [#######################################################################################] 100%
(1/1) checking available disk space [#######################################################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) reinstalling base-devel [#######################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Refreshing PackageKit..
Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text
Yeah I think so
Bus 001 Device 002: ID 0bda:c820 Realtek Semiconductor Corp. 802.11ac NIC
You are trying to build a package for 8822bu but from a search on hwid it seems 8822cu would be a better match
Buddy I install rtl8821cu driver it’s perfectly working both bluetooth and Wifi. Thank you
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.