Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting undefined reference when building step 4 #5

Open
ofri65 opened this issue Jun 8, 2015 · 2 comments
Open

Getting undefined reference when building step 4 #5

ofri65 opened this issue Jun 8, 2015 · 2 comments

Comments

@ofri65
Copy link

ofri65 commented 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 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

@ofri65 ofri65 changed the title Getting Getting undefined reference when building step 4 Jun 8, 2015
@4ntoine
Copy link
Owner

4ntoine commented Jun 8, 2015

Hi, I did not test it for 64 bit target unfortunately.

@ofri65
Copy link
Author

ofri65 commented Jun 8, 2015

Do you think that may be the issue?

On Mon, Jun 8, 2015, 18:48 Anton Smirnov [email protected] wrote:

Hi, I did not test it for 64 bit target unfortunately.


Reply to this email directly or view it on GitHub
#5 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants