百问网Linux技术区Linux应用开发 求助:ubuntu8.04编译qtopia-free-2.2.0出现错误

1  /  1  页   1 跳转 查看:1596

求助:ubuntu8.04编译qtopia-free-2.2.0出现错误

求助:ubuntu8.04编译qtopia-free-2.2.0出现错误

买了《嵌入式LINUX应用开发完全手册》,我按照p509页配置编译Qtopia时,出现了错误。下面的是完整的配置编译信息,请各位看看我是哪个地方出了问题:
hujunli@hujunli-desktop/work/GUI/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

WARNING: Qtopia does not support x86_64. Checking your -platform and -xplatform arguments.
Qt 2  is using -platform  linux-32-g++
Qt 3  is using -platform  linux-g++-32
Qt/E  is using -platform  linux-32-g++
Qt/E  is using -xplatform linux-arm-g++
Qtopia is using -platform  linux-g++-32
Qtopia is using -xplatform linux-arm-g++

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

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

hujunli@hujunli-desktop/work/GUI/qtopia-free-2.2.0$ make
/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/scripts/buildQtopia
Building Qtopia Tools.

***********************************
********* Build Qt 2 **************
***********************************
QT2_CFG="-no-xft -platform 'linux-32-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.
symlink created for src/tools/qconfig-qpe.h

Build type:    linux-32-g++-shared

Thread support..................... no
GIF support........................ no
MNG support........................ no
JPEG support....................... no
OpenGL support .................... no
NAS sound support.................. no
Session management................. yes
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]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src/moc'
g++ -m32  -o ./moc mocgen.o qbuffer.o qcollection.o qcstring.o qdatastream.o qdatetime.o qfile.o qgarray.o qgdict.o qglist.o qglobal.o qgvector.o qiodevice.o qregexp.o qstring.o qtextcodec.o qtextstream.o qutfcodec.o qfile_unix.o   
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.a when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld 返回 1
make[1]: *** [moc] 错误 1
make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src/moc'
* ---------------------------------------------------------------------------
*
*              ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*
* Please make sure that the following binaries exist before trying to build
* Qtopia:
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/moc
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/qvfb
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/dqt/bin/lrelease
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*
******************************************************************************

***********************************
********* Build Qt 3 **************
***********************************
DQT_CFG="-no-xft -platform 'linux-g++-32'"


WARNING: /usr/lib/libGLU.so is threaded!
The Qt OpenGL module requires Qt to be configured with -thread.


This is the Qt/X11 Open Source 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 either license?
Creating qmake. Please wait...
make[1]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/dqt/qmake'
g++ -o qmake project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o borland_bmake.o mingw_make.o msvc_dsp.o msvc_vcproj.o option.o winmakefile.o projectgenerator.o metrowerks_xml.o  pbuilder_pbx.o msvc_objectmodel.o meta.o qtmd5.o qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o qconfig.o qunicodetables.o qsettings.o qlocale.o  -m32
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.a when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld 返回 1
make[1]: *** [qmake] 错误 1
make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/dqt/qmake'
qmake failed to build. Aborting.
* ---------------------------------------------------------------------------
*
*              ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*
* Please make sure that the following binaries exist before trying to build
* Qtopia:
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/moc
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/qvfb
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/dqt/bin/lrelease
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*
******************************************************************************

***********************************
********* Build Qt/Embedded *******
***********************************
QTE_CFG="'-embedded' '-no-xft' '-qconfig' 'qpe' '-depths' '16,32' '-no-qvfb' '-system-jpeg' '-gif' -release -platform 'linux-32-g++' -xplatform 'linux-arm-g++'"


This is the Qt/Embedded Free Edition.

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

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?
symlink created for src/tools/qconfig-qpe.h

Building on:  linux-32-g++-shared
Building for:  linux-arm-g++-shared

Thread support..................... no
Configuration...................... qconfig-qpe.h

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

make[1]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src'
echo '#include "kernel/qt.h"' >allmoc.cpp
arm-linux-g++  -E -DQT_MOC_CPP -I/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/include  -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -fPIC -DQT_NO_QWS_SNAP -DQT_NO_QWS_VOODOO3 -DQT_NO_QWS_MACH64 -DQT_NO_QWS_MATROX -DQT_NO_QWS_VNC -DQT_NO_QWS_VGA_16 -DQT_NO_QWS_DEPTH_4 -DQT_NO_QWS_DEPTH_8 -DQT_NO_QWS_DEPTH_18 -DQT_NO_QWS_DEPTH_24 -DQT_NO_QWS_VFB -DQT_BUILTIN_GIF_READER=1 -DQT_NO_IMAGEIO_MNG -DQT_NO_SM_SUPPORT -DQT_NO_XKB  -I/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src/3rdparty/zlib -I/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src/3rdparty/libpng -I/usr/X11R6/include  -I3rdparty/kernel -I3rdparty/tools >allmoc.h allmoc.cpp
/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/moc -o allmoc.cpp allmoc.h
make[1]: /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/moc:命令未找到
make[1]: *** [allmoc.cpp] 错误 127
make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src'

***********************************************************************

*                  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:
*    /home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/doc/html/index.html

***********************************************************************

***********************************
********* Build Qtopia ************
***********************************
QPE_CFG=" '-edition' 'pda' '-displaysize' '240x320' -no-qtopiadesktop -release -platform 'linux-g++-32' -xplatform 'linux-arm-g++'"

The following configuration values have been guessed or autodetected:
    -arch arm
    -fontfamilies helvetica fixed micro smallsmooth smoothtimes
    -fontsizes all
    -fontstyles 50 50i 75 75i
    -languages en_US

WARNING: defaultbuttons-arm.conf does not exist.
Symlinking header files to include directory
Creating qmake...make[1]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/qmake'
./usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.a when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld 返回 1
make[1]: *** [/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/bin/qmake] 错误 1
make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/qmake'
Failed to make qmake

***********************************************************************

*                  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:
*    /home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/doc/html/index.html

***********************************************************************
hujunli@hujunli-desktop/work/GUI/qtopia-free-2.2.0$

我的主机开发环境是ubuntu8.04 amd64,这一步前面的步骤都已经通过,是不是因为我装的是amd64的ubuntu,导致有些文件不能编译?配置的过程中也出现了警告。baidu,google了半天也没有找到解决方法,请各位看看问题出在哪里?
 

回复:求助:ubuntu8.04编译qtopia-free-2.2.0出现错误

都加上“-xplatform linux-arm-g++ ”试试:
./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 '-xplatform linux-arm-g++ -no-xft' -dqt '-xplatform linux-arm-g++ -no-xft'
 

回复: 求助:ubuntu8.04编译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 '-xplatform linux-arm-g++ -no-xft' -dqt ' -no-xft'
在编译时又出现了错误:
***********************************
********* Build Qt 2 **************
***********************************
QT2_CFG="'-xplatform' 'linux-arm-g++' '-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?
symlink created for src/tools/qconfig-qpe.h

        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).


Building on:  linux-g++-shared
Building for:  linux-arm-g++-shared

Thread support..................... no
GIF support........................ no
MNG support........................ no
JPEG support....................... no
OpenGL support .................... yes
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]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src/moc'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src/moc'
make[1]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src'
make[1]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/tools/designer/uic'
arm-linux-gcc -L/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/lib -Wl,-rpath,/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/lib  -o /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic uic.o ../shared/widgetdatabase.o ../shared/domtool.o ../integration/kdevelop/kdewidgets.o  -lqte -lm
/home/hujunli/work/tools/gcc-3.4.5-glibc-2.3.6/bin/../lib/gcc/arm-linux/3.4.5/../../../../arm-linux/bin/ld: uic.o: Relocations in generic ELF (EM: 3)
uic.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic] 错误 1
make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/tools/designer/uic'
* ---------------------------------------------------------------------------
*
*              ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*
* Please make sure that the following binaries exist before trying to build
* Qtopia:
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/moc
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/qvfb
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/dqt/bin/lrelease
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*
******************************************************************************
你用ubuntu7.10一次就编译成功了吗?我在用ubuntu8.10编译时出来好多错误,通过google,装了很多库文件,改了gcc的版本,改了shell,感觉我该装的都装了,但是还是出现一些奇怪的错误
 

回复:求助:ubuntu8.04编译qtopia-free-2.2.0出现错误

我是一次成功,并且多次验证
 

回复:求助:ubuntu8.04编译qtopia-free-2.2.0出现错误

看看/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic/uic.o 是什么格式,
运行:file  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic/uic.o
 

回复: 求助:ubuntu8.04编译qtopia-free-2.2.0出现错误

hujunli@hjl-desktop$ file  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic/uic.o
/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic/uic.o: ERROR: cannot open `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic/uic.o' (No such file or directory)
没有这个文件。在编译qt2时的这个错误导致uic这个工具没有生成?在编译qtopia时也提示uic这个命令没有找到:
hujunli@hjl-desktop/work/GUI/qtopia-free-2.2.0$ make
/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/scripts/buildQtopia
Building Qtopia Tools.

***********************************
********* Build Qt 2 **************
***********************************
QT2_CFG="'-xplatform' 'linux-arm-g++' '-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?
symlink created for src/tools/qconfig-qpe.h

        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).


Building on:  linux-g++-shared
Building for:  linux-arm-g++-shared

Thread support..................... no
GIF support........................ no
MNG support........................ no
JPEG support....................... no
OpenGL support .................... yes
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]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src/moc'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src/moc'
make[1]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/src'
make[1]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/tools/designer/uic'
arm-linux-gcc -L/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/lib -Wl,-rpath,/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/lib  -o /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic uic.o ../shared/widgetdatabase.o ../shared/domtool.o ../integration/kdevelop/kdewidgets.o  -lqte -lm
/home/hujunli/work/tools/gcc-3.4.5-glibc-2.3.6/bin/../lib/gcc/arm-linux/3.4.5/../../../../arm-linux/bin/ld: uic.o: Relocations in generic ELF (EM: 3)
uic.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic] 错误 1
make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/tools/designer/uic'
* ---------------------------------------------------------------------------
*
*              ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*
* Please make sure that the following binaries exist before trying to build
* Qtopia:
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/moc
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/qvfb
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/dqt/bin/lrelease
*  /home/hujunli/work/GUI/qtopia-free-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*
******************************************************************************
.........

***********************************
********* Build Qtopia ************
***********************************
QPE_CFG=" '-edition' 'pda' '-displaysize' '240x320' -no-qtopiadesktop -release -platform 'linux-g++' -xplatform 'linux-arm-g++'"

The following configuration values have been guessed or autodetected:
    -arch arm
    -fontfamilies helvetica fixed micro smallsmooth smoothtimes
    -fontsizes all
    -fontstyles 50 50i 75 75i
    -languages en_US

WARNING: defaultbuttons-arm.conf does not exist.
Symlinking header files to include directory
Creating qmake...make[1]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/qmake'
.make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/qmake'

Creating pngscale...make[1]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/util/pngscale'
...make[1]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/util/pngscale'

Generating makefiles................................................................................................................
make[1]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia'
make[2]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src'
make[3]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src'
cd qt && make -f Makefile
make[4]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src/qt'
make[5]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src/qt'
make[5]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src/qt'
make[4]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src/qt'
cd libraries/qtopia && make -f Makefile
make[4]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src/libraries/qtopia'
make[5]: 正在进入目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src/libraries/qtopia'
/home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic passwordbase_p.ui -o ../../../include/qtopia/private/passwordbase_p.h
[color=Red]make[5]: /home/hujunli/work/GUI/qtopia-free-2.2.0/qt2/bin/uic:命令未找到
make[5]: *** [../../../include/qtopia/private/passwordbase_p.h] 错误 127
make[5]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src/libraries/qtopia'
make[4]: *** [all] 错误 2
make[4]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src/libraries/qtopia'
make[3]: *** [sub-libraries-qtopia] 错误 2
make[3]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src'
make[2]: *** [all] 错误 2
make[2]:正在离开目录 `/home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/src'
make[1]: *** [all] 错误 2
make[1]:正在离开目录 `/home/hujunli/work/GUI/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:
*    /home/hujunli/work/GUI/qtopia-free-2.2.0/qtopia/doc/html/index.html

***********************************************************************
 
1  /  1  页   1 跳转

地址:广东省深圳市南山区南山大道3003号久商大厦C-1406;邮编:518052;电话:0755-86200561

粤ICP备09041549号, 版权所有 百问网   Sitemap

Powered by Discuz!NT 2.0.1214    Copyright © 2001-2010 Comsenz Inc.
Processed in 0.15625 second(s) , 3 queries.
返顶部