Cross compilation (magic 7F45 error)

瘦欲@ 提交于 2019-12-25 12:55:12

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/23613421/cross-compilation-magic-7f45-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!