Linux 启用多库时,填充\u sdk失败

Linux 启用多库时,填充\u sdk失败,linux,sdk,embedded-linux,yocto,Linux,Sdk,Embedded Linux,Yocto,我正在尝试使用yocto生成SDK 硬件:x64 通用元英特尔层 图像:核心图像最小 我在conf文件中启用了multilib以支持32位库 require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" 当我运行以下命令时:bitbake-c populate_sdk core image minimal,我在最后一个阶段遇到以下错误 The follow

我正在尝试使用yocto生成SDK

硬件:x64

通用元英特尔层

图像:核心图像最小

我在conf文件中启用了multilib以支持32位库

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
当我运行以下命令时:
bitbake-c populate_sdk core image minimal
,我在最后一个阶段遇到以下错误

The following packages have unmet dependencies:
 lib32-packagegroup-core-standalone-sdk-target : Depends: lib32-glibc-gconv-cp1252 but it is not installable
                                                 Depends: lib32-glibc-gconv-ibm850 but it is not installable
                                                 Depends: lib32-glibc-gconv-iso8859-1 but it is not installable
                                                 Depends: lib32-glibc-gconv-iso8859-15 but it is not installable
                                                 Depends: lib32-glibc-localedata-i18n but it is not installable
                                                 Depends: lib32-libatomic-dev but it is not installable
                                                 Depends: lib32-libatomic1 but it is not installable
                                                 Depends: lib32-libc6 but it is not installable
                                                 Depends: lib32-libc6-dbg but it is not installable
                                                 Depends: lib32-libc6-dev but it is not installable
                                                 Depends: lib32-libc6-thread-db but it is not installable
                                                 Depends: lib32-libc6-utils but it is not installable
                                                 Depends: lib32-libgcc-s-dev but it is not installable
                                                 Depends: lib32-libgcc1 but it is not installable
                                                 Depends: lib32-libsegfault but it is not installable
                                                 Depends: lib32-libstdc++-dev but it is not installable
                                                 Depends: lib32-libstdc++6 but it is not installable
                                                 Recommends: lib32-libssp-dev but it is not installable
                                                 Recommends: lib32-libssp0 but it is not installable
E: Unable to correct problems, you have held broken packages.

ERROR: core-image-minimal-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
如何解决此错误。我在yocto邮件列表中看到了类似的帖子


谢谢你抽出时间。。感谢您的努力。

我的一位同事通过如下更改
conf/local.conf
解决了这个问题:

# packaging
PACKAGE_CLASSES ?= "package_ipk"
#PACKAGE_CLASSES ?= "package_deb package_ipk"
看来,包_deb是问题的一部分


当然,它留下的问题和它回答的一样多,但可能足以让您通过当前的程序块。

SDK\u机器变量的值是多少?我在我的local.confI分配的SDKMACHINE?=“i686”中没有看到任何这样的变量,即使我遇到了相同的错误。我如何解决这个问题。。这对我真的有用吗。很奇怪。谢谢。