In file included from ptrace.c:97:0:
arch/default-syscalls.h:30:1: error: '__NR_socket' undeclared here (not in a function)
arch/default-syscalls.h:31:1: error: '__NR_connect' undeclared here (not in a function)
arch/default-syscalls.h:32:1: error: '__NR_sendmsg' undeclared here (not in a function)
I don't expect i386 to have all these syscalls, there is socketcall instead.
I don't expect i386 to have all these syscalls, there is
socketcall
instead.Building for amd64 works fine.