2 Strace has been ported by Branko Lankester <branko@hacktic.nl>
3 to run on Linux systems. Since then it has been greatly modified
4 by various other people.
6 If you want to compile strace on a Linux system please make sure
7 that you use very recent kernel headers. Strace needs those to get
8 the proper data structures used by the kernel, since these can be
9 different from the structures that the C library uses. Currently
10 you will need a 2.2.7 or newer kernel.
12 There are two ways to do this:
13 * you can link /usr/include/linux and /usr/include/asm to the corresponding
14 directories in your kernel source-tree.
16 * you can tell make where your kernel sources are. For example if you have your
17 kernelsource in /usr/src/linux, you should invoke make like this:
19 make CFLAGS=-I/usr/src/linux/include