Bug#1205: strace doesn't compile with newer kernel sources
strace doesn't compile anymore with newer kernel includes (e.g. 1.2.13's).
It creates a file 'linux/ioctlent.raw' which includes nearly all linux/*.h
files, to get at defines. In 1.2.13 some of these defines are
#ifdef __KERNEL__ 'd, so this file should do '#define __KERNEL__'.
'#include <linux/tqueue.h>' needs to be added, and
'#include <linux/termios.h>' needs to be moved upward.
Furthermore, the lines for MTIOCGETCONFIG and MTIOCSETCONFIG result in
problems which I couldn't solve (putting them into comments allowed
for further compiling, but is only a hack, not a solution).
Quite likely, similar problems will happen when using a 1.3.x kernel.
PATRIOTISM A great British writer once said that if he had to choose
between betraying his country and betraying a friend he hoped he would
have the decency to betray his country.
- The Hipcrime Vocab by Chad C. Mulligan