我下载了w_scan项目(一个用于对DVB和ATSC传输执行频率扫描的小型命令行实用工具)。来自en.html。我还在我的Ubuntu x86_64上安装了gcc-arm-linux-gnueabi。
我使用./configure --host=arm-linux CC=arm-linux-gnueabi-gcc命令进行交叉编译,并生成一个二进制文件.但是,我将该文件复制到目标板并执行该文件,它将显示sh: ./w_scan: No such file or directory。
我使用file命令查看该二进制文件的信息,它显示了ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.31, BuildID[sha1]=0x9a584b4720fadf5eb5b77034ac85092daeb728c9, not stripped。
我发现错误信息存在交叉编译的配置不正确。(参考http://ubuntuforums.org/showthread.php?t=1141792)。我如何修正我的配置和正确交叉编译该项目,谢谢!
发布于 2014-03-03 09:59:45
w_scan文件将显示ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, for GNU/Linux 2.6.31, BuildID[sha1]=0x67b7e9f93015607f891c0b77493d9e47059ef6a1, not stripped。
https://stackoverflow.com/questions/22143086
复制相似问题