- 论坛徽章:
- 0
|
本帖最后由 0lin1 于 2011-11-23 10:47 编辑
shc编译时出错,求助各位大侠,我用的是HP-UNIX机器
*** Compiling script "match"
CFLAGS="-O -Ae" ./shc -v -f match
shc shll=sh
shc [-i]=-c
shc [-x]=exec '%s' "$@"
shc [-l]=
shc opts=
shc: cc -O -Ae match.x.c -o match.x
"match.x.c", line 259: error #2005-D: could not open source file "sys/ptrace.h"
#include <sys/ptrace.h>
^
"match.x.c", line 287: error #2020: identifier "PTRACE_ATTACH" is undefined
mine = !ptrace(PTRACE_ATTACH, pid, 0, 0);
^
2 errors detected in the compilation of "match.x.c".
./shc: Error 0
*** Error exit code 1
Stop. |
|