Building google breakpad for android but getting build errors. don't know how to fix them. code checkout from: code
and building as ndk build. the checkout code did not have lss folder.
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"
Command line is:
cd breakpad
git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
I had the same issue, and wasted a lot of times.
To solve this, I tried to do this:
"git clone https://chromium.googlesource.com/linux-syscall-support"
copy linux_syscall_support.h from "git\linux-syscall-support" to "android_breakpad\src\third_party\lss"
hope to help everyone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With