的Andr​​oid NDK编译下神不知鬼不觉的cygwin失败与"错误126 QUOT; [英] Android ndk build mysteriously failing under cygwin with "Error 126"

查看:288
本文介绍了的Andr​​oid NDK编译下神不知鬼不觉的cygwin失败与"错误126 QUOT;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有内置NDK的构建(使用Android NDK R5B和Cygwin使3.81)一个JNI的应用程序。构建通常工作,通过偶尔失败:

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'

有是的没有的其它错误。让比状态2.在不同的文件中,每次发生退出(上面的名字是匿名)。这似乎与并行构建更经常发生,但有时会与非并行编译过发生。

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?

推荐答案

制作错误126 权限被拒绝。你运行防病毒软件?如果是这样,不知是锁定的文件或preventing写的,因此造成的错误?如果您没有防病毒软件时,也许你有其他软件可能被收购的文件锁?

Make error 126 is permission denied. Do you run antivirus software? IF so, maybe it is locking files or preventing writes, and therefore causing errors? If you do not have antivirus software on, maybe you have another software which might be acquiring file locks?

这篇关于的Andr​​oid NDK编译下神不知鬼不觉的cygwin失败与&QUOT;错误126 QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆