• 11641阅读
  • 2回复

qte on directfb configure error! [复制链接]

上一主题 下一主题
离线embeddedman
 
只看楼主 倒序阅读 楼主  发表于: 2010-07-08
host:ubuntu8.10

vim source/mkspecs/qws/linux-mips-g++/qmake.conf
add:
DFB_PATH=/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0
QT_CFLAGS_DIRECTFB=-I$DFB_PATH/include/directfb
QT_LIBS_DIRECTFB=-L$DFB_PATH/lib/ -ldirect -ldirectfb -lfusion
CROSSCOMPILE=/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -plugin-gfx-directfb -qt-gfx-linuxfb
change any mips-linux to $CROSSCOMPILE

export PREFIX=/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/qt
export PKG_CONFIG_PATH=/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/lib/pkgconfig

./configure -prefix $PREFIX -shared -opensource -exceptions -embedded mips -arch mips -depths 16,32 -no-fontconfig -no-webkit -no-opengl -no-nis -no-cups -no-iconv -no-dbus -no-armfpa -no-largefile -no-glib -no-fast -no-mitshm -no-xkb -no-scripttools -no-qt3support -no-xmlpatterns -no-phonon -no-phonon-backend -no-libtiff -no-libmng -no-openssl -qt-libjpeg -qt-libpng -qt-gif -qt-freetype -xplatform qws/linux-mips-g++ -plugin-gfx-directfb -qt-gfx-linuxfb

以上是我的做法,不知道为什么会提示:
The DirectFB screen driver functionality test failed!
You might need to modify the include and library search paths by editing
QT_CFLAGS_DIRECTFB and QT_LIBS_DIRECTFB in
/home/PEL/qt-embedded-linux-opensource-src-4.5.3/mkspecs/qws/linux-mips-g++.

但是我的directfb明明是安装在上面的路径下的,为什么qt configure的时候找不到呢?
哪位大侠帮帮忙?谢谢!
离线embeddedman
只看该作者 1楼 发表于: 2010-07-08
加上-v后的出错信息:

Do you accept the terms of either license? yes

Creating qmake. Please wait...
make: Nothing to be done for `first'.
floatmath auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/include -o floatmath.o floatmath.cpp
floatmath.cpp:44: warning: unused parameter 'argc'
floatmath.cpp:44: warning: unused parameter 'argv'
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -Wl,-O1 -o floatmath floatmath.o    -L/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/lib
/home/PEL/Linux-for-EMMA-2009.12.1/wrlinux-3.0/layers/wrll-toolchain-4.3a-250/mips/toolchain/x86-linux2/bin/../lib/gcc/mips-wrs-linux-gnu/4.3.2/../../../../mips-wrs-linux-gnu/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [floatmath] Error 1
floatmath disabled.
mmx auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -mmmx -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/include -o mmx.o mmx.cpp
cc1plus: error: unrecognized command line option "-mmmx"
make: *** [mmx.o] Error 1
mmx disabled.
3dnow auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -m3dnow -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/include -o 3dnow.o 3dnow.cpp
cc1plus: error: unrecognized command line option "-m3dnow"
make: *** [3dnow.o] Error 1
3dnow disabled.
sse auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -msse -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/include -o sse.o sse.cpp
cc1plus: error: unrecognized command line option "-msse"
make: *** [sse.o] Error 1
sse disabled.
sse2 auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -msse2 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/include -o sse2.o sse2.cpp
cc1plus: error: unrecognized command line option "-msse2"
make: *** [sse2.o] Error 1
sse2 disabled.
zlib auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/include -o zlib.o zlib.cpp
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -Wl,-O1 -o zlib zlib.o    -L/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/lib -lz
/home/PEL/Linux-for-EMMA-2009.12.1/wrlinux-3.0/layers/wrll-toolchain-4.3a-250/mips/toolchain/x86-linux2/bin/../lib/gcc/mips-wrs-linux-gnu/4.3.2/../../../../mips-wrs-linux-gnu/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [zlib] Error 1
zlib disabled.
DB2 auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/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... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home//SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/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.
MySQL (thread-safe) auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/include -o mysql.o ../mysql/mysql.cpp
../mysql/mysql.cpp:42:19: error: mysql.h: No such file or directory
make: *** [mysql.o] Error 1
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/include -o mysql.o mysql.cpp
mysql.cpp:42:19: error: mysql.h: No such file or directory
make: *** [mysql.o] Error 1
MySQL (thread-unsafe) disabled.
OCI auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/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... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/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... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/include -o psql.o psql.cpp
psql.cpp:42:22: error: libpq-fe.h: No such file or directory
psql.cpp: In function 'int main(int, char**)':
psql.cpp:46: error: 'PQescapeBytea' was not declared in this scope
psql.cpp:47: error: 'PQunescapeBytea' was not declared in this scope

make: *** [psql.o] Error 1
PostgreSQL disabled.
SQLite2 auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/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... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/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.
DirectFB auto-detection... ()
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -c -pipe -mips32 -D_REENTRANT -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/include/directfb -O2 -Wall -W  -I../../../mkspecs/qws/linux-mips-g++ -I. -I/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/include -o directfb.o directfb.cpp
/home/PEL/Linux-for-EMMA-2009.12.1/emma3slp_prj/host-cross/mips-wrs-linux-gnu/bin/mips-wrs-linux-gnu-mips_softfp-glibc_small-g++ -Wl,-O1 -o directfb directfb.o    -L/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/lib -L/home/SRC/EMMA3SL_Linux_SDK_V100_RL/EMMA3SL_Software/DirectFB-1.3.0/lib -ldirect -ldirectfb -lfusion
/home/PEL/Linux-for-EMMA-2009.12.1/wrlinux-3.0/layers/wrll-toolchain-4.3a-250/mips/toolchain/x86-linux2/bin/../lib/gcc/mips-wrs-linux-gnu/4.3.2/../../../../mips-wrs-linux-gnu/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [directfb] Error 1
DirectFB disabled.
You might need to modify the include and library search paths by editing
QT_CFLAGS_DIRECTFB and QT_LIBS_DIRECTFB in
/home/PEL/qt-embedded-linux-opensource-src-4.5.3/mkspecs/qws/linux-mips-g++.
离线尹超群
只看该作者 2楼 发表于: 2010-12-03
回 1楼(embeddedman) 的帖子
你好,我碰到了跟你一样的问题,请问你这个问题现在解决了吗
快速回复
限100 字节
 
上一个 下一个