Hi all,
 
When I compile ltp-full-20091130 on ppc64 machine which system is
RHEL5(kernel 2.6.18), I met compile error as follows:

[...]
ptrace04.c: In function ‘compare_registers’:
ptrace04.c:59: error: ‘PTRACE_GETREGS’ undeclared (first use in this function)
ptrace04.c:59: error: (Each undeclared identifier is reported only once
ptrace04.c:59: error: for each function it appears in.)
make[5]: *** [ptrace04] Error 1
[...]

It seems like there's no PTRACE_GETREGS in /usr/include/asm/ptrace.h
in old kernels, so I copy the definitions from new version of the
head file and my ltp on ppc64, RHEL5 works.

Thanks,
Caspar

Attachment: rhel5-ppc-PTRACE_GETREGS-compile-err.patch
Description: Binary data

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to