[intel igb] Bad return status for module build on kernel: 6.11.0-5-cachyos
Closed this issue · 1 comments
ZeroDot1 commented
While installing linux-cachyos-headers I noticed this error, here is the log.
DKMS make.log for igb-5.15.6 for kernel 6.11.0-5-cachyos (x86_64)
So 29. Sep 21:35:45 CEST 2024
make: Verzeichnis „/usr/lib/modules/6.11.0-5-cachyos/build“ wird betreten
CC [M] /var/lib/dkms/igb/5.15.6/build/igb_main.o
CC [M] /var/lib/dkms/igb/5.15.6/build/e1000_api.o
CC [M] /var/lib/dkms/igb/5.15.6/build/igb_ethtool.o
CC [M] /var/lib/dkms/igb/5.15.6/build/igb_hwmon.o
CC [M] /var/lib/dkms/igb/5.15.6/build/e1000_mbx.o
CC [M] /var/lib/dkms/igb/5.15.6/build/e1000_mac.o
CC [M] /var/lib/dkms/igb/5.15.6/build/e1000_manage.o
CC [M] /var/lib/dkms/igb/5.15.6/build/e1000_nvm.o
CC [M] /var/lib/dkms/igb/5.15.6/build/igb_param.o
CC [M] /var/lib/dkms/igb/5.15.6/build/e1000_phy.o
CC [M] /var/lib/dkms/igb/5.15.6/build/igb_procfs.o
CC [M] /var/lib/dkms/igb/5.15.6/build/igb_vmdq.o
CC [M] /var/lib/dkms/igb/5.15.6/build/e1000_82575.o
CC [M] /var/lib/dkms/igb/5.15.6/build/e1000_i210.o
CC [M] /var/lib/dkms/igb/5.15.6/build/e1000_base.o
CC [M] /var/lib/dkms/igb/5.15.6/build/igb_debugfs.o
CC [M] /var/lib/dkms/igb/5.15.6/build/igb_ptp.o
CC [M] /var/lib/dkms/igb/5.15.6/build/kcompat.o
/var/lib/dkms/igb/5.15.6/build/igb_main.c: In Funktion »igb_probe«:
/var/lib/dkms/igb/5.15.6/build/igb_main.c:2879:9: Fehler: Implizite Deklaration der Funktion »strlcpy«; meinten Sie »strncpy«? [-Wimplicit-function-declaration]
2879 | strlcpy(netdev->name, pci_name(pdev), sizeof(netdev->name));
| ^~~~~~~
| strncpy
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c: In Funktion »igb_get_drvinfo«:
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c:1210:9: Fehler: Implizite Deklaration der Funktion »strlcpy«; meinten Sie »strncpy«? [-Wimplicit-function-declaration]
1210 | strlcpy(drvinfo->driver, igb_driver_name, sizeof(drvinfo->driver));
| ^~~~~~~
| strncpy
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c: Auf höchster Ebene:
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c:3830:35: Fehler: Initialisierung von »int (*)(struct net_device *, struct kernel_ethtool_ts_info *)« von inkompatiblem Zeigertyp »int (*)(struct net_device *, struct ethtool_ts_info *)« [-Wincompatible-pointer-types]
3830 | .get_ts_info = igb_get_ts_info,
| ^~~~~~~~~~~~~~~
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c:3830:35: Anmerkung: (nahe der Initialisierung für »igb_ethtool_ops.get_ts_info«)
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c:3859:35: Fehler: Initialisierung von »int (*)(struct net_device *, struct ethtool_keee *)« von inkompatiblem Zeigertyp »int (*)(struct net_device *, struct ethtool_eee *)« [-Wincompatible-pointer-types]
3859 | .get_eee = igb_get_eee,
| ^~~~~~~~~~~
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c:3859:35: Anmerkung: (nahe der Initialisierung für »igb_ethtool_ops.get_eee«)
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c:3862:35: Fehler: Initialisierung von »int (*)(struct net_device *, struct ethtool_keee *)« von inkompatiblem Zeigertyp »int (*)(struct net_device *, struct ethtool_eee *)« [-Wincompatible-pointer-types]
3862 | .set_eee = igb_set_eee,
| ^~~~~~~~~~~
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c:3862:35: Anmerkung: (nahe der Initialisierung für »igb_ethtool_ops.set_eee«)
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c:3869:35: Fehler: Initialisierung von »int (*)(struct net_device *, struct ethtool_rxfh_param *)« von inkompatiblem Zeigertyp »int (*)(struct net_device *, u32 *, u8 *, u8 *)« {alias »int (*)(struct net_device *, unsigned int *, unsigned char *, unsigned char *)«} [-Wincompatible-pointer-types]
3869 | .get_rxfh = igb_get_rxfh,
| ^~~~~~~~~~~~
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c:3869:35: Anmerkung: (nahe der Initialisierung für »igb_ethtool_ops.get_rxfh«)
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c:3876:35: Fehler: Initialisierung von »int (*)(struct net_device *, struct ethtool_rxfh_param *, struct netlink_ext_ack *)« von inkompatiblem Zeigertyp »int (*)(struct net_device *, const u32 *, const u8 *, const u8)« {alias »int (*)(struct net_device *, const unsigned int *, const unsigned char *, const unsigned char)«} [-Wincompatible-pointer-types]
3876 | .set_rxfh = igb_set_rxfh,
| ^~~~~~~~~~~~
/var/lib/dkms/igb/5.15.6/build/igb_ethtool.c:3876:35: Anmerkung: (nahe der Initialisierung für »igb_ethtool_ops.set_rxfh«)
make[2]: *** [scripts/Makefile.build:244: /var/lib/dkms/igb/5.15.6/build/igb_ethtool.o] Fehler 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet …
make[2]: *** [scripts/Makefile.build:244: /var/lib/dkms/igb/5.15.6/build/igb_main.o] Fehler 1
make[1]: *** [/usr/lib/modules/6.11.0-5-cachyos/build/Makefile:1929: /var/lib/dkms/igb/5.15.6/build] Fehler 2
make: *** [Makefile:224: __sub-make] Fehler 2
make: Verzeichnis „/usr/lib/modules/6.11.0-5-cachyos/build“ wird verlassen
ptr1337 commented
You need to pass -Wno-incompatible-pointer-types
the Makefile