when run configure it test for netlink.h.
when testing it it includes linux/socket.h which does
define sockaddr, when including netlink.h it get
redefined, so it errors out and does not find netlink.h
when compiling net.c needs netlink.h ( for sockaddr_nl)
and error because it gets not included since
HAVE_LINUX_NETLINK_H is not set ( i that needs to be
fixed too but i fixed the configure stuff so
sys/socket.h gets includes (as it should be)
diff -Naur strace-4.5.14.orig/configure
strace-4.5.14/configure
--- strace-4.5.14.orig/configure 2006-01-12
11:20:14.000000000 +0000
+++ strace-4.5.14/configure 2006-04-07
23:24:48.000000000 +0000
@@ -6945,7 +6945,7 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <linux/socket.h>
+#include <sys/socket.h>
#include <$ac_header>
_ACEOF
michael@labuschke.de
Fixed in v4.5.20~35.