Skip to content

make error #7

@Jesson029

Description

@Jesson029

In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:21: error: field ‘context’ has incomplete type ‘google_breakpad::ucontext’
struct ucontext context;
^~~~~~~
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
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:345:54: error: invalid application of ‘sizeof’ to incomplete type ‘google_breakpad::ucontext’
memcpy(&context.context, uc, sizeof(struct ucontext));
^
src/client/linux/handler/exception_handler.cc:349:13: error: invalid use of incomplete type ‘struct google_breakpad::ucontext’
if (uc_ptr->uc_mcontext.fpregs) {
^~
In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
src/client/linux/handler/exception_handler.cc:351:18: error: invalid use of incomplete type ‘struct google_breakpad::ucontext’
uc_ptr->uc_mcontext.fpregs,
^~
In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
make: *** [Makefile:3553:src/client/linux/handler/exception_handler.o]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions