关于OK2440 III开发板运行程序出错问题
本帖最后由 飞凌-fatfish 于 2010-8-18 08:39 编辑开发板上电后执行
# mount -t nfs -o nolock 192.168.0.105:/root/share /tmp
nfs warning: mount version older than kernel
# cd /tmp
# ls
hello hello.c
# ./hello
Segmentation fault
上面的hello是加上 -shared选项编译的,加-static编译后运行提示-sh: ./hello: not found
nfs warning: mount version older than kernel怎么解决?
./hello失败什么原因啊! 贴出程序源码和编译器版本来吧 回复 2# 飞凌-fatfish
#include<stdio.h>
int main()
{
printf("Hello World\n");
return 0;
}
编译器使用3.4.1
页:
[1]