日期:2014-05-16  浏览次数:21022 次

arm-linux-gcc 交叉编译poco-1.3.5-all 报错stlport_arm_linux_gcc库找不到
出错信息
tf8.o /home/shengkai/poco-1.3.5-all/Foundation/obj/Linux/ARM/debug_shared/pcre_newline.o /home/shengkai/poco-1.3.5-all/Foundation/obj/Linux/ARM/debug_shared/pcre_fullinfo.o /home/shengkai/poco-1.3.5-all/Foundation/obj/Linux/ARM/debug_shared/pcre_xclass.o /home/shengkai/poco-1.3.5-all/Foundation/obj/Linux/ARM/debug_shared/SyslogChannel.o -L/home/shengkai/poco-1.3.5-all/lib/Linux/ARM -L/usr/local/lib -L/usr/local/arm/2.95.3/lib -lstlport_arm-linux-gcc -lpthread -ldl -lrt
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: warning: library search path "/usr/local/lib" is unsafe for cross-compilation
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lstlport_arm-linux-gcc
collect2: ld returned 1 exit status
make[1]: *** [/home/shengkai/poco-1.3.5-all/lib/Linux/ARM/libPocoFoundationd.so.8] Error 1
make[1]: Leaving directory `/home/shengkai/poco-1.3.5-all/Foundation'
make: *** [Foundation-libexec] Error 2
suse-xy:/home/shengkai/poco-1.3.5-all #


------解决方案--------------------
不知道啥问题哦
------解决方案--------------------
探讨
出错信息
tf8.o /home/shengkai/poco-1.3.5-all/Foundation/obj/Linux/ARM/debug_shared/pcre_newline.o /home/shengkai/poco-1.3.5-all/Foundation/obj/Linux/ARM/debug_shared/pcre_fullinfo.o /home/shengkai/poco-1……
cannot find -lstlport_arm-linux-gcc