找回密码
 注册

QT210 NFS挂载文件系统,运行编写的应用出错问题

已有 194 次阅读2016-12-28 15:56 |个人分类:TQ210问题解决记录

运行自己编写应用程序 test,运行出现以下错误:
-/bin/sh: ./test: not found

解决:
法1.在Makefile中修改为静态编译

arm-embedsky-linux-gnueabi-gcc  -o test  test.c

改为:
arm-embedsky-linux-gnueabi-gcc -static -o test  test.c

路过

鸡蛋

鲜花

握手

雷人

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-1-24 04:58 , Processed in 2.047797 second(s), 16 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

返回顶部