【问题标题】:fatal error: sys/cdefs.h: No such file or directory while compiling openssl-1.1.0h致命错误:sys/cdefs.h:编译 openssl-1.1.0h 时没有这样的文件或目录
【发布时间】:2018-08-09 10:53:09
【问题描述】:

我正在尝试为 android 编译 open ssl。 我按照这个链接进行编译。

https://stackoverflow.com/questions/11929773/compiling-the-latest-openssl-for-android
但我立即陷入了这个错误。

fatal error: sys/cdefs.h: No such file or directory  #  include <sys/cdefs.h>

【问题讨论】:

    标签: android android-ndk openssl ndk-build


    【解决方案1】:

    点击另一个链接帮助我解决了这个问题。
    libc6-dev-i386 没有安装在我的系统中。 在我的 Ubuntu 中使用此命令安装后,错误消失了。

    sudo apt-get install g++-multilib
    

    Answer from ubuntu link for reference

    【讨论】:

      猜你喜欢
      • 2016-06-19
      • 1970-01-01
      • 1970-01-01
      • 2012-10-13
      • 2018-10-02
      • 1970-01-01
      • 2020-04-13
      • 2017-09-19
      • 1970-01-01
      相关资源
      最近更新 更多