Problem with kernel compilation

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
fabbrocino
Ronin
Ronin
Posts: 3
Joined: 16 Oct 2017, 15:00
Distribution: Porteus-v3.1

Problem with kernel compilation

Post#1 by fabbrocino » 22 Mar 2018, 10:50

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?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Problem with kernel compilation

Post#2 by fanthom » 22 Mar 2018, 15:47

You need full kernel sources and not the crippled ones.

Download from here:
https://www.kernel.org/
Please add [Solved] to your thread title if the solution was found.

Post Reply