QT5 交叉编译 配置configure出错

  • cd qtbase
  • /opt/qt-everywhere-opensource-src-5.4.1/qtbase/configure -top-level -v -prefix /opt/qt-everywhere-opensource-src-5.4.1/_install -opensource -confirm-license -release -make libs -xplatform linux-arm-gnueabi-g++ -optimized-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-zlib -no-opengl -no-sse2 -no-openssl -no-nis -no-cups -no-glib -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-separate-debug-info -nomake examples -nomake tools -nomake tests

This is the Qt Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) versions 3.

You have already accepted the terms of the Open Source license.

arm-none-linux-gnueabi-g++ -c -fvisibility=hidden fvisibility.c
Symbol visibility control enabled.
arm-none-linux-gnueabi-g++ -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
Symbolic function binding disabled.
DEFAULT_INCDIRS="/usr/local/arm/arm-2011.03/arm-none-linux-gnueabi/include/c++/4.5.2
/usr/local/arm/arm-2011.03/arm-none-linux-gnueabi/include/c++/4.5.2/arm-none-linux-gnueabi
/usr/local/arm/arm-2011.03/arm-none-linux-gnueabi/include/c++/4.5.2/backward
/usr/local/arm/arm-2011.03/lib/gcc/arm-none-linux-gnueabi/4.5.2/include
/usr/local/arm/arm-2011.03/lib/gcc/arm-none-linux-gnueabi/4.5.2/include-fixed
/usr/local/arm/arm-2011.03/arm-none-linux-gnueabi/include
/usr/local/arm/arm-2011.03/arm-none-linux-gnueabi/libc/usr/include
"
DEFAULT_LIBDIRS="/usr/local/arm/arm-2011.03/arm-none-linux-gnueabi/libc/lib
/usr/local/arm/arm-2011.03/arm-none-linux-gnueabi/libc/usr/lib
/usr/local/arm/arm-2011.03/lib/gcc/arm-none-linux-gnueabi/4.5.2
/usr/local/arm/arm-2011.03/lib/gcc
/usr/local/arm/arm-2011.03/arm-none-linux-gnueabi/lib
"
Creating qmake...
gmake: Nothing to be done for `first'.
Running configuration tests...
Failed to process makespec for platform 'linux-arm-gnueabi-g++'
/opt/qt-everywhere-opensource-src-5.4.1/qtbase/configure: line 3869: /opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake: cannot execute binary file

查看全部
u014652086
zZ钟先生
2016/05/11 07:30
  • 点赞
  • 收藏
  • 回答
    私信

4个回复