strace: invalid use of undefined type ‘struct pt_regs’

view full story

http://stackoverflow.com – I was using built-in strace given in /system/xbin/ directory in the emulator and it was giving me wrong set of system calls such as msgget() and msgrcv() which are not supported by Android even. I downloaded a new strace4.7 from Source Forge and tried to build with the instructions given at this link. During building, when I run make command, it gives me following error: syscall.c:916:2: error: invalid use of undefined type ‘struct pt_regs’ I have downloaded ptrace.h and put it in strace directory but then it asks for other undefined struct parameters like ARM_pi etc which are not d (HowTos)