Skip to content
This repository was archived by the owner on May 1, 2019. It is now read-only.
This repository was archived by the owner on May 1, 2019. It is now read-only.

Installation error #30

Description

@awakened1712

I got this when I tried pip install git+https://github.com/shellphish/shellphish-afl

    /tmp/pip-ugqYQB-build/bin/afl-multi-cgc/afl/qemu_mode/multicb-qemu/user-exec.c: In function ‘cpu_resume_from_signal’:
    /tmp/pip-ugqYQB-build/bin/afl-multi-cgc/afl/qemu_mode/multicb-qemu/user-exec.c:71:37: error: dereferencing pointer to incomplete type ‘struct ucontext’
             sigprocmask(SIG_SETMASK, &uc->uc_sigmask, NULL);
                                         ^~
    /tmp/pip-ugqYQB-build/bin/afl-multi-cgc/afl/qemu_mode/multicb-qemu/user-exec.c: In function ‘cpu_x86_signal_handler’:
    /tmp/pip-ugqYQB-build/bin/afl-multi-cgc/afl/qemu_mode/multicb-qemu/user-exec.c:213:41: error: dereferencing pointer to incomplete type ‘struct ucontext’
     #define PC_sig(context)       ((context)->uc_mcontext.gregs[REG_RIP])
                                             ^
    /tmp/pip-ugqYQB-build/bin/afl-multi-cgc/afl/qemu_mode/multicb-qemu/user-exec.c:232:10: note: in expansion of macro ‘PC_sig’
         pc = PC_sig(uc);
              ^~~~~~
    /tmp/pip-ugqYQB-build/bin/afl-multi-cgc/afl/qemu_mode/multicb-qemu/user-exec.c:237:1: warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^
    /tmp/pip-ugqYQB-build/bin/afl-multi-cgc/afl/qemu_mode/multicb-qemu/rules.mak:57: recipe for target 'user-exec.o' failed
    make[2]: *** [user-exec.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    Makefile:173: recipe for target 'subdir-i386-linux-user' failed
    make[1]: *** [subdir-i386-linux-user] Error 2
    make[1]: Leaving directory '/tmp/pip-ugqYQB-build/bin/afl-multi-cgc/afl/qemu_mode/multicb-qemu'
    Makefile:2: recipe for target 'all' failed
    make: *** [all] Error 1
    error: Unable to make afl-multi-cgc

Anything that can be done from my side for this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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