首页| 论坛| 消息

标题:qt-embedded-linux-opensource-src-4.5.3和tslib1.4的安装出错!
作者:wenzi138
日期:2010-01-20 11:40
内容:

Creating qmake. Please wait...
gmake: Nothing to be done for `first'.
floatmath auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -O2 -Wall -W-I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o floatmath.o floatmath.cpp
floatmath.cpp:44: warning: unused parameter 'argc'
floatmath.cpp:44: warning: unused parameter 'argv'
arm-softfloat-linux-g++ -Wl,-O1 -o floatmath floatmath.o-L/usr/local/tslib/lib -L/mp2530/arm-softfloat-linux/arm-softfloat-linux/lib/libdl-2.3.6.so -L/mp2530/arm-softfloat-linux/arm-softfloat-linux/lib/libdl.so.2 -L/mp2530/arm-softfloat-linux/arm-softfloat-linux/lib/libdl.a
floatmath enabled.
mmx auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -mmmx -O2 -Wall -W-I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o mmx.o mmx.cpp
cc1plus: error: unrecognized command line option "-mmmx"
make: *** Error 1
mmx disabled.
3dnow auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -m3dnow -O2 -Wall -W-I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o 3dnow.o 3dnow.cpp
cc1plus: error: unrecognized command line option "-m3dnow"
make: *** [3dnow.o] Error 1
3dnow disabled.
sse auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -msse -O2 -Wall -W-I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o sse.o sse.cpp
cc1plus: error: unrecognized command line option "-msse"
make: *** Error 1
sse disabled.
sse2 auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -msse2 -O2 -Wall -W-I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o sse2.o sse2.cpp
cc1plus: error: unrecognized command line option "-msse2"
make: *** Error 1
sse2 disabled.
DB2 auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -O2 -Wall -W-I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o db2.o db2.c ..


#1 [wenzi138 01-20 11:40]
安装tslib1.4的时候就出现
/usr/local/tslib/lib/libts.so: undefined reference to `dlclose'
/usr/local/tslib/lib/libts.so: undefined reference to `dlopen'
/usr/local/tslib/lib/libts.so: undefined reference to `dlsym'
这个错误,然后再Makefile的LIBS添加上交叉编译器的lib中的libdl 终于编译通过。现在安装QT又出现这错误,实在不知道怎么办,各位帮帮忙啊!
#2 [wenzi138 01-20 11:41]
#!/bin/sh
./configure \
-opensource \
-prefix /usr/local/qt \
-release \
-shared \
-no-qt3support \
-no-xmlpatterns \
-no-svg \
-no-webkit \
-qt-zlib \
-qt-gif \
-qt-libtiff \
-qt-libpng \
-qt-libmng \
-qt-libjpeg \
-make libs \
-make tools \
-nomake examples \
-nomake docs \
-nomake demo \
-no-nis \
-no-cups \
-no-iconv \
-no-dbus \
-no-openssl \
-xplatform qws/linux-arm-g++ \
-embedded arm \
-little-endian \
-qt-freetype \
-depths 16 \
-qt-gfx-linuxfb \
-no-gfx-transformed \
-no-gfx-multiscreen \
-no-gfx-vnc \
-no-gfx-qvfb \
-qt-kbd-tty \
-qt-kbd-usb \
-qt-mouse-tslib \
-qt-mouse-pc \
-no-glib \
-verbose
#3 [wenzi138 01-20 11:42]
qmake.conf那边include和lib路径也改为tslib的了,不知道为什么还是不行啊
#4 [onlyonegod 02-08 00:00]
唉,我也遇到了相同问题,在网上搜了搜,有的说是交叉工具链路径设置问题,但我的编译器的路径应该没有问题。
不知道楼主现在问题解决了吗?

回复 发表
主题 版块