I am not compiling this with the target kernel being the active kernel. I think that the make oldconfig step uses /proc/config.gz to get the current running kernel's config applies that to the source tree. That is not my setup. IIRC SUSE supplied the config used to build the kernel in an RPM. Maybe I am remembering incorrectly. On Mon, Jul 22, 2024 at 5:06 PM kschneider bout-tyme.net <kschneider@bout-tyme.net> wrote:
On Jul 22, 2024, at 9:51 AM, Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
I am trying to build a kernel module out of the kernel source tree. I am trying this on leap 15.6
I am pretty sure that the module in question supports this. I am guessing that I am missing some additional package.
The complaint is as follows:
ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing.
Have you tried this!
Run 'make oldconfig && make prepare' on kernel src to fix it.
Ken
-- Roger Oberholtzer