当我编译linphone源代码时,下面发生了错误.谁能告诉我如何解决它.谢谢你.
When I compile linphone source code, error happened below. Can anybody tell me how to fix it. Thank you.
ld: unrecognised emulation mode: armelf_linux_eabi Supported emulations: elf_i386 i386linux elf32_x86_64 elf_x86_64 elf_l1om elf_k1om i386pep i386pe C compiler test failed.推荐答案
如果有人像我一样愚蠢,我会收到此错误,因为我假设是它尝试使用的链接器没有执行权限;实际上,很多东西没有执行权限.因此,我在NDK目录的根目录下做了一个简单的chmod -R +x *并将其修复.
In case anyone is as dumb as me, I was getting this error because, I assume, the linker it was trying to use didn't have execution permissions; in fact, a lot of things didn't have execution permissions. So I did a simple chmod -R +x * at the root of the NDK directory and that fixed it.
此外,如果有人有更好的解决方案,请告诉我.例如,我是否应该从他们网站以外的其他地方下载NDK?也许安装了软件包?
Also, if anyone has a more elegant solution, please tell me. For example, was I supposed to download the NDK from somewhere else other than their website? A package installation perhaps?
更多推荐
ld:无法识别的仿真模式:armelf
发布评论