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
{{ message }}
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.
so far everything was fine, then i executed the make command
Making all in src
make[1]: Entering directory '/home/smartcow/PythonProfiler/pyflame/src'
make all-am
make[2]: Entering directory '/home/smartcow/PythonProfiler/pyflame/src'
CXX libfrob26_la-frob26.lo
CXXLD libfrob26.la
ar: `u' modifier ignored since `D' is the default (see `U') CXX libfrob36_la-frob36.lo CXXLD libfrob36.laar: `u' modifier ignored since `D' is the default (see `U') CXX aslr.o CXX frame.o CXX thread.o CXX namespace.o CXX posix.o CXX prober.o CXX ptrace.optrace.cc: In function‘user_regs_struct pyflame::PtraceGetRegs(pid_t)’:ptrace.cc:127:14: error: ‘PTRACE_GETREGS’ was not declared in this scopeif (ptrace(PTRACE_GETREGS, pid, 0, ®s)) { ^~~~~~~~~~~~~~ptrace.cc:127:14: note: suggested alternative: ‘PTRACE_GETREGSET’if (ptrace(PTRACE_GETREGS, pid, 0, ®s)) { ^~~~~~~~~~~~~~ PTRACE_GETREGSETptrace.cc: In function‘void pyflame::PtraceSetRegs(pid_t, user_regs_struct)’:ptrace.cc:136:14: error: ‘PTRACE_SETREGS’ was not declared in this scopeif (ptrace(PTRACE_SETREGS, pid, 0, ®s)) { ^~~~~~~~~~~~~~ptrace.cc:136:14: note: suggested alternative: ‘PTRACE_SETREGSET’if (ptrace(PTRACE_SETREGS, pid, 0, ®s)) { ^~~~~~~~~~~~~~ PTRACE_SETREGSETMakefile:512: recipe for target 'ptrace.o' failedmake[2]: *** [ptrace.o] Error 1make[2]: Leaving directory '/home/smartcow/PythonProfiler/pyflame/src'Makefile:369: recipe for target 'all' failedmake[1]: *** [all] Error 2make[1]: Leaving directory '/home/smartcow/PythonProfiler/pyflame/src'Makefile:475: recipe for target 'all-recursive' failedmake: *** [all-recursive] Error 1
ptrace might be causing any issues so i tried below command
sudo apt-get update
sudo apt-get install python-ptrace
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-ptrace is already the newest version (0.7-1).
0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
still the error is same.
The text was updated successfully, but these errors were encountered:
I followed the official docs for the installation on ubuntu. First i installed all dependencies:
then i executed
so far everything was fine, then i executed the make command
ptrace might be causing any issues so i tried below command
still the error is same.
The text was updated successfully, but these errors were encountered: