On Mon, Dec 04, 2023 at 05:48:41PM -0700, the...@sys-concept.com wrote: > I'm compiling a new system (in (chroot) livecd) and trying to compile a new > kernel: > Running: > make && make modules_install > SYNC include/config/auto.conf > HOSTCC scripts/kconfig/conf.o > HOSTLD scripts/kconfig/conf > 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:242: archheaders] Error 2 > > kerenl is: linux-6.1.60-gentoo-dist
That "gentoo-dist" indicates that it is a distribution kernel[1], are you trying to build the minimal sources provided by it? It's only intended to build out-of-tree modules and/or things like menuconfig given the kernel itself is built by portage. Did you mean to install sys-kernel/gentoo-sources rather than gentoo-kernel? [1] https://wiki.gentoo.org/wiki/Project:Distribution_Kernel -- ionen
signature.asc
Description: PGP signature