天嵌科技 ARM开发社区

 找回密码
 注册

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

已有 159 次阅读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 个评论)

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

GMT+8, 2024-5-2 08:08 , Processed in 1.078125 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部