Page 1 of 1

Problem with kernel compilation

Posted: 22 Mar 2018, 10:50
by fabbrocino
I have a problem with kernel compilation.
I have download Porteus-KDE-v4.0rc4-x86_64.iso, crippled_sources.xzm and 05-devel.xzm to "x86_64/Porteus-v4.0/kernel/linux-4.15.2/"
but when i execute "make menuconfig" he gives me the following error:

Code: Select all

root@porteus:/usr/src/linux# make menuconfig
  HOSTCC  scripts/kconfig/mconf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf  Kconfig
init/Kconfig:1664: can't open file "arch/Kconfig"
make[1]: *** [scripts/kconfig/Makefile:29: menuconfig] Error 1
make: *** [Makefile:504: menuconfig] Error 2
root@porteus:/usr/src/linux#
why?

Problem with kernel compilation

Posted: 22 Mar 2018, 15:47
by fanthom
You need full kernel sources and not the crippled ones.

Download from here:
https://www.kernel.org/