You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have worked step by step according to your guidance.
Step 3 - breakpad build goes well
Step 4 - running ndk-build I get a lot of undefined reference errors.
Can you please assist?
ndk-build
[arm64-v8a] SharedLibrary : libnative_exception_handler.so
/home/shalom/workspace/Acra-breakpad-master/lib/obj/local/arm64-v8a/libbreakpad_client.a(minidump_writer.o): In function WriteThreadListStream': /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:330: undefined reference togoogle_breakpad::UContextReader::GetStackPointer(ucontext const_)'
/home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:336: undefined reference to google_breakpad::UContextReader::GetInstructionPointer(ucontext const_)' /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:382: undefined reference to google_breakpad::UContextReader::FillCPUContext(MDRawContextARM64*, ucontext const*, fpsimd_context const*)'
/home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:387: undefined reference togoogle_breakpad::SeccompUnwinder::PopSeccompStackFrame(MDRawContextARM64_, MDRawThread const&, unsigned char_)' /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:407: undefined reference to google_breakpad::ThreadInfo::FillCPUContext(MDRawContextARM64*) const'
/home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:409: undefined reference togoogle_breakpad::SeccompUnwinder::PopSeccompStackFrame(MDRawContextARM64_, MDRawThread const&, unsigned char_)' /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:417: undefined reference to google_breakpad::ThreadInfo::GetInstructionPointer() const'
/home/shalom/workspace/Acra-breakpad-master/lib/obj/local/arm64-v8a/libbreakpad_client.a(exception_handler.o): In functiongoogle_breakpad::ExceptionHandler::DoDump(int, void const_, unsigned long)': /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/handler/exception_handler.cc:579: undefined reference to google_breakpad::WriteMicrodump(int, void const_, unsigned long, std::list<google_breakpad::MappingEntry, std::allocator<google_breakpad::MappingEntry> > const&, char const_, char const_)'
/home/shalom/workspace/Acra-breakpad-master/lib/obj/local/arm64-v8a/libbreakpad_client.a(linux_ptrace_dumper.o): In function google_breakpad::LinuxPtraceDumper::GetThreadInfoByIndex(unsigned long, google_breakpad::ThreadInfo*)': /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/linux_ptrace_dumper.cc:193: undefined reference togoogle_breakpad::ThreadInfo::GetGeneralPurposeRegisters(void**, unsigned long*)'
/home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/linux_ptrace_dumper.cc:198: undefined reference to `google_breakpad::ThreadInfo::GetFloatingPointRegisters(void**, unsigned long_)'
collect2: error: ld returned 1 exit status
make: *_* [/home/shalom/workspace/Acra-breakpad-master/lib/obj/local/arm64-v8a/libnative_exception_handler.so] Error 1
Thanks
Ofri
The text was updated successfully, but these errors were encountered:
ofri65
changed the title
Getting
Getting undefined reference when building step 4
Jun 8, 2015
Hi,
I have worked step by step according to your guidance.
Step 3 - breakpad build goes well
Step 4 - running ndk-build I get a lot of undefined reference errors.
Can you please assist?
ndk-build
[arm64-v8a] SharedLibrary : libnative_exception_handler.so
/home/shalom/workspace/Acra-breakpad-master/lib/obj/local/arm64-v8a/libbreakpad_client.a(minidump_writer.o): In function
WriteThreadListStream': /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:330: undefined reference to
google_breakpad::UContextReader::GetStackPointer(ucontext const_)'/home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:336: undefined reference to
google_breakpad::UContextReader::GetInstructionPointer(ucontext const_)' /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:382: undefined reference to
google_breakpad::UContextReader::FillCPUContext(MDRawContextARM64*, ucontext const*, fpsimd_context const*)'/home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:387: undefined reference to
google_breakpad::SeccompUnwinder::PopSeccompStackFrame(MDRawContextARM64_, MDRawThread const&, unsigned char_)' /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:407: undefined reference to
google_breakpad::ThreadInfo::FillCPUContext(MDRawContextARM64*) const'/home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:409: undefined reference to
google_breakpad::SeccompUnwinder::PopSeccompStackFrame(MDRawContextARM64_, MDRawThread const&, unsigned char_)' /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/minidump_writer.cc:417: undefined reference to
google_breakpad::ThreadInfo::GetInstructionPointer() const'/home/shalom/workspace/Acra-breakpad-master/lib/obj/local/arm64-v8a/libbreakpad_client.a(exception_handler.o): In function
google_breakpad::ExceptionHandler::DoDump(int, void const_, unsigned long)': /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/handler/exception_handler.cc:579: undefined reference to
google_breakpad::WriteMicrodump(int, void const_, unsigned long, std::list<google_breakpad::MappingEntry, std::allocator<google_breakpad::MappingEntry> > const&, char const_, char const_)'/home/shalom/workspace/Acra-breakpad-master/lib/obj/local/arm64-v8a/libbreakpad_client.a(linux_ptrace_dumper.o): In function
google_breakpad::LinuxPtraceDumper::GetThreadInfoByIndex(unsigned long, google_breakpad::ThreadInfo*)': /home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/linux_ptrace_dumper.cc:193: undefined reference to
google_breakpad::ThreadInfo::GetGeneralPurposeRegisters(void**, unsigned long*)'/home/shalom/workspace/Acra-breakpad-master/lib/jni/breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/linux_ptrace_dumper.cc:198: undefined reference to `google_breakpad::ThreadInfo::GetFloatingPointRegisters(void**, unsigned long_)'
collect2: error: ld returned 1 exit status
make: *_* [/home/shalom/workspace/Acra-breakpad-master/lib/obj/local/arm64-v8a/libnative_exception_handler.so] Error 1
Thanks
Ofri
The text was updated successfully, but these errors were encountered: