Discussion:
[gentoo-user] *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl'
(too old to reply)
t***@sys-concept.com
2023-12-05 00:50:01 UTC
Permalink
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
--
Thelma
Ionen Wolkens
2023-12-05 08:10:01 UTC
Permalink
Post by t***@sys-concept.com
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
t***@sys-concept.com
2023-12-05 17:00:02 UTC
Permalink
Post by Ionen Wolkens
Post by t***@sys-concept.com
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
You are correct, thanks.
Emerging linux-6.1.57-gentoo solved the problem

Loading...