Unable to open menuconfig in bitbake

I was trying to open/modify menuconfig in order to use SDIO WiFi but I am getting below errors:
I do not have any problem in “bitbake -k console-tdx-image” build. I use LinuxImageV2.8
Could you please help me on this what is wrong?

I use “bitbake virtual/kernel -c menuconfig” to open menuconfig, it takes while but at last I get errors.

Errors:
menubox.c:(.text+0x11b2): undefined reference to `scrollok'
scripts/kconfig/lxdialog/menubox.o: In function `do_scroll':
menubox.c:(.text+0x38): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
menubox.c:(.text+0x173): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x2d2): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_arrows.constprop.0':
menubox.c:(.text+0x3d4): undefined reference to `wrefresh'
collect2: error: ld returned 1 exit status
scripts/Makefile.host:110: recipe for target 'scripts/kconfig/mconf' failed
make[3]: *** [scripts/kconfig/mconf] Error 1
/build/oe-core/build/tmp-glibc/work-shared/colibri-imx7-emmc/kernel-source/Makefile:555: recipe for target 'menuconfig' failed
make[2]: *** [menuconfig] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2
Command failed.
Press any key to continue...

What I myself have used is bitbake -c menuconfig virtual/kernel. I had not had any trouble running it like that. Maybe arguments are in different order?

Hi @jaimeibk
Thanks for your reply. it doesn’t help and I get same error.
I use below steps to pull code and build.

mkdir ~/bin
export PATH=~/bin:$PATH
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

git config --global user.name “First Last”
git config --global user.email username@iherb.com

mkdir oe-core
cd oe-core
repo init -u Index of /toradex-bsp-platform.git -b LinuxImageV2.8
repo sync
. export

Modify conf/local.conf file:
Add/uncomment MACHINE ?=colibri-imx7-emmc
Add ACCEPT_FSL_EULA = “1” at the end of file

cd oe-core
. export
bitbake -c menuconfig virtual/kernel
bitbake -k console-tdx-image

is there any other way to modify config and enable SDIO Interface for WiFi?

Thank you
Neeraj

What is the Linux Distribution ( name -a ) on your host?

Hi @jaski.tx
I am sorry I can’t access setup today but I have some log message if that helps you know ‘name -a’

repo init -u Index of /toradex-bsp-platform.git -b LinuxImageV2.8

The Angstrom Distribution colibri-imx7-emmc ttymxc0
Angstrom v2017.12 - Kernel
Colibri-iMX7-eMMC_Console-Image 2.8b6 20190722

Thank You
Neeraj

Hi @neeraj.verma

I mean the linux distribution of your host and not the module? And the command is ( uname -a ),

Best regards,
Jaski

Hi @jaski.tx
Sure, will share output of ‘uname -a’ by Monday as soon as I reach office.
I am actually trying to bring-up WiFi connected from SDIO.

Thank you
Neeraj

Hi @neeraj.verma ,

libncurses is missing on your host. Just install libncurses5-dev and it should compile.

Thank you for your help, I am able to open menuconfig after sudo apt-get install libncurses5-dev

root@colibri-imx7-emmc:~# uname -a Linux colibri-imx7-emmc 4.9.166-2.8.6+gd899927728be #1 SMP Mon Jul 22 18:51:47 UTC 2019 armv7l GNU/Linux