arm-linux-g++ -Wl,-O1 -Wl,-rpath,/opt/qt-4.8.5-arm/lib -o SDKTest main.o -L/opt/qt-4.8.5-arm/lib libfsdk.so -lQtGui -L/opt/tslib-1.4/lib -L/opt/qt-4.8.5-arm/lib -lQtNetwork -lQtCore -lpthread
/home/guo/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: warning: libz.so, needed by libfsdk.so, not found (try using -rpath or -rpath-link)
/home/guo/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: warning: liblog.so, needed by libfsdk.so, not found (try using -rpath or -rpath-link)
/home/guo/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: warning: libc.so, needed by libfsdk.so, not found (try using -rpath or -rpath-link)
/home/guo/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: Warning: libfsdk.so: Unknown EABI object attribute 44
/home/guo/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: SDKTest: hidden symbol `fstat' in /home/guo/usr/local/arm/4.3.2/bin/../arm-none-linux-gnueabi/libc/armv4t/usr/lib/libc_nonshared.a(fstat.oS) is referenced by DSO
/home/guo/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make: *** [SDKTest] Error 1
在编译.pro中的 LIBS += -Llibfsdk.so -shared 让这个库成为共享库,即可编译通过
阅读(18172) | 评论(1) | 转发(0) |