You are not logged in.
Pages: 1
I am trying to compile a new kernel, following this: https://wiki.archlinux.org/index.php/Ke … mpilation/. When i try to write the make command i get this output:
[aleks@aleks linux-4.18.5]$ make
scripts/kconfig/conf --syncconfig Kconfig
SYSTBL arch/x86/include/generated/asm/syscalls_32.h
SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h
SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h
SYSTBL arch/x86/include/generated/asm/syscalls_64.h
HYPERCALLS arch/x86/include/generated/asm/xen-hypercalls.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h
HOSTCC scripts/basic/bin2c
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
HOSTLD arch/x86/tools/relocs
UPD include/config/kernel.release
WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h
WRAP arch/x86/include/generated/uapi/asm/poll.h
WRAP arch/x86/include/generated/asm/dma-contiguous.h
WRAP arch/x86/include/generated/asm/early_ioremap.h
WRAP arch/x86/include/generated/asm/mcs_spinlock.h
WRAP arch/x86/include/generated/asm/mm-arch-hooks.h
UPD include/generated/uapi/linux/version.h
UPD include/generated/utsrelease.h
CC kernel/bounds.s
UPD include/generated/bounds.h
/bin/sh: bc: command not found
make[1]: *** [Kbuild:42: include/generated/timeconst.h] Error 127
make: *** [Makefile:1081: prepare0] Error 2I have tried many times now, with different settings, and I keep getting the same result, if I try with -j4, i still get the same error, but it continues to compile for a while, but i dont get the image file. I have used the (B) configuration from the wiki, first using localmodconfig, then gconfig.
I hope I included everything needed, if not please let me know. Thanks for any help on this.
Last edited by alekstgrd (2018-08-28 15:51:36)
Offline
ewaller@turing/home/ewaller % pacman -Qo bc
/usr/bin/bc is owned by bc 1.07.1-1
ewaller@turing/home/ewaller %Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Install bc package from official repos. It is required to build kernel, and would be installed as makedepends if you build the kernel using makepkg.
Offline
/bin/sh: bc: command not found
That's about as clear as an error message can be. Install the dependencies - specifically bc for this error.
Note this is covered in the wiki page you linked to.
Install the core packages
Install the base-devel package group, which contains necessary packages such as make and gcc. It is also recommended to install the following packages, as listed in the default Arch kernel PKGBUILD: xmlto, kmod, inetutils, bc, libelf, git
Last edited by Trilby (2018-08-28 15:51:03)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks everyone! I actually just figred out how stupid I have been right after making this post, makes me feel quite stupid, struggeling with this for two days.
Offline
Pages: 1