geniuskidkanyi / aic8800

2 stars 0 forks source link

Error! Bad return status for module build on kernel: 5.15.0-124-generic (x86_64) #3

Open zapbeeb opened 2 hours ago

zapbeeb commented 2 hours ago

DKMS make.log for aic8800-1.0.5 for kernel 5.15.0-124-generic (x86_64) Tue Nov 5 10:19:36 AM CET 2024 make -C /lib/modules/5.15.0-124-generic/build M=/var/lib/dkms/aic8800/1.0.5/build ARCH=x86_64 CROSS_COMPILE= modules make[1]: Entering directory '/usr/src/linux-headers-5.15.0-124-generic' CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic_load_fw/aic_bluetooth_main.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic_load_fw/aicbluetooth.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_msg_tx.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic_load_fw/aicwf_usb.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic_load_fw/aic_txrxif.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_msg_rx.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_utils.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_cmds.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic_load_fw/aicbluetooth_cmds.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic_load_fw/aic_compat_8800d80.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic_load_fw/md5.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_irqs.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_cfgfile.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic_load_fw/aicwf_txq_prealloc.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_strs.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_rx.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_tx.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_txq.o LD [M] /var/lib/dkms/aic8800/1.0.5/build/aic_load_fw/aic_load_fw.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_main.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_mod_params.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_mesh.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_platform.o CC [M] /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_pci.o /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_main.c: In function ‘rwnx_csa_finish’: /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_main.c:1061:17: error: too many arguments to function ‘cfg80211_ch_switch_notify’ 1061 | cfg80211_ch_switch_notify(vif->ndev, &csa->chandef, 0); | ^~~~~~~~~ In file included from /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_main.c:16: ./include/net/cfg80211.h:7702:6: note: declared here 7702 | void cfg80211_ch_switch_notify(struct net_device *dev, | ^~~~~~~~~ make[3]: [scripts/Makefile.build:297: /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv/rwnx_main.o] Error 1 make[3]: Waiting for unfinished jobs.... make[2]: [scripts/Makefile.build:560: /var/lib/dkms/aic8800/1.0.5/build/aic8800_fdrv] Error 2 make[1]: [Makefile:1910: /var/lib/dkms/aic8800/1.0.5/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-124-generic' make: *** [Makefile:55: modules] Error 2

zapbeeb commented 2 hours ago

No, it's not because the headers are missing ...

$ sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-5.15.0-124-generic is already the newest version (5.15.0-124.134).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
$