首页| 论坛| 消息

标题:qte on directfb configure error!
作者:embeddedman
日期:2010-07-08 16:12
内容:

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的时候找不到呢?
哪位大侠帮帮忙?谢谢!


#1 [embeddedman 07-08 17:22]
加上-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: *** 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: *** 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
[c ..
#2 回 1楼(embeddedman) 的帖子 [尹超群 12-03 15:40]
你好,我碰到了跟你一样的问题,请问你这个问题现在解决了吗

回复 发表
主题 版块