为Android构建google breakpad但是会出现构建错误。 不知道如何解决它们。 代码结帐自:code
并构建为ndk构建。结帐代码没有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"
答案 0 :(得分:3)
我遇到了同样的问题,浪费了很多次。
为了解决这个问题,我尝试这样做:
“git clone https://chromium.googlesource.com/linux-syscall-support”
将linux_syscall_support.h从“git \ linux-syscall-support”复制到“android_breakpad \ src \ third_party \ lss”
答案 1 :(得分:1)
命令行是:
$page = new AdminPage($args);
$networkPage = new AdminPage($args, true);