Error trying to compile custom kernel

Following the instructions from except that I am building directly from /usr/src/linux. I am getting this error in step 4:

 LANG=C sudo make 
make[1]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'.  Stop.
make: *** [arch/x86/Makefile:235: archheaders] Error 2

What version of the kernel are you trying to build?

That set of instructions specifically says it’s for 2.x and 3.x kernels. The current kernel on my TW system is 6.4.4, and on Leap 15.5, it’s 5.14.21 (might be an update available, haven’t checked)

I suspect this document may be out of date for the kernel version you’re looking to build. You might ask on the openSUSE Kernel mailing list (openSUSE Kernel - openSUSE Mailing Lists) for some pointers to more up-to-date information on how to do this.


Yeah, I’m willing to bet those instructions aren’t up-to-date enough for what you’re doing. The ML is where you’ll probably find better help for building your own kernel - I’d start there (we tend not to be developers here, especially kernel developers - though there are a very small number. That ML has folks who are dedicated to kernel development)

What is what means ML?

ML = Mailing List – see about 3 posts up.

1 Like

zypper really needs the depends tag that every other package manager has.