On Thu, 2011-02-03 at 13:07 +0100, Steffen Sledz wrote: > conftest.c:(.text+0xc): undefined reference to `mcount' That looks like your C library was either built without profiling support, or is using a different profiling ABI. (I think there was a change in this area for ARM EABI sometime around gcc 4.4, and glibc might not have caught up with it.) p.