2
4

1 回答 1

1

我收到了类似的消息

Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
vmb@mercury:~/virtualbox-home-drive/vmb/tci6638/oe-layersetup-mcsdk/build$ bitbake
Pseudo is not present but is required, building this first before the main build
ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
Traceback (most recent call last):
  File "external_linaro_toolchain_version_handler(e)", line 12, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0x1e99590>)
  File "external-linaro-toolchain-versions.inc", line 4, in elt_get_gdb_version(d=<bb.data_smart.DataSmart object at 0x1e0c190>)
NameError: global name 'CmdError' is not defined

Loading cache: 100% |##########################################################################################################################################################################################################################################################################################| ETA:  00:00:00
Loaded 34 entries from dependency cache.
/home/vmb/tools/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory                                                                                        | ETA:  --:--:--
ERROR: ExpansionError during parsing /home/vmb/tci6638/oe-layersetup-mcsdk/sources/meta-arago/meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb: Failure expanding variable ARG_VER_GDB[:=], expression was ${@arg_get_gdb_version(d)} which triggered exception IndexError: list index out of range
/home/vmb/tools/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
ERROR: Command execution failed: Exited with 1

原来这是导致我的问题的最后一个错误......我需要安装 ncurses 库

您的输出中有一行可能是问题所在

ERROR: Layer 'linaro' depends on layer 'networking-layer', but this layer is not enabled in your configuration
于 2013-10-03T14:59:56.207 回答