http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c --- glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h.orig 2008-10-04 20:46:13.000000000 +0200 +++ glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2008-10-04 20:45:40.000000000 +0200 @@ -25,6 +25,7 @@ #include #include #include +#include #define FUTEX_WAIT 0 #define FUTEX_WAKE 1