打印
[ZLG-ARM]

编译qtopia-free-2.2.0出现的错误

[复制链接]
1558|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
ddpxy|  楼主 | 2009-4-2 12:47 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
[root@localhost qtopia-free-2.2.0]# ./configure -qte '-embedded -no-xft -xplatform linux-arm-g++ -qconfig qpe -depths 16,32 -no-qvfb -system-jpeg -gif' -qpe '-xplatform linux-arm-g++ -edition pda -displaysize 240x320' -qt2 '-no-xft' -dqt '-no-xft'

This is the Qtopia Free Edition.

You are licensed to use this software under the terms of
the Qtopia Free Edition License.

Type '?' to view the Qtopia Free Edition License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of the Qtopia Free Edition License? yes

Using the following configurations:
QPE_CFG=" '-edition' 'pda' '-displaysize' '240x320' -no-qtopiadesktop -release -platform 'linux-g++' -xplatform 'linux-arm-g++'"
QTE_CFG="'-embedded' '-no-xft' '-qconfig' 'qpe' '-depths' '16,32' '-no-qvfb' '-system-jpeg' '-gif' -release -platform 'linux-g++' -xplatform 'linux-arm-g++'"
QT2_CFG="-no-xft -platform 'linux-g++'"
DQT_CFG="-no-xft -platform 'linux-g++'"

Qtopia is now configured.

Type "make"              to build the qtopia bundle (and the tools, if required).
Type "make install"      to install Qtopia.
Type "make cleaninstall" to install Qtopia after removing the image first (avoid stale files in the image).
Type "make clean"        to clean the qtopia bundle.

Type "make tools"        to build the tools bundle.
Type "make cleantools"   to clean the tools bundle.

To manually build a particular component (eg. because it failed to build)
source the set...Env script. eg. . ./setQpeEnv; cd $QPEDIR; make

[root@localhost qtopia-free-2.2.0]# make
/usr/local/arm/QT/qtopia-free-2.2.0/qtopia/scripts/buildQtopia
Building Qtopia Tools.

***********************************
********* Build Qt 2 **************
***********************************
QT2_CFG="-no-xft -platform 'linux-g++'"




This is the Qt Free Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of the license?
        /usr/lib/libGLU.so is a threaded library, Qt needs to be as well.

        This target is using the GNU C++ compiler (linux-g++).

        Recent versions of this compiler automatically include
        code for exceptions, which increase both the size of
        the Qt library and the amount of memory taken by your
        applications.

        You may elect to re-run ./configure with the -no-g++-exceptions
        option to compile Qt without exceptions.  This is
        completely binary compatible, and existing
        applications will continue to work (like KDE 2).


Build type:    linux-g++-shared

Thread support..................... no
GIF support........................ no
MNG support........................ no
JPEG support....................... no
OpenGL support .................... no
NAS sound support.................. no
Session management................. no
Xft support (Anti-Aliased Fonts) .. no
XKB support ....................... yes

Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.

make[1]: Entering directory `/usr/local/arm/QT/qtopia-free-2.2.0/qt2/src/moc'
g++  -c -I/usr/local/arm/QT/qtopia-free-2.2.0/qt2/include -Wno-unused -Wno-parentheses -pipe -O2 -Wall -W -DNO_DEBUG -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_BUILDING_MOC -I../../include -I../tools -I. -o mocgen.o mocgen.cpp

ERR:
g++  -o ../../../bin/qdawggen .obj/release-shared/main.o .obj/release-shared/qdawg.o .obj/release-shared/qmemoryfile.o .obj/release-shared/global.o .obj/release-shared/qmemoryfile_unix.o   -L/usr/local/arm/QT/qtopia-free-2.2.0/dqt/lib -L/usr/X11R6/lib -L/usr/local/arm/QT/qtopia-free-2.2.0/qtopia/lib -L/usr/local/arm/QT/qtopia-free-2.2.0/qt2/lib -lqt-mt -lXext -lX11 -lm -lpthread 
/usr/bin/ld: cannot find -lqt-mt
collect2: ld 返回 1
make[6]: *** [../../../bin/qdawggen] 错误 1
make[6]: Leaving directory `/usr/local/arm/QT/qtopia-free-2.2.0/qtopia/src/tools/qdawggen'
make[5]: *** [all] 错误 2
make[5]: Leaving directory `/usr/local/arm/QT/qtopia-free-2.2.0/qtopia/src/tools/qdawggen'
make[4]: *** [sub-tools-qdawggen] 错误 2
make[4]: Leaving directory `/usr/local/arm/QT/qtopia-free-2.2.0/qtopia/src'
make[3]: *** [sub-src-components_pro] 错误 2
make[3]: Leaving directory `/usr/local/arm/QT/qtopia-free-2.2.0/qtopia/src'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/usr/local/arm/QT/qtopia-free-2.2.0/qtopia/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/usr/local/arm/QT/qtopia-free-2.2.0/qtopia'

***********************************************************************
*  
*                  ERROR: Building Qtopia has failed.
*  
* Please search the make output for any error messages.
*  
* Hint: If the configuration has changed since the last successfull
* build consider using make clean to ensure that all binaries
* are rebuilt using the new configuration.
*  
* For more information about the build process please use a browser
* and go to the getting started section in:
*     /usr/local/arm/QT/qtopia-free-2.2.0/qtopia/doc/html/index.html 
*  
*********************************************************************** 

相关帖子

沙发
initer| | 2009-4-2 13:49 | 只看该作者

缺少库吧,好像

使用特权

评论回复
板凳
msleep| | 2009-4-2 17:23 | 只看该作者

路过,学习下

使用特权

评论回复
地板
ddpxy|  楼主 | 2009-4-3 09:03 | 只看该作者

有个朋友昨天给我说缺少一个库,我弄了,可是还是不行啊

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

27

主题

101

帖子

0

粉丝