Public bug reported:

When installing kernel kernel 6.17.0-7-generic on kubuntu 25.10, the
following error occurs:

DKMS (dkms-3.2.0) make.log for tp_smapi/0.44 for kernel 6.17.0-7-generic 
(x86_64)
Wed Nov 26 10:38:31 CET 2025

Building module(s)
# command: make -j8 KERNELRELEASE=6.17.0-7-generic -C 
/lib/modules/6.17.0-7-generic/build M=/var/lib/dkms/tp_smapi/0.44/build HDAPS=1
make: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
make[1]: Entering directory '/var/lib/dkms/tp_smapi/0.44/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
  You are using:           gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
  CC [M]  thinkpad_ec.o
  CC [M]  tp_smapi.o
  CC [M]  hdaps.o
hdaps.c: In function ‘hdaps_suspend’:
hdaps.c:430:9: error: implicit declaration of function ‘del_timer_sync’ 
[-Wimplicit-function-declaration]
  430 |         del_timer_sync(&hdaps_timer);
      |         ^~~~~~~~~~~~~~
make[3]: *** 
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: hdaps.o] 
Error 1
make[3]: *** Waiting for unfinished jobs....
thinkpad_ec.c: In function ‘check_dmi_for_ec’:
thinkpad_ec.c:471:1: warning: the frame size of 1728 bytes is larger than 1024 
bytes [-Wframe-larger-than=]
  471 | }
      | ^
make[2]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:2016: .] Error 2
make[1]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:248: __sub-make] 
Error 2
make[1]: Leaving directory '/var/lib/dkms/tp_smapi/0.44/build'
make: *** [Makefile:248: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.17.0-7-generic'

# exit code: 2
# elapsed time: 23:00:02
----------------------------------------------------------------


This has been solved upstream in version 0.45
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106555

** Affects: tp-smapi (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  tp-smapi wont compile on newer kernels (fixed upstream)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tp-smapi/+bug/2132972/+subscriptions


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

Reply via email to