[meta-intel] menuconfig not working with rocko branch and linux-intel

Max Halldén max.hallden at wisi.se
Wed Jan 24 07:54:22 PST 2018


Sure, but it's really not much. I can reproduce it with poky
and meta-intel at rocko branch with almost no change to the
default configuration.

If I diff meta-poky/conf/local.conf.sample to my local.conf I get:
38c38
< MACHINE ??= "qemux86"
---
 > MACHINE = "intel-corei7-64"

and same for meta-poky/conf/bblayers.conf.sample and my bblayers.conf:
<   ##OEROOT##/meta \
<   ##OEROOT##/meta-poky \
<   ##OEROOT##/meta-yocto-bsp \
---
 >   /home/max/projects/menuconfigtest/poky/meta \
 >   /home/max/projects/menuconfigtest/poky/meta-poky \
 >   /home/max/projects/menuconfigtest/poky/meta-yocto-bsp \
 >   /home/max/projects/menuconfigtest/poky/meta-intel \

Originally I built with the crops/poky:ubuntu-16.04 docker
image, but I can also reproduce it natively on my Ubuntu
17.10 machine.

But I think I found a workaround at least. Installing
libncurses5-dev on the build host solves the problem so
that's probably why you can't reproduce it.

Still, libncurses5-dev is not needed when setting
MACHINE='qemux86' instead of intel-corei7-64, which seems
weird.

Thanks,
Max


On 2018-01-23 20:48, Cal Sullivan wrote:
> I wasn't able to reproduce this with either the HEAD of rocko branches 
> or their release tags.
> Could you share any changes in your local.conf and your bblayers.conf?
>
> Thanks,
> Cal
>
> On 01/22/2018 01:51 AM, Max Halldén wrote:
>> Hi all,
>>
>> I have a project based on poky and the meta-intel layer and
>> both are on the rocko (2.4) branch.
>>
>> I have a problem with menuconfig not working. Specifically
>> 'bitbake -c menuconfig virtual/kernel' works when using
>> 'vanilla' poky, but not after adding the meta-intel layer
>> and setting 'MACHINE=intel-corei7-64'.
>>
>> I've added some of the error I get below, which seems to
>> indicate ncurses is missing, but I can't understand what it
>> is with the meta-intel configuration that makes it not work
>> for linux-intel when it's working with linux-yocto.
>>
>> I've looked for anything ncurses in linux-yocto that isn't
>> in linux-intel, but can't find anything that looks wrong.
>>
>> Best regards
>> Max
>>
>> [...]
>> menubox.c:(.text+0x874): undefined reference to `wrefresh'
>> menubox.c:(.text+0x890): undefined reference to `wgetch'
>> menubox.c:(.text+0x99a): undefined reference to `delwin'
>> menubox.c:(.text+0x9a2): undefined reference to `delwin'
>> menubox.c:(.text+0xac2): undefined reference to `wnoutrefresh'
>> menubox.c:(.text+0xacb): undefined reference to `wrefresh'
>> menubox.c:(.text+0xb18): undefined reference to `delwin'
>> menubox.c:(.text+0xb20): undefined reference to `delwin'
>> menubox.c:(.text+0xb27): undefined reference to `stdscr'
>> menubox.c:(.text+0xc25): undefined reference to `delwin'
>> menubox.c:(.text+0xc2d): undefined reference to `delwin'
>> menubox.c:(.text+0xcdf): undefined reference to `wrefresh'
>> menubox.c:(.text+0xdf8): undefined reference to `stdscr'
>> menubox.c:(.text+0xfb9): undefined reference to `wbkgdset'
>> menubox.c:(.text+0xfc0): undefined reference to `acs_map'
>> menubox.c:(.text+0xfc7): undefined reference to `waddch'
>> menubox.c:(.text+0x1059): 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+0x17e): undefined reference to `wrefresh'
>> scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
>> menubox.c:(.text+0x2b8): undefined reference to `wrefresh'
>> scripts/kconfig/lxdialog/menubox.o: In function 
>> `print_arrows.constprop.0':
>> menubox.c:(.text+0x3c3): undefined reference to `wrefresh'
>> collect2: error: ld returned 1 exit status
>> scripts/Makefile.host:116: recipe for target 'scripts/kconfig/mconf' 
>> failed
>> make[3]: *** [scripts/kconfig/mconf] Error 1
>> /workdir/build/workspace/sources/linux-intel/Makefile:546: recipe for 
>> target 'menuconfig' failed
>> make[2]: *** [menuconfig] Error 2
>> Makefile:150: 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.
>>
>>
>



More information about the meta-intel mailing list