src/client/linux/microdump_writer/microdump_writer.cc:276:2: error: #error "This code has not been ported to your platform yet" #error "This code has not been ported to your platform yet" ^ src/client/linux/handler/exception_handler.cc:702:2: error: #error "This code has not been ported to your platform yet." #error "This code has not been ported to your platform yet." ^ In file included from ./src/client/linux/dump_writer_common/thread_info.h:37:0, from src/client/linux/dump_writer_common/thread_info.cc:30: ./src/common/memory.h: In member function 'uint8_t* google_breakpad::PageAllocator::GetNPages(size_t)': ./src/common/memory.h:120:58: error: 'sys_mmap' was not declared in this scope MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); ^ ./src/common/memory.h: In member function 'void google_breakpad::PageAllocator::FreeAll()': ./src/common/memory.h:145:50: error: 'sys_munmap' was not declared in this scope sys_munmap(cur, cur->num_pages * page_size_); ^ In file included from src/client/linux/dump_writer_common/thread_info.cc:30:0: ./src/client/linux/dump_writer_common/thread_info.h: At global scope: ./src/client/linux/dump_writer_common/thread_info.h:80:23: error: 'RawContextCPU' has not been declared void FillCPUContext(RawContextCPU* out) const; ^ src/client/linux/dump_writer_common/thread_info.cc: In member function 'void google_breakpad::ThreadInfo::GetGeneralPurposeRegisters(void**, size_t*)': src/client/linux/dump_writer_common/thread_info.cc:284:21: error: expected primary-expression before ';' token *gp_regs = ®s; ^ src/client/linux/dump_writer_common/thread_info.cc:286:24: error: invalid application of 'sizeof' to incomplete type 'regs' *size = sizeof(regs); ^ src/client/linux/dump_writer_common/thread_info.cc: In member function 'void google_breakpad::ThreadInfo::GetFloatingPointRegisters(void**, size_t*)': src/client/linux/dump_writer_common/thread_info.cc:299:17: error: 'fpregs' was not declared in this scope *fp_regs = &fpregs; ^ src/client/linux/dump_writer_common/thread_info.cc:301:20: error: 'fpregs' was not declared in this scope *size = sizeof(fpregs); ^ make[2]: *** [src/client/linux/dump_writer_common/thread_info.o] Error 1 In file included from ./src/client/linux/dump_writer_common/ucontext_reader.h:37:0, from src/client/linux/dump_writer_common/ucontext_reader.cc:30: ./src/common/memory.h: In member function 'uint8_t* google_breakpad::PageAllocator::GetNPages(size_t)': ./src/common/memory.h:120:58: error: 'sys_mmap' was not declared in this scope MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); ^ ./src/common/memory.h: In member function 'void google_breakpad::PageAllocator::FreeAll()': ./src/common/memory.h:145:50: error: 'sys_munmap' was not declared in this scope sys_munmap(cur, cur->num_pages * page_size_); ^ In file included from src/client/linux/dump_writer_common/ucontext_reader.cc:30:0: ./src/client/linux/dump_writer_common/ucontext_reader.h: At global scope: ./src/client/linux/dump_writer_common/ucontext_reader.h:58:30: error: 'RawContextCPU' has not been declared static void FillCPUContext(RawContextCPU *out, const ucontext *uc); ^ In file included from ./src/client/linux/dump_writer_common/thread_info.h:37:0, from ./src/client/linux/minidump_writer/linux_dumper.h:54, from ./src/client/linux/minidump_writer/minidump_writer.h:41, from ./src/client/linux/handler/exception_handler.h:42, from src/client/linux/crash_generation/crash_generation_server.cc:46: ./src/common/memory.h: In member function 'uint8_t* google_breakpad::PageAllocator::GetNPages(size_t)': ./src/common/memory.h:120:58: error: 'sys_mmap' was not declared in this scope MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); ^ ./src/common/memory.h: In member function 'void google_breakpad::PageAllocator::FreeAll()': ./src/common/memory.h:145:50: error: 'sys_munmap' was not declared in this scope sys_munmap(cur, cur->num_pages * page_size_); ^ In file included from ./src/client/linux/minidump_writer/linux_dumper.h:54:0, from ./src/client/linux/minidump_writer/minidump_writer.h:41, from ./src/client/linux/handler/exception_handler.h:42, from src/client/linux/crash_generation/crash_generation_server.cc:46: ./src/client/linux/dump_writer_common/thread_info.h: At global scope: ./src/client/linux/dump_writer_common/thread_info.h:80:23: error: 'RawContextCPU' has not been declared void FillCPUContext(RawContextCPU* out) const; ^ In file included from ./src/client/linux/minidump_writer/minidump_writer.h:41:0, from ./src/client/linux/handler/exception_handler.h:42, from src/client/linux/crash_generation/crash_generation_server.cc:46: ./src/client/linux/minidump_writer/linux_dumper.h:70:22: error: 'elf_aux_entry' was not declared in this scope typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:36: error: expected primary-expression before ')' token typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:38: error: expected ')' before numeric constant typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:67: error: expected ')' before ';' token typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:67: warning: 'typedef' was ignored in this declaration [enabled by default] ./src/client/linux/minidump_writer/linux_dumper.h:109:25: error: 'elf_aux_val_t' was not declared in this scope const wasteful_vector& auxv() { return auxv_; } ^ ./src/client/linux/minidump_writer/linux_dumper.h:109:38: error: template argument 1 is invalid const wasteful_vector& auxv() { return auxv_; } ^ ./src/client/linux/minidump_writer/linux_dumper.h:207:19: error: 'elf_aux_val_t' was not declared in this scope wasteful_vector auxv_; ^ ./src/client/linux/minidump_writer/linux_dumper.h:207:32: error: template argument 1 is invalid wasteful_vector auxv_; ^ In file included from src/client/linux/crash_generation/crash_generation_server.cc:46:0: ./src/client/linux/handler/exception_handler.h:199:15: error: field 'float_state' has incomplete type fpstate_t float_state; ^ make[2]: *** [src/client/linux/dump_writer_common/ucontext_reader.o] Error 1 src/client/linux/crash_generation/crash_generation_client.cc: In member function 'virtual bool google_breakpad::{anonymous}::CrashGenerationClientImpl::RequestDump(const void*, size_t)': src/client/linux/crash_generation/crash_generation_client.cc:53:21: error: 'sys_pipe' was not declared in this scope if (sys_pipe(fds) < 0) ^ src/client/linux/crash_generation/crash_generation_client.cc:57:25: error: aggregate 'google_breakpad::{anonymous}::CrashGenerationClientImpl::RequestDump(const void*, size_t)::kernel_iovec iov' has incomplete type and cannot be defined struct kernel_iovec iov; ^ src/client/linux/crash_generation/crash_generation_client.cc:61:26: error: variable 'google_breakpad::{anonymous}::CrashGenerationClientImpl::RequestDump(const void*, size_t)::kernel_msghdr msg' has initializer but incomplete type struct kernel_msghdr msg = { 0 }; ^ In file included from src/client/linux/crash_generation/crash_generation_client.cc:38:0: src/client/linux/crash_generation/crash_generation_client.cc:75:63: error: 'sys_sendmsg' was not declared in this scope ssize_t ret = HANDLE_EINTR(sys_sendmsg(server_fd_, &msg, 0)); ^ ./src/common/linux/eintr_wrapper.h:40:14: note: in definition of macro 'HANDLE_EINTR' __typeof__(x) eintr_wrapper_result; \ ^ ./src/common/linux/eintr_wrapper.h:40:37: error: invalid type in declaration before ';' token __typeof__(x) eintr_wrapper_result; \ ^ src/client/linux/crash_generation/crash_generation_client.cc:75:19: note: in expansion of macro 'HANDLE_EINTR' ssize_t ret = HANDLE_EINTR(sys_sendmsg(server_fd_, &msg, 0)); ^ src/client/linux/crash_generation/crash_generation_client.cc:76:21: error: 'sys_close' was not declared in this scope sys_close(fds[1]); ^ In file included from src/client/linux/crash_generation/crash_generation_client.cc:39:0: src/client/linux/crash_generation/crash_generation_client.cc:84:51: error: 'sys_read' was not declared in this scope IGNORE_RET(HANDLE_EINTR(sys_read(fds[0], &b, 1))); ^ ./src/common/linux/ignore_ret.h:38:32: note: in definition of macro 'IGNORE_RET' #define IGNORE_RET(x) do { if (x) {} } while (0) ^ src/client/linux/crash_generation/crash_generation_client.cc:84:16: note: in expansion of macro 'HANDLE_EINTR' IGNORE_RET(HANDLE_EINTR(sys_read(fds[0], &b, 1))); ^ ./src/common/linux/eintr_wrapper.h:40:37: error: invalid type in declaration before ';' token __typeof__(x) eintr_wrapper_result; \ ^ ./src/common/linux/ignore_ret.h:38:32: note: in definition of macro 'IGNORE_RET' #define IGNORE_RET(x) do { if (x) {} } while (0) ^ src/client/linux/crash_generation/crash_generation_client.cc:84:16: note: in expansion of macro 'HANDLE_EINTR' IGNORE_RET(HANDLE_EINTR(sys_read(fds[0], &b, 1))); ^ In file included from ./src/client/linux/dump_writer_common/thread_info.h:37:0, from ./src/client/linux/minidump_writer/linux_dumper.h:54, from ./src/client/linux/minidump_writer/linux_core_dumper.h:37, from src/client/linux/minidump_writer/linux_core_dumper.cc:33: ./src/common/memory.h: In member function 'uint8_t* google_breakpad::PageAllocator::GetNPages(size_t)': ./src/common/memory.h:120:58: error: 'sys_mmap' was not declared in this scope MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); ^ ./src/common/memory.h: In member function 'void google_breakpad::PageAllocator::FreeAll()': ./src/common/memory.h:145:50: error: 'sys_munmap' was not declared in this scope sys_munmap(cur, cur->num_pages * page_size_); ^ In file included from ./src/client/linux/minidump_writer/linux_dumper.h:54:0, from ./src/client/linux/minidump_writer/linux_core_dumper.h:37, from src/client/linux/minidump_writer/linux_core_dumper.cc:33: ./src/client/linux/dump_writer_common/thread_info.h: At global scope: ./src/client/linux/dump_writer_common/thread_info.h:80:23: error: 'RawContextCPU' has not been declared void FillCPUContext(RawContextCPU* out) const; ^ In file included from ./src/client/linux/minidump_writer/linux_core_dumper.h:37:0, from src/client/linux/minidump_writer/linux_core_dumper.cc:33: ./src/client/linux/minidump_writer/linux_dumper.h:70:22: error: 'elf_aux_entry' was not declared in this scope typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:36: error: expected primary-expression before ')' token typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:38: error: expected ')' before numeric constant typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:67: error: expected ')' before ';' token typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:67: warning: 'typedef' was ignored in this declaration [enabled by default] ./src/client/linux/minidump_writer/linux_dumper.h:109:25: error: 'elf_aux_val_t' was not declared in this scope const wasteful_vector& auxv() { return auxv_; } ^ ./src/client/linux/minidump_writer/linux_dumper.h:109:38: error: template argument 1 is invalid const wasteful_vector& auxv() { return auxv_; } ^ make[2]: *** [src/client/linux/crash_generation/crash_generation_client.o] Error 1 ./src/client/linux/minidump_writer/linux_dumper.h:207:19: error: 'elf_aux_val_t' was not declared in this scope wasteful_vector auxv_; ^ ./src/client/linux/minidump_writer/linux_dumper.h:207:32: error: template argument 1 is invalid wasteful_vector auxv_; ^ make[2]: *** [src/client/linux/crash_generation/crash_generation_server.o] Error 1 In file included from ./src/client/linux/dump_writer_common/thread_info.h:37:0, from ./src/client/linux/minidump_writer/linux_dumper.h:54, from ./src/client/linux/minidump_writer/minidump_writer.h:41, from ./src/client/linux/handler/exception_handler.h:42, from src/client/linux/handler/exception_handler.cc:66: ./src/common/memory.h: In member function 'uint8_t* google_breakpad::PageAllocator::GetNPages(size_t)': ./src/common/memory.h:120:58: error: 'sys_mmap' was not declared in this scope MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); ^ ./src/common/memory.h: In member function 'void google_breakpad::PageAllocator::FreeAll()': ./src/common/memory.h:145:50: error: 'sys_munmap' was not declared in this scope sys_munmap(cur, cur->num_pages * page_size_); ^ In file included from ./src/client/linux/minidump_writer/linux_dumper.h:54:0, from ./src/client/linux/minidump_writer/minidump_writer.h:41, from ./src/client/linux/handler/exception_handler.h:42, from src/client/linux/handler/exception_handler.cc:66: ./src/client/linux/dump_writer_common/thread_info.h: At global scope: ./src/client/linux/dump_writer_common/thread_info.h:80:23: error: 'RawContextCPU' has not been declared void FillCPUContext(RawContextCPU* out) const; ^ In file included from ./src/client/linux/minidump_writer/minidump_writer.h:41:0, from ./src/client/linux/handler/exception_handler.h:42, from src/client/linux/handler/exception_handler.cc:66: ./src/client/linux/minidump_writer/linux_dumper.h:70:22: error: 'elf_aux_entry' was not declared in this scope typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:36: error: expected primary-expression before ')' token typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:38: error: expected ')' before numeric constant typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:67: error: expected ')' before ';' token typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:67: warning: 'typedef' was ignored in this declaration [enabled by default] ./src/client/linux/minidump_writer/linux_dumper.h:109:25: error: 'elf_aux_val_t' was not declared in this scope const wasteful_vector& auxv() { return auxv_; } ^ ./src/client/linux/minidump_writer/linux_dumper.h:109:38: error: template argument 1 is invalid const wasteful_vector& auxv() { return auxv_; } ^ In file included from ./src/client/linux/dump_writer_common/thread_info.h:37:0, from src/client/linux/microdump_writer/microdump_writer.cc:39: ./src/common/memory.h: In member function 'uint8_t* google_breakpad::PageAllocator::GetNPages(size_t)': ./src/common/memory.h:120:58: error: 'sys_mmap' was not declared in this scope MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); ^ ./src/common/memory.h: In member function 'void google_breakpad::PageAllocator::FreeAll()': ./src/common/memory.h:145:50: error: 'sys_munmap' was not declared in this scope sys_munmap(cur, cur->num_pages * page_size_); ^ In file included from src/client/linux/microdump_writer/microdump_writer.cc:39:0: ./src/client/linux/dump_writer_common/thread_info.h: At global scope: ./src/client/linux/dump_writer_common/thread_info.h:80:23: error: 'RawContextCPU' has not been declared void FillCPUContext(RawContextCPU* out) const; ^ In file included from src/client/linux/microdump_writer/microdump_writer.cc:40:0: ./src/client/linux/dump_writer_common/ucontext_reader.h:58:30: error: 'RawContextCPU' has not been declared static void FillCPUContext(RawContextCPU *out, const ucontext *uc); ^ src/client/linux/minidump_writer/linux_core_dumper.cc: In member function 'virtual bool google_breakpad::LinuxCoreDumper::EnumerateThreads()': src/client/linux/minidump_writer/linux_core_dumper.cc:210:22: error: 'struct google_breakpad::ThreadInfo' has no member named 'regs' memcpy(&info.regs, status->pr_reg, sizeof(info.regs)); ^ In file included from ./src/client/linux/minidump_writer/minidump_writer.h:41:0, from ./src/client/linux/handler/exception_handler.h:42, from src/client/linux/microdump_writer/microdump_writer.cc:41: ./src/client/linux/minidump_writer/linux_dumper.h:70:22: error: 'elf_aux_entry' was not declared in this scope typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:36: error: expected primary-expression before ')' token typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ src/client/linux/minidump_writer/linux_core_dumper.cc:210:56: error: 'struct google_breakpad::ThreadInfo' has no member named 'regs' memcpy(&info.regs, status->pr_reg, sizeof(info.regs)); ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:38: error: expected ')' before numeric constant typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:67: error: expected ')' before ';' token typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t; ^ ./src/client/linux/minidump_writer/linux_dumper.h:70:67: warning: 'typedef' was ignored in this declaration [enabled by default] ./src/client/linux/minidump_writer/linux_dumper.h:109:25: error: 'elf_aux_val_t' was not declared in this scope const wasteful_vector& auxv() { return auxv_; } ^ ./src/client/linux/minidump_writer/linux_dumper.h:109:38: error: template argument 1 is invalid const wasteful_vector& auxv() { return auxv_; } ^ ./src/client/linux/minidump_writer/linux_dumper.h:207:19: error: 'elf_aux_val_t' was not declared in this scope wasteful_vector auxv_; ^ ./src/client/linux/minidump_writer/linux_dumper.h:207:32: error: template argument 1 is invalid wasteful_vector auxv_; ^ ./src/client/linux/minidump_writer/linux_dumper.h:207:19: error: 'elf_aux_val_t' was not declared in this scope wasteful_vector auxv_; ^ ./src/client/linux/minidump_writer/linux_dumper.h:207:32: error: template argument 1 is invalid wasteful_vector auxv_; ^ In file included from src/client/linux/handler/exception_handler.cc:66:0: ./src/client/linux/handler/exception_handler.h:199:15: error: field 'float_state' has incomplete type fpstate_t float_state; ^ In file included from src/client/linux/microdump_writer/microdump_writer.cc:41:0: ./src/client/linux/handler/exception_handler.h:199:15: error: field 'float_state' has incomplete type fpstate_t float_state; ^ src/client/linux/microdump_writer/microdump_writer.cc:59:24: error: 'google_breakpad::RawContextCPU' has not been declared using google_breakpad::RawContextCPU; ^ src/client/linux/microdump_writer/microdump_writer.cc:396:21: error: 'RawContextCPU' has not been declared void DumpCPUState(RawContextCPU* cpu) { ^ src/client/linux/microdump_writer/microdump_writer.cc: In constructor '{anonymous}::MicrodumpWriter::MicrodumpWriter(const google_breakpad::ExceptionHandler::CrashContext*, const MappingList&, const google_breakpad::MicrodumpExtraInfo&, google_breakpad::LinuxDumper*)': src/client/linux/microdump_writer/microdump_writer.cc:139:42: error: 'const struct google_breakpad::ExceptionHandler::CrashContext' has no member named 'float_state' float_state_(context ? &context->float_state : NULL), ^ src/client/linux/microdump_writer/microdump_writer.cc: In member function 'void {anonymous}::MicrodumpWriter::DumpOSInformation()': src/client/linux/microdump_writer/microdump_writer.cc:282:15: error: 'kArch' was not declared in this scope LogAppend(kArch); ^ src/client/linux/microdump_writer/microdump_writer.cc: In member function 'bool {anonymous}::MicrodumpWriter::DumpCrashingThread()': src/client/linux/microdump_writer/microdump_writer.cc:384:7: error: 'RawContextCPU' was not declared in this scope RawContextCPU cpu; ^ src/client/linux/microdump_writer/microdump_writer.cc:384:21: error: expected ';' before 'cpu' RawContextCPU cpu; ^ src/client/linux/microdump_writer/microdump_writer.cc:385:18: error: 'cpu' was not declared in this scope my_memset(&cpu, 0, sizeof(RawContextCPU)); ^ src/client/linux/microdump_writer/microdump_writer.cc: In member function 'void {anonymous}::MicrodumpWriter::DumpModule(const google_breakpad::MappingInfo&, bool, unsigned int, const uint8_t*)': src/client/linux/microdump_writer/microdump_writer.cc:445:61: error: 'memcpy' was not declared in this scope std::min(sizeof(MDGUID), identifier_bytes.size())); ^ make[2]: *** [src/client/linux/minidump_writer/linux_core_dumper.o] Error 1 make[2]: *** [src/client/linux/microdump_writer/microdump_writer.o] Error 1 src/client/linux/handler/exception_handler.cc: In function 'void google_breakpad::{anonymous}::InstallAlternateStackLocked()': src/client/linux/handler/exception_handler.cc:141:42: error: 'memset' was not declared in this scope memset(&old_stack, 0, sizeof(old_stack)); ^ src/client/linux/handler/exception_handler.cc:151:39: error: 'sys_sigaltstack' was not declared in this scope if (sys_sigaltstack(NULL, &old_stack) == -1 || !old_stack.ss_sp || ^ src/client/linux/handler/exception_handler.cc: In function 'void google_breakpad::{anonymous}::RestoreAlternateStackLocked()': src/client/linux/handler/exception_handler.cc:170:43: error: 'sys_sigaltstack' was not declared in this scope if (sys_sigaltstack(NULL, ¤t_stack) == -1) ^ src/client/linux/handler/exception_handler.cc:177:43: error: 'sys_sigaltstack' was not declared in this scope if (sys_sigaltstack(&old_stack, NULL) == -1) ^ src/client/linux/handler/exception_handler.cc:182:47: error: 'sys_sigaltstack' was not declared in this scope if (sys_sigaltstack(&disable_stack, NULL) == -1) ^ src/client/linux/handler/exception_handler.cc: In constructor 'google_breakpad::ExceptionHandler::ExceptionHandler(const google_breakpad::MinidumpDescriptor&, google_breakpad::ExceptionHandler::FilterCallback, google_breakpad::ExceptionHandler::MinidumpCallback, void*, bool, int)': src/client/linux/handler/exception_handler.cc:251:56: error: 'memset' was not declared in this scope memset(&g_crash_context_, 0, sizeof(g_crash_context_)); ^ src/client/linux/handler/exception_handler.cc: In static member function 'static bool google_breakpad::ExceptionHandler::InstallHandlersLocked()': src/client/linux/handler/exception_handler.cc:291:28: error: 'memset' was not declared in this scope memset(&sa, 0, sizeof(sa)); ^ src/client/linux/handler/exception_handler.cc: In member function 'bool google_breakpad::ExceptionHandler::HandleSignal(int, siginfo_t*, void*)': src/client/linux/handler/exception_handler.cc:436:42: error: 'sys_prctl' was not declared in this scope sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0); ^ src/client/linux/handler/exception_handler.cc:440:56: error: 'memset' was not declared in this scope memset(&g_crash_context_, 0, sizeof(g_crash_context_)); ^ src/client/linux/handler/exception_handler.cc:441:60: error: 'memcpy' was not declared in this scope memcpy(&g_crash_context_.siginfo, info, sizeof(siginfo_t)); ^ src/client/linux/handler/exception_handler.cc:456:27: error: 'struct mcontext_t' has no member named 'fpregs' if (uc_ptr->uc_mcontext.fpregs) { ^ src/client/linux/handler/exception_handler.cc:457:30: error: 'struct google_breakpad::ExceptionHandler::CrashContext' has no member named 'float_state' memcpy(&g_crash_context_.float_state, uc_ptr->uc_mcontext.fpregs, ^ src/client/linux/handler/exception_handler.cc:457:63: error: 'struct mcontext_t' has no member named 'fpregs' memcpy(&g_crash_context_.float_state, uc_ptr->uc_mcontext.fpregs, ^ src/client/linux/handler/exception_handler.cc:458:36: error: 'struct google_breakpad::ExceptionHandler::CrashContext' has no member named 'float_state' sizeof(g_crash_context_.float_state)); ^ src/client/linux/handler/exception_handler.cc: In member function 'bool google_breakpad::ExceptionHandler::GenerateDump(google_breakpad::ExceptionHandler::CrashContext*)': src/client/linux/handler/exception_handler.cc:511:20: error: 'sys_pipe' was not declared in this scope if (sys_pipe(fdes) == -1) { ^ src/client/linux/handler/exception_handler.cc:518:33: error: 'strerror' was not declared in this scope logger::write(strerror(errno), strlen(strerror(errno))); ^ src/client/linux/handler/exception_handler.cc:518:58: error: 'strlen' was not declared in this scope logger::write(strerror(errno), strlen(strerror(errno))); ^ src/client/linux/handler/exception_handler.cc:527:36: error: 'sys_clone' was not declared in this scope &thread_arg, NULL, NULL, NULL); ^ src/client/linux/handler/exception_handler.cc:529:22: error: 'sys_close' was not declared in this scope sys_close(fdes[0]); ^ src/client/linux/handler/exception_handler.cc:535:43: error: 'sys_prctl' was not declared in this scope sys_prctl(PR_SET_PTRACER, child, 0, 0, 0); ^ In file included from src/client/linux/handler/exception_handler.cc:97:0: src/client/linux/handler/exception_handler.cc:538:64: error: 'sys_waitpid' was not declared in this scope const int r = HANDLE_EINTR(sys_waitpid(child, &status, __WALL)); ^ ./src/common/linux/eintr_wrapper.h:40:14: note: in definition of macro 'HANDLE_EINTR' __typeof__(x) eintr_wrapper_result; \ ^ ./src/common/linux/eintr_wrapper.h:40:37: error: invalid type in declaration before ';' token __typeof__(x) eintr_wrapper_result; \ ^ src/client/linux/handler/exception_handler.cc:538:17: note: in expansion of macro 'HANDLE_EINTR' const int r = HANDLE_EINTR(sys_waitpid(child, &status, __WALL)); ^ src/client/linux/handler/exception_handler.cc:540:20: error: 'sys_close' was not declared in this scope sys_close(fdes[0]); ^ src/client/linux/handler/exception_handler.cc:546:33: error: 'strerror' was not declared in this scope logger::write(strerror(errno), strlen(strerror(errno))); ^ src/client/linux/handler/exception_handler.cc:546:58: error: 'strlen' was not declared in this scope logger::write(strerror(errno), strlen(strerror(errno))); ^ In file included from src/client/linux/handler/exception_handler.cc:97:0: src/client/linux/handler/exception_handler.cc: In member function 'void google_breakpad::ExceptionHandler::SendContinueSignalToChild()': src/client/linux/handler/exception_handler.cc:560:73: error: 'sys_write' was not declared in this scope r = HANDLE_EINTR(sys_write(fdes[1], &okToContinueMessage, sizeof(char))); ^ ./src/common/linux/eintr_wrapper.h:40:14: note: in definition of macro 'HANDLE_EINTR' __typeof__(x) eintr_wrapper_result; \ ^ ./src/common/linux/eintr_wrapper.h:40:37: error: invalid type in declaration before ';' token __typeof__(x) eintr_wrapper_result; \ ^ src/client/linux/handler/exception_handler.cc:560:7: note: in expansion of macro 'HANDLE_EINTR' r = HANDLE_EINTR(sys_write(fdes[1], &okToContinueMessage, sizeof(char))); ^ src/client/linux/handler/exception_handler.cc:565:33: error: 'strerror' was not declared in this scope logger::write(strerror(errno), strlen(strerror(errno))); ^ src/client/linux/handler/exception_handler.cc:565:58: error: 'strlen' was not declared in this scope logger::write(strerror(errno), strlen(strerror(errno))); ^ In file included from src/client/linux/handler/exception_handler.cc:97:0: src/client/linux/handler/exception_handler.cc: In member function 'void google_breakpad::ExceptionHandler::WaitForContinueSignal()': src/client/linux/handler/exception_handler.cc:575:68: error: 'sys_read' was not declared in this scope r = HANDLE_EINTR(sys_read(fdes[0], &receivedMessage, sizeof(char))); ^ ./src/common/linux/eintr_wrapper.h:40:14: note: in definition of macro 'HANDLE_EINTR' __typeof__(x) eintr_wrapper_result; \ ^ ./src/common/linux/eintr_wrapper.h:40:37: error: invalid type in declaration before ';' token __typeof__(x) eintr_wrapper_result; \ ^ src/client/linux/handler/exception_handler.cc:575:7: note: in expansion of macro 'HANDLE_EINTR' r = HANDLE_EINTR(sys_read(fdes[0], &receivedMessage, sizeof(char))); ^ src/client/linux/handler/exception_handler.cc:580:33: error: 'strerror' was not declared in this scope logger::write(strerror(errno), strlen(strerror(errno))); ^ src/client/linux/handler/exception_handler.cc:580:58: error: 'strlen' was not declared in this scope logger::write(strerror(errno), strlen(strerror(errno))); ^ src/client/linux/handler/exception_handler.cc: In member function 'bool google_breakpad::ExceptionHandler::WriteMinidump()': src/client/linux/handler/exception_handler.cc:647:40: error: 'sys_prctl' was not declared in this scope sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0); ^ src/client/linux/handler/exception_handler.cc:678:19: error: 'struct google_breakpad::ExceptionHandler::CrashContext' has no member named 'float_state' memcpy(&context.float_state, context.context.uc_mcontext.fpregs, ^ src/client/linux/handler/exception_handler.cc:678:60: error: 'struct mcontext_t' has no member named 'fpregs' memcpy(&context.float_state, context.context.uc_mcontext.fpregs, ^ src/client/linux/handler/exception_handler.cc:679:25: error: 'struct google_breakpad::ExceptionHandler::CrashContext' has no member named 'float_state' sizeof(context.float_state)); ^ src/client/linux/handler/exception_handler.cc:679:37: error: 'memcpy' was not declared in this scope sizeof(context.float_state)); ^ src/client/linux/handler/exception_handler.cc:681:28: error: 'sys_gettid' was not declared in this scope context.tid = sys_gettid(); ^ src/client/linux/handler/exception_handler.cc:684:54: error: 'memset' was not declared in this scope memset(&context.siginfo, 0, sizeof(context.siginfo)); ^ src/client/linux/handler/exception_handler.cc: In member function 'void google_breakpad::ExceptionHandler::AddMappingInfo(const string&, const uint8_t*, uintptr_t, size_t, size_t)': src/client/linux/handler/exception_handler.cc:717:57: error: 'strncpy' was not declared in this scope strncpy(info.name, name.c_str(), sizeof(info.name) - 1); ^ src/client/linux/handler/exception_handler.cc:722:52: error: 'memcpy' was not declared in this scope memcpy(mapping.second, identifier, sizeof(MDGUID)); ^ make[2]: *** [src/client/linux/handler/exception_handler.o] Error 1 make[1]: *** [/home/peko/autobuild/instance-0/output/build/host-google-breakpad-7515ab13768c7edc09f0f2ec2354dc6c928239a6/.stamp_built] Error 2 make: *** [_all] Error 2 make: Leaving directory `/home/peko/autobuild/instance-0/buildroot'