zZ钟先生 2016-05-11 07:30 采纳率: 0%
浏览 10328

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

  • 写回答

4条回答 默认 最新

  • zZ钟先生 2016-05-11 07:31
    关注

    配置文件入下:
    #!/bin/sh
    echo 'build Qt5 for embedded linux Author ZYP'
    mkdir _install
    $PWD/configure -v \
    -prefix $PWD/_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
    #make && make installs

    评论

报告相同问题?

悬赏问题

  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条