问题症状(假设我的应用程序名字为a.out):
$:ls
a.out
$./a.out
-bin/sh:./a.out:not found
问题描述:我用的是天嵌20091030更新的2.6.30的内核及其相应的文件系统。交叉编译工具是4.3.3的。编译应用程序的时候,由于4.3.3无法编译,所以用了2.95.3版本的。不知道是不是编译器版本的不同导致了这个错误。
编译应用程序用4.3.3的时候,遇到这个错误:
../../encoder/plugins/ratecontrol.c:241: error: static declaration of 'rc_update_pic' follows non-static declaration
../../encoder/plugins/ratecontrol.c:77: error: previous declaration of 'rc_update_pic' was he re
../../encoder/plugins/ratecontrol.c:594: error: static declaration of 'rc_update_quad_model' follows non-static declaration
../../encoder/plugins/ratecontrol.c:81: error: previous declaration of 'rc_update_quad_model' was here
../../encoder/plugins/ratecontrol.c: In function 'rc_create':
../../encoder/plugins/ratecontrol.c:668: warning: assignment from incompatible pointer type
make: *** [../obj/ratecontrol.o] Error 1
我不知道该怎么解决,还请大家指教。