0

我的 Yocto 源Warrior目前处于启用状态,我正在将它们迁移到,因此我克隆了分支dunfell所需的所有层,包括.dunfellmeta-swupdate

现在,我正在尝试通过bitbake swupdate-image命令生成 swupdate 图像,dunfell但出现如下错误:

    .
    .      
    In file included from /home/panther2/dunfell/build/tmp/work/corei7-64-poky-linux/swupdate/2021.04-r0/git/corelib/verify_signature.c:15:
    /home/panther2/dunfell/build/tmp/work/corei7-64-poky-linux/swupdate/2021.04-r0/git/include/sslapi.h:31:10: fatal error: openssl/bio.h: No such file or directory
       31 | #include <openssl/bio.h>
          |          ^~~~~~~~~~~~~~~
    compilation terminated.
    .
    .
    make[2]: *** [core/swupdate.o] Error 1
    /home/panther2/dunfell/build/tmp/work/corei7-64-poky-linux/swupdate/2021.04-r0/git/mongoose/mongoose.c:4473:10: fatal error: openssl/ssl.h: No such file or directory
     4473 | #include <openssl/ssl.h>
          |          ^~~~~~~~~~~~~~~
    compilation terminated.
    .
    .

看起来它无法找到 ssl 相关的头文件。这有什么线索吗?

4

1 回答 1

0

swupdate 配方中没有 openssl 依赖项。

添加DEPENDS += "openssl"文件会swupdate_%.bbappend有所帮助。

于 2021-05-20T09:26:33.693 回答