gmacario / easy-build

Collection of Dockerfiles for building embedded software distributions
Mozilla Public License 2.0
154 stars 83 forks source link

build-yocto: Cannot invoke "bitbake -c menuconfig virtual/kernel" #280

Closed gmacario closed 6 years ago

gmacario commented 6 years ago

Initially the command failed as in https://github.com/gmacario/easy-build/issues/279

With commit https://github.com/gmacario/easy-build/commit/8155a245dc3804bf925aca461acf04a013de7897 command bitbake -c menuconfig virtual/kernel still fails probably because of some native libraries missing in the Docker image:

scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x2a6): undefined reference to `wmove'
scripts/kconfig/lxdialog/menubox.o: In function `print_arrows.constprop.0':
menubox.c:(.text+0x2f9): undefined reference to `wmove'
menubox.c:(.text+0x313): undefined reference to `acs_map'
...
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:127: recipe for target 'scripts/kconfig/mconf' failed
make[2]: *** [scripts/kconfig/mconf] Error 1
/workspace/build/tmp/work-shared/us03-hsxx/kernel-source/Makefile:512: recipe for target 'menuconfig' failed
make[1]: *** [menuconfig] Error 2
Makefile:133: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
Command failed.
Press any key to continue...