Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' all KVER=5.15.0-78-generic........(bad exit status: 2)
**Error! Bad return status for module build on kernel:** 5.15.0-78-generic (x86_64)
Consult /var/lib/dkms/8822bu/1.1/build/make.log for more information.
The make.log:
DKMS make.log for 8822bu-1.1 for kernel 5.15.0-78-generic (x86_64)
Mo 31. Jul 15:19:13 CEST 2023
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.0-78-generic/build M=/var/lib/dkms/8822bu/1.1/build modules
make[1]: Verzeichnis „/usr/src/linux-headers-5.15.0-78-generic“ wird betreten
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
You are using: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_security.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_debug.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_io.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_mlme_ext.o
/var/lib/dkms/8822bu/1.1/build/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/var/lib/dkms/8822bu/1.1/build/core/rtw_mlme_ext.c:1428:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
1428 | if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
| ^
/var/lib/dkms/8822bu/1.1/build/core/rtw_mlme_ext.c:1433:9: note: here
1433 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_mi.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_vht.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_rf.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_recv.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_ap.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/8822bu/1.1/build/core/rtw_br_ext.o
/var/lib/dkms/8822bu/1.1/build/core/rtw_br_ext.c:26:18: fatal error: net/ipx.h: Datei oder Verzeichnis nicht gefunden
26 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:297: /var/lib/dkms/8822bu/1.1/build/core/rtw_br_ext.o] Fehler 1
make[1]: *** [Makefile:1914: /var/lib/dkms/8822bu/1.1/build] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-5.15.0-78-generic“ wird verlassen
make: *** [Makefile:1319: modules] Fehler 2
is missing an ipx/net.h file.
Where to search for that file and where to put in?
I made an Update of my linux mint to version 21.2. Do not get Connection with Wifi and compiled this code making the following steps:
In the last step I get an error message:
The make.log:
is missing an ipx/net.h file. Where to search for that file and where to put in?