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 followed the blog instructions exactly and ran into problems when I tried to compile on Ubuntu 14.04 using QT Creator 3.5.1 with QT 5.5.1 and gcc.
There were 20 errors total: 12 in crash_handler.cpp, 1 in exception_handler.cpp, 5 in minidump_writer.cc, and 2 in linux_ptrace_dumper.cc.
There were some multiple definition errors like:
.../crashhandler/crash_handler.cpp:46: error: multiple definition of Breakpad::CrashHandlerPrivate::pHandler' In functionQByteArray::length() const' in crash_handler.o
.../crashhandler/crash_handler.cpp:46: error: multiple definition of Breakpad::CrashHandlerPrivate::bReportCrashesToSystem' in functionload': in crash_handler.o
There were also several undefined reference errors in the google_breakpad code:
.../crashhandler/src/client/linux/minidump_writer/minidump_writer.cc:328: error: undefined reference to `google_breakpad::UContextReader::GetStackPointer(ucontext const*)'
Any idea what's causing the errors?
The text was updated successfully, but these errors were encountered:
I figured it out. The multiple definition errors were because I had included crash_handler.cpp directly in the QT project. I removed it and those errors went away.
The undefined reference errors were because of some new files in the google breakpad project. Mostly in dump_writer_common. I added those to the .pri file and it compiled.
I followed the blog instructions exactly and ran into problems when I tried to compile on Ubuntu 14.04 using QT Creator 3.5.1 with QT 5.5.1 and gcc.
There were 20 errors total: 12 in crash_handler.cpp, 1 in exception_handler.cpp, 5 in minidump_writer.cc, and 2 in linux_ptrace_dumper.cc.
There were some multiple definition errors like:
.../crashhandler/crash_handler.cpp:46: error: multiple definition of
Breakpad::CrashHandlerPrivate::pHandler' In function
QByteArray::length() const' in crash_handler.o.../crashhandler/crash_handler.cpp:46: error: multiple definition of
Breakpad::CrashHandlerPrivate::bReportCrashesToSystem' in function
load': in crash_handler.oThere were also several undefined reference errors in the google_breakpad code:
.../crashhandler/src/client/linux/minidump_writer/minidump_writer.cc:328: error: undefined reference to `google_breakpad::UContextReader::GetStackPointer(ucontext const*)'
Any idea what's causing the errors?
The text was updated successfully, but these errors were encountered: