Public bug reported:

1. EXTRA_CFLAGS has been deprecated for a while and is then removed in
v6.15-rc1 commit e966ad0edd005 ("kbuild: remove EXTRA_*FLAGS support"),
which results in following errors:

# CC [M]  src/wl/sys/wl_linux.o
src/shared/linux_osl.c:23:10: fatal error: typedefs.h: No such file or directory
   23 | #include <typedefs.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** 
[/usr/src/linux-headers-6.15.0-9002-generic/scripts/Makefile.build:203: 
src/shared/linux_osl.o] Error 1

2. `del_timer{,_sync}` have been redirected to `timer_delete{,_sync}`
since v6.2-rc1 and they are now removed in v6.15-rc1 commit
8fa7292fee5c5 ("treewide: Switch/rename to timer_delete[_sync]()"):

# CC [M]  src/wl/sys/wl_linux.o
src/wl/sys/wl_linux.c: In function ‘wl_del_timer’:
src/wl/sys/wl_linux.c:2485:22: error: implicit declaration of function 
‘del_timer’; did you mean ‘_wl_timer’? [-Wimplicit-function-declaration]
 2485 |                 if (!del_timer(&t->timer)) {
      |                      ^~~~~~~~~
      |                      _wl_timer
make[4]: *** 
[/usr/src/linux-headers-6.15.0-9002-generic/scripts/Makefile.build:203: 
src/wl/sys/wl_linux.o] Error 1

** Affects: broadcom-sta (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/2111898

Title:
  Failed to build against linux-6.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/broadcom-sta/+bug/2111898/+subscriptions


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

Reply via email to