[bitbake-devel] Can't start menuconfig with Bitbake

Clay D. Montgomery clay at montgomery1.com
Thu Jul 12 22:26:11 UTC 2018


Raj,

    Installing ncurses-dev did resolve the problem. Thank you!

Regards, Clay


On 7/12/2018 12:11 PM, Khem Raj wrote:
> On 7/12/18 10:08 AM, Clay D. Montgomery wrote:
>> Hello,
>>
>>     I am having a basic problem with trying to use Bitbake to run
>> menuconfig.
>> Bitbake otherwise works fine for me. I have done many large builds of
>> Yocto.
>>
>>   I am running on a Ubuntu 14.04 32-bit system which is up to date, but
>> the RAM is limited to 4 GB.
>> I have pasted a sample of the errors I get below.  I shortened this
>> considerably.
>>
>> I would appreciate any advice on how to resolve this.
>>
>> Thanks, Clay Montgomery
>>
>>
>>
>> bitbake -c menuconfig virtual/kernel
>>
>>
>>    GEN     ./Makefile
>>    HOSTLD  scripts/kconfig/mconf
>> scripts/kconfig/mconf.o: In function `show_help':
>> mconf.c:(.text+0x927): undefined reference to `stdscr'
>> scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
>> checklist.c:(.text+0x31): undefined reference to `wmove'
>> checklist.c:(.text+0x4e): undefined reference to `acs_map'
>> checklist.c:(.text+0x5a): undefined reference to `waddch'
>> util.c:(.text+0x1826): undefined reference to `keypad'
>> util.c:(.text+0x182e): undefined reference to `wgetch'
>> util.c:(.text+0x1838): undefined reference to `wgetch'
>> menubox.c:(.text+0x11db): undefined reference to `acs_map'
>> menubox.c:(.text+0x11eb): undefined reference to `waddch'
>> menubox.c:(.text+0x1278): undefined reference to `scrollok'
>> scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
>> menubox.c:(.text+0x1ab): undefined reference to `wrefresh'
>> scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
>> menubox.c:(.text+0x356): undefined reference to `wrefresh'
>> scripts/kconfig/lxdialog/menubox.o: In function `print_arrows.constprop.0':
>> menubox.c:(.text+0x478): undefined reference to `wrefresh'
>> collect2: error: ld returned 1 exit status
>> make[3]: *** [scripts/kconfig/mconf] Error 1
>> make[2]: *** [menuconfig] Error 2
>> make[1]: *** [sub-make] Error 2
>> make: *** [__sub-make] Error 2
>> Command failed.
>> Press any key to continue...
>>
>>
> it means its missing ncurses library and development headers on your
> build host. this task should generally depend on ncurses-native as here
>
> meta/classes/cml1.bbclass:do_menuconfig[depends] +=
> "ncurses-native:do_populate_sysroot"
>
> I don't know why this is not working in your case. May be another
> workaround is to just install ncurses-dev on your build host.
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: clay.vcf
Type: text/x-vcard
Size: 262 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20180712/0d87a424/attachment-0002.vcf>


More information about the bitbake-devel mailing list