简体   繁体   English

Google破解版构建错误

[英]Google breakpad build error

Building google breakpad for android but getting build errors. 为Android构建google breakpad但是会出现构建错误。 don't know how to fix them. 不知道如何解决它们。 code checkout from: code 代码检出来自: 代码

and building as ndk build. 并构建为ndk构建。 the checkout code did not have lss folder. 结帐代码没有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"

I had the same issue, and wasted a lot of times. 我有同样的问题,浪费了很多次。

To solve this, I tried to do this: 为了解决这个问题,我尝试这样做:

  1. "git clone https://chromium.googlesource.com/linux-syscall-support " “git clone https://chromium.googlesource.com/linux-syscall-support

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

hope to help everyone. 希望能帮助大家。

Command line is: 命令行是:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM