Android ndk build mysteriously failing under cygwin with "Error 126"

Posted by Jan Hudec on Stack Overflow See other posts from Stack Overflow or by Jan Hudec
Published on 2011-03-10T08:06:12Z Indexed on 2011/03/10 8:10 UTC
Read the original article Hit count: 330

I have a JNI application built by ndk-build (using Android NDK r5b and cygwin make 3.81). The build usually works, by occasionally fails with:

...
Compile++ thumb  : components <= Component.cpp
make: *** [/c/.hudson/jobs/Nightly/workspace/application/obj/local/armeabi/objs/components/Component.o] Error 126
make: Leaving directory `/c/.hudson/jobs/Nightly/workspace/application/obj/local/armeabi/objs/components'

There is no other error. Make than exits with status 2. It happens in different file each time (the name above is anonymized). It seems to happen more often with parallel builds, but sometimes happens with non-parallel builds too.

Does anybody have an idea what it might be or at least how to debug it?

© Stack Overflow or respective owner

Related posts about make

    Related posts about cygwin