Hello!

Compiling strace with newer kernel sources is not so difficult as the
bug reports from Ray Dassen suggest. Starting with the strace source
as found on sunsite's devel/strace

diff --recursive strace-3.0/syscall.c strace-new/syscall.c
35a36,41
> #ifdef LINUX
> #define __KERNEL__
> #include <linux/errno.h>
> #undef __KERNEL__
> #endif
>
diff --recursive strace-3.0/system.c strace-new/system.c
40a41
> #include <linux/mman.h>

I've compiled it here with sources for kernel 1.3.0. Newer kernels should
also work.

Greetings,
  Wichert.

Reply via email to