{"action":"opened","issue":{"url":"https://api.github.com/repos/Qihoo360/phptrace/issues/13","labels_url":"https://api.github.com/repos/Qihoo360/phptrace/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/Qihoo360/phptrace/issues/13/comments","events_url":"https://api.github.com/repos/Qihoo360/phptrace/issues/13/events","html_url":"https://github.com/Qihoo360/phptrace/issues/13","id":53815942,"number":13,"title":"mac ","user":{"login":"qazxsqazwsx","id":10330704,"avatar_url":"https://avatars.githubusercontent.com/u/10330704?v=3","gravatar_id":"","url":"https://api.github.com/users/qazxsqazwsx","html_url":"https://github.com/qazxsqazwsx","followers_url":"https://api.github.com/users/qazxsqazwsx/followers","following_url":"https://api.github.com/users/qazxsqazwsx/following{/other_user}","gists_url":"https://api.github.com/users/qazxsqazwsx/gists{/gist_id}","starred_url":"https://api.github.com/users/qazxsqazwsx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qazxsqazwsx/subscriptions","organizations_url":"https://api.github.com/users/qazxsqazwsx/orgs","repos_url":"https://api.github.com/users/qazxsqazwsx/repos","events_url":"https://api.github.com/users/qazxsqazwsx/events{/privacy}","received_events_url":"https://api.github.com/users/qazxsqazwsx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-08T23:36:20Z","updated_at":"2015-01-08T23:36:20Z","closed_at":null,"body":"gcc -g -Wall -O2 -fno-strict-aliasing -D_GNU_SOURCE -I/usr/local/src/phptrace-master/cmdtool/../common -I/usr/local/src/phptrace-master/cmdtool/../common/sds -c sys_trace.c -o sys_trace.o \r\nsys_trace.c:7:20: error: use of undeclared identifier 'PTRACE_ATTACH'\r\n    if (0 > ptrace(PTRACE_ATTACH, pid, 0, 0)) {\r\n                   ^\r\nsys_trace.c:16:20: error: use of undeclared identifier 'PTRACE_DETACH'\r\n    if (0 > ptrace(PTRACE_DETACH, pid, (void *) 1, 0)) {\r\n                   ^\r\nsys_trace.c:38:20: error: use of undeclared identifier 'PTRACE_PEEKDATA'\r\n    *data = ptrace(PTRACE_PEEKDATA, pid, (void *) addr, 0);\r\n                   ^\r\nsys_trace.c:83:20: warning: implicit declaration of function 'kill' is invalid\r\n      in C99 [-Wimplicit-function-declaration]\r\n            return kill(pid, sig);\r\n                   ^\r\n1 warning and 3 errors generated.\r\nmake: *** [sys_trace.o] Error 1\r\n"}}