The missing limits.h is an issue whith gcc:s new include-fixed directory. The upstreams fix for this can be found at http://sourceware.org/ml/libc-alpha/2007-03/msg00017.html.