ld:无法识别的仿真模式:armelf

编程入门 行业动态 更新时间:2024-10-25 16:25:14
本文介绍了ld:无法识别的仿真模式:armelf_linux_eabi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

当我编译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

本文发布于:2023-10-27 16:09:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1533879.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:无法识别   模式   ld   armelf

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!