【问题标题】:Google breakpad build error谷歌breakpad构建错误
【发布时间】:2016-05-26 11:13:52
【问题描述】:

为 android 构建 google breakpad 但出现构建错误。 不知道如何解决它们。 代码签出:code

并构建为 ndk build。结帐代码没有 lss 文件夹。

google-breakpad/android/google_breakpad/../../src/google_breakpad/common/breakpad_types.h:45:2: error: #error "inttypes.h has already been included before this header file, but "
 #error "inttypes.h has already been included before this header file, but "
  ^
jni/../google-breakpad/android/google_breakpad/../../src/google_breakpad/common/breakpad_types.h:46:2: error: #error "without __STDC_FORMAT_MACROS defined."
 #error "without __STDC_FORMAT_MACROS defined."
/google-breakpad/android/google_breakpad/../../src/common/memory.h:51:51: fatal error: third_party/lss/linux_syscall_support.h: No such file or directory
 #include "third_party/lss/linux_syscall_support.h"

【问题讨论】:

    标签: android c++ google-breakpad


    【解决方案1】:

    命令行是:

    cd breakpad
    git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
    

    【讨论】:

      【解决方案2】:

      我也遇到了同样的问题,浪费了很多次。

      为了解决这个问题,我尝试这样做:

      1. “git克隆https://chromium.googlesource.com/linux-syscall-support

      2. 将 linux_syscall_support.h 从“git\linux-syscall-support”复制到“android_breakpad\src\third_party\lss”

      希望对大家有所帮助。

      【讨论】:

      • 谢谢你,现在我可以使用工具了
      猜你喜欢
      • 1970-01-01
      • 2012-07-03
      • 1970-01-01
      • 1970-01-01
      • 2022-08-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-15
      相关资源
      最近更新 更多