I cannot compile vhba/20240917 against 6.14.0-24-generic :

DKMS make.log for vhba-20240917 for kernel 6.14.0-24-generic (x86_64)
jeu. 17 juil. 2025 13:34:14 CEST
make -C /lib/modules/6.14.0-24-generic/build 
M=/var/lib/dkms/vhba/20240917/build modules
make[1] : on entre dans le répertoire « 
/usr/src/linux-headers-6.14.0-24-generic »
make[2] : on entre dans le répertoire « /var/lib/dkms/vhba/20240917/build »
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 
13.3.0-6ubuntu2~24.04) 13.3.0
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  CC [M]  vhba.o
vhba.c:541:6: error: ‘struct scsi_host_template’ has no member named 
‘tag_alloc_policy’; did you mean ‘tag_alloc_policy_rr’?
  541 |     .tag_alloc_policy = BLK_TAG_ALLOC_RR,
      |      ^~~~~~~~~~~~~~~~
      |      tag_alloc_policy_rr
vhba.c:541:25: error: ‘BLK_TAG_ALLOC_RR’ undeclared here (not in a function)
  541 |     .tag_alloc_policy = BLK_TAG_ALLOC_RR,
      |                         ^~~~~~~~~~~~~~~~
make[4]: *** 
[/usr/src/linux-headers-6.14.0-24-generic/scripts/Makefile.build:207 : vhba.o] 
Erreur 1
make[3]: *** [/usr/src/linux-headers-6.14.0-24-generic/Makefile:2002 : .] 
Erreur 2
make[2]: *** [/usr/src/linux-headers-6.14.0-24-generic/Makefile:251 : 
__sub-make] Erreur 2
make[2] : on quitte le répertoire « /var/lib/dkms/vhba/20240917/build »
make[1]: *** [Makefile:251 : __sub-make] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-6.14.0-24-generic »
make: *** [Makefile:14 : modules] Erreur 2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2100583

Title:
  vhba-dkms fails to build against 6.14 kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vhba-module/+bug/2100583/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to