<div dir="ltr"><div><div>Hi,<br><br>I ran into this problem since I didn&#39;t happen to have ncurses development package installed on my host at the time. &quot;bitbake -c menuconfig busybox&quot; and &quot;make menuconfig&quot; in a busybox devshell fails:<br>
<br>make -f scripts/Makefile.build obj=scripts/kconfig/lxdialog<br>  gcc -Wp,-MD,scripts/kconfig/lxdialog/.checklist.o.d  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer   -DCURSES_LOC=&quot;&lt;curses.h&gt;&quot; -DLOCALE    -c -o scripts/kconfig/lxdialog/checklist.o scripts/kconfig/lxdialog/checklist.c<br>
In file included from scripts/kconfig/lxdialog/checklist.c:24:0:<br>scripts/kconfig/lxdialog/dialog.h:31:20: fatal error: curses.h: No such file or directory<br> #include CURSES_LOC<br>                    ^<br>compilation terminated.<br>
<br></div><div>The following change fixes the problem on my system:<br><br>--- busybox-1.22.1.orig/scripts/kconfig/lxdialog/Makefile<br>+++ busybox-1.22.1/scripts/kconfig/lxdialog/Makefile<br>@@ -5,8 +5,8 @@ check-lxdialog  := $(srctree)/$(src)/che<br>
 <br> # Use reursively expanded variables so we do not call gcc unless<br> # we really need to do so. (Do not call gcc as part of make mrproper)<br>-HOST_EXTRACFLAGS = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags)<br>
-HOST_LOADLIBES   = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC))<br>+HOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags)<br>+HOST_LOADLIBES   += $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC))<br>
<br></div>But I&#39;m no kconfig expert.. anyway, anyone have any comments on this ?<br><br></div>&quot;make menuconfig&quot; for the linux kernel works as expected.<br><br><div><div><div>  -- Jacob
</div></div></div></div>