* Can't start menuconfig with Bitbake
@ 2018-07-12 16:08 Clay D. Montgomery
2018-07-12 17:11 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Clay D. Montgomery @ 2018-07-12 16:08 UTC (permalink / raw)
To: bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 1875 bytes --]
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...
[-- Attachment #2: clay.vcf --]
[-- Type: text/x-vcard, Size: 275 bytes --]
begin:vcard
fn:Clay D. Montgomery
n:Montgomery;Clay
org:Montgomery One
adr:;;;;Texas;;USA
email;internet:clay@montgomery1.com
title:Freelance Software Developer
tel;cell:580-490-6676
x-mozilla-html:TRUE
url:http://montgomery1.com/contact/
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can't start menuconfig with Bitbake
2018-07-12 16:08 Can't start menuconfig with Bitbake Clay D. Montgomery
@ 2018-07-12 17:11 ` Khem Raj
2018-07-12 22:26 ` Clay D. Montgomery
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2018-07-12 17:11 UTC (permalink / raw)
To: Clay D. Montgomery, bitbake-devel
[-- Attachment #1.1: Type: text/plain, Size: 2402 bytes --]
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.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can't start menuconfig with Bitbake
2018-07-12 17:11 ` Khem Raj
@ 2018-07-12 22:26 ` Clay D. Montgomery
0 siblings, 0 replies; 3+ messages in thread
From: Clay D. Montgomery @ 2018-07-12 22:26 UTC (permalink / raw)
To: Khem Raj, bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 2586 bytes --]
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.
>
[-- Attachment #2: clay.vcf --]
[-- Type: text/x-vcard, Size: 275 bytes --]
begin:vcard
fn:Clay D. Montgomery
n:Montgomery;Clay
org:Montgomery One
adr:;;;;Texas;;USA
email;internet:clay@montgomery1.com
title:Freelance Software Developer
tel;cell:580-490-6676
x-mozilla-html:TRUE
url:http://montgomery1.com/contact/
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-12 23:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-12 16:08 Can't start menuconfig with Bitbake Clay D. Montgomery
2018-07-12 17:11 ` Khem Raj
2018-07-12 22:26 ` Clay D. Montgomery
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.