• 9951阅读
  • 4回复

qt-embedded-linux-opensource-src-4.5.3和tslib1.4的安装出错! [复制链接]

上一主题 下一主题
离线wenzi138
 
只看楼主 倒序阅读 楼主  发表于: 2010-01-20
— 本帖被 XChinux 从 Qt for Windows 移动到本区(2010-02-07) —
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: *** [mmx.o] 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: *** [sse.o] 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: *** [sse2.o] 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.cpp
db2.cpp:42:20: error: sqlcli.h: No such file or directory
db2.cpp:43:21: error: sqlcli1.h: No such file or directory
make: *** [db2.o] Error 1
DB2 disabled.
InterBase auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o ibase.o ibase.cpp
ibase.cpp:42:19: error: ibase.h: No such file or directory
make: *** [ibase.o] Error 1
InterBase disabled.
OCI auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o oci.o oci.cpp
oci.cpp:42:17: error: oci.h: No such file or directory
make: *** [oci.o] Error 1
OCI disabled.
ODBC auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o odbc.o odbc.cpp
odbc.cpp:42:17: error: sql.h: No such file or directory
odbc.cpp:43:20: error: sqlext.h: No such file or directory
make: *** [odbc.o] Error 1
ODBC disabled.
PostgreSQL auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/include -I/usr/local/tslib/include -o psql.o psql.cpp
arm-softfloat-linux-g++ -Wl,-O1 -o psql psql.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 -L/usr/lib -lpq
/mp2530/arm-softfloat-linux/bin/../lib/gcc/arm-softfloat-linux/4.1.2/../../../../arm-softfloat-linux/bin/ld: skipping incompatible /usr/lib/libpq.so when searching for -lpq
/mp2530/arm-softfloat-linux/bin/../lib/gcc/arm-softfloat-linux/4.1.2/../../../../arm-softfloat-linux/bin/ld: skipping incompatible /usr/lib/libpq.a when searching for -lpq
/mp2530/arm-softfloat-linux/bin/../lib/gcc/arm-softfloat-linux/4.1.2/../../../../arm-softfloat-linux/bin/ld: cannot find -lpq
collect2: ld returned 1 exit status
make: *** [psql] Error 1
PostgreSQL disabled.
SQLite2 auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o sqlite2.o sqlite2.cpp
sqlite2.cpp:42:20: error: sqlite.h: No such file or directory
make: *** [sqlite2.o] Error 1
SQLite2 disabled.
TDS auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o tds.o tds.cpp
tds.cpp:42:22: error: sybfront.h: No such file or directory
tds.cpp:43:19: error: sybdb.h: No such file or directory
make: *** [tds.o] Error 1
TDS disabled.
tslib auto-detection... ()
arm-softfloat-linux-g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/tslib/include -o tslib.o tslib.cpp
arm-softfloat-linux-g++ -Wl,-O1 -o tslib tslib.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 -lts
/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'
collect2: ld returned 1 exit status
make: *** [tslib] Error 1
tslib disabled.
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/mp2530/qt-embedded-linux-opensource-src-4.5.3/mkspecs/qws/linux-arm-g++.
离线wenzi138
只看该作者 1楼 发表于: 2010-01-20
安装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又出现这错误,实在不知道怎么办,各位帮帮忙啊!
离线wenzi138
只看该作者 2楼 发表于: 2010-01-20
#!/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
离线wenzi138
只看该作者 3楼 发表于: 2010-01-20
qmake.conf那边include和lib路径也改为tslib的了,不知道为什么还是不行啊
离线onlyonegod
只看该作者 4楼 发表于: 2010-02-08
唉,我也遇到了相同问题,在网上搜了搜,有的说是交叉工具链路径设置问题,但我的编译器的路径应该没有问题。
不知道楼主现在问题解决了吗?
快速回复
限100 字节
 
上一个 下一个