You are not logged in.

#1 2020-05-24 12:01:08

djmwj1
Member
Registered: 2013-10-04
Posts: 32

[Solved] Kernel Compile - 5.6.14-arch1

Hello,
For some reason, I cannot compile the latest arch kernel: 5.6.14-arch1. When running makepkg it pushes the following output. Any help or pointers to resolve this is appreciated.
Thanks!

==> Starting build()...
scripts/kconfig/conf  --syncconfig Kconfig
  DESCEND  objtool
  HOSTCC  scripts/sorttable
  HOSTCC  scripts/selinux/genheaders/genheaders
  HOSTCC  scripts/selinux/mdp/mdp
make[4]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/stddef.h', needed by '/mnt/fast_store/kernel-build/linux/src/archlinux-linux/tools/objtool/fixdep.o'.  Stop.
make[3]: *** [Makefile:43: /mnt/fast_store/kernel-build/linux/src/archlinux-linux/tools/objtool/fixdep-in.o] Error 2
make[2]: *** [/mnt/fast_store/kernel-build/linux/src/archlinux-linux/tools/build/Makefile.include:5: fixdep] Error 2
make[1]: *** [Makefile:68: objtool] Error 2
make: *** [Makefile:1794: tools/objtool] Error 2
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...

Last edited by djmwj1 (2020-05-24 13:27:00)

Offline

#2 2020-05-24 12:22:35

loqs
Member
Registered: 2014-03-06
Posts: 18,928

Re: [Solved] Kernel Compile - 5.6.14-arch1

If the $srcdir had not been cleaned and gcc had been updated that could explain the issue.  If so makepkg -C should resolve the issue.

Offline

#3 2020-05-24 13:26:27

djmwj1
Member
Registered: 2013-10-04
Posts: 32

Re: [Solved] Kernel Compile - 5.6.14-arch1

Thanks! That was it.

Offline

Board footer

Powered by FluxBB