QT4.8.3 arm平台交叉编译

配置:

./configure -prefix /opt/Qt-4.8.3-arm -opensource -confirm-license -release -shared -embedded arm -xplatform qws/linux-arm-g++ -depths 4,8,12,16,24 -fast -optimize    d-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -little-endian -host-little-endian -no-qt3support -no-libtiff -no-libmng -no-opengl -no-mm    x -no-sse -no-sse2 -no-3dnow -no-openssl -no-webkit -no-qvfb -no-phonon -no-nis -no-cups -no-glib -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-separate-debug-    info -nomake examples -nomake tools -nomake docs -qt-gfx-linuxfb -qt-mouse-tslib -I/usr/local/qt-4.8.3/plugins/tslib/build/include -L/usr/local/qt-4.8.3/plugins/tslib/build/lib


出错:

/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_read_raw'
/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_open'
/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_fd'
/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_config'
/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_close'
/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_read'
collect2: ld returned 1 exit status
make[3]: *** [blockingfortuneclient] 错误 1


把/usr/local/tslib下的相关库

libts-0.0.so.0  libts-0.0.so.0.1.0

拷到编译器库里面/usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/lib

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值