交叉编译(魔术7F45错误) [英] Cross compilation (magic 7F45 error)

查看:502
本文介绍了交叉编译(魔术7F45错误)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Android截图库。为了启动本机的服务,我必须执行通过Windows PowerShell中的run.ps1文件,因为它是在这里写:的 HTTPS://$c$c.google.com/p/android-screenshot-library/wiki/UserGuide
我得到了..asl原生:不是可执行文件:魔术7F45的错误,我看,我不得不做出一个交叉编译,使其工作;但我不知道该怎么做?我应该用什么编译器?

I want to use the Android Screenshot Library. In order to start the native service, i have to execute the run.ps1 file via Windows PowerShell, as it's written here: https://code.google.com/p/android-screenshot-library/wiki/UserGuide I got the "..asl-native : not executable : magic 7F45" error, and i read that i have to make a cross-compilation to make it work; but i have no clue how to do that? what compilers should I use?

推荐答案

幻数7F45指定可执行和链接格式(ELF)的文件类型,这不是在ARM处理器上。

Magic number 7F45 specifies the Executable and Linkable Format (ELF) file type, a format that is not executable on ARM processors.

原因可以是不正确的交叉编译或使用错误的工具链无论是。

Reason could be either improper cross compilation or either using wrong toolchain.

使用正确的工具链应该解决这个问题。

Using correct toolchain should fix this problem

这篇关于交叉编译(魔术7F45错误)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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