当前位置: 技术问答>linux和unix
arm-linux-gcc 交叉编译poco-1.3.5-all 报错stlport_arm_linux_gcc库找不到
来源: 互联网 发布时间:2017-03-16
本文导语: 出错信息 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/shengka...
出错信息
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.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 #
|
手动看看能不能找到这个库?或者是不是版本问题?
|
不知道啥问题哦