Slackware Current has recently moved to GCC-14 which has much stricter error checking.... viewtopic.php?t=11473
Kernel 6.9.x fails to build with GCC-14 on Slackware Current - log attached. Problem may be very early in build at line 75:
Creating the kernel headers package
make[1]: *** No rule to make target 'headers_check'. Stop.
make: *** [Makefile:240: __sub-make] Error 2
Any ideas on how to fix or investigate welcomed!