搜索
bottom↓
回复: 7

qt 5.4.2 for am335x-sgx 求助

[复制链接]

出0入0汤圆

发表于 2015-6-17 20:43:44 | 显示全部楼层 |阅读模式
求助:最近移至QT5.4.2到335X出现以下问题

[root@localhost qt-everywhere-opensource-src-5.4.2]# ./qt_make.sh
+ cd qtbase
+ /home/qt-everywhere-opensource-src-5.4.2/qtbase/configure -top-level -prefix /usr/toolschain/Qt-5.4.2 -release -opensource -confirm-license -no-c++11 -shared -no-pkg-config -no-iconv -no-use-gold-linker -device linux-am335x-sgx-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- -eglfs -sysroot /home/rootfs -qreal float -opengl es2 -nomake examples -nomake tests -v

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.

Precompiled-headers support enabled.
arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c
Symbol visibility control enabled.
arm-linux-gnueabihf-g++ --sysroot=/home/rootfs -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/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/arm-linux-gnueabihf/include/c++/4.7.3
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/arm-linux-gnueabihf/include/c++/4.7.3/arm-linux-gnueabihf
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/arm-linux-gnueabihf/include/c++/4.7.3/backward
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/lib/gcc/arm-linux-gnueabihf/4.7.3/include
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/lib/gcc/arm-linux-gnueabihf/4.7.3/include-fixed
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/arm-linux-gnueabihf/include
/home/rootfs/usr/include
"
DEFAULT_LIBDIRS="/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/arm-linux-gnueabihf/lib
/home/rootfs/lib
/home/rootfs/usr/lib
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/lib/gcc/arm-linux-gnueabihf/4.7.3
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/lib/gcc
/usr/toolschain/gcc-linaro-arm-linux-gnueabihf-4.7/lib/gcc/arm-linux-gnueabihf
"
Creating qmake...
arm-linux-gnueabihf-g++ -c -o qlibraryinfo.o -pipe -ffunction-sections -g  -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/library -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/generators -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/generators/unix -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/generators/win32 -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/generators/mac -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/qmake/generators/integrity -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/include -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/5.4.2 -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/5.4.2/QtCore -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/src/corelib/global -DHAVE_QCONFIG_CPP -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/mkspecs/devices/linux-am335x-sgx-g++ -I/home/qt-everywhere-opensource-src-5.4.2/qtbase/tools/shared -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS /home/qt-everywhere-opensource-src-5.4.2/qtbase/src/corelib/global/qlibraryinfo.cpp
In file included from /home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/qstring.h:1:0,
                 from /home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/../../src/corelib/io/qdir.h:37,
                 from /home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/qdir.h:1,
                 from /home/qt-everywhere-opensource-src-5.4.2/qtbase/src/corelib/global/qlibraryinfo.cpp:35:
/home/qt-everywhere-opensource-src-5.4.2/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:297:14: note: the mangling of ‘va_list’ has changed in GCC 4.4
arm-linux-gnueabihf-g++ -o "/home/qt-everywhere-opensource-src-5.4.2/qtbase/bin/qmake" project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o gbuild.o cesdkhandler.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o  -Wl,--gc-sections
Running configuration tests...
Failed to process makespec for platform 'devices/linux-am335x-sgx-g++'
/home/qt-everywhere-opensource-src-5.4.2/qtbase/configure: line 3874: /home/qt-everywhere-opensource-src-5.4.2/qtbase/bin/qmake: cannot execute binary file



我的qt_make.sh文件中的内容为:
./configure \
-prefix /usr/toolschain/Qt-5.4.2 \
-release \
-opensource \
-confirm-license \
-no-c++11 \
-shared \
-no-pkg-config \
-optimized-qmake \
-no-iconv \
-no-use-gold-linker \
-device linux-am335x-sgx-g++ \
-device-option CROSS_COMPILE=arm-linux-gnueabihf- \
-no-xcb \
-eglfs  \
-sysroot /home/rootfs \
-qreal float \
-opengl es2 \
-nomake examples \
-nomake tests \
-v



请遇到过QTBUG-36129这个问题的高手们,慷慨赐教!!谢谢

阿莫论坛20周年了!感谢大家的支持与爱护!!

月入3000的是反美的。收入3万是亲美的。收入30万是移民美国的。收入300万是取得绿卡后回国,教唆那些3000来反美的!

出0入0汤圆

发表于 2015-6-17 20:59:25 | 显示全部楼层
真够快的,5.42才出来就用上了~~~~~~~~~

出0入84汤圆

发表于 2015-6-17 21:38:57 | 显示全部楼层
还在用4.8.6。。。。        开始用了下5.2 一大堆问题 还有以前QT4做的程序不兼容, 又没有非用不可的理由 哈哈哈。

出0入0汤圆

发表于 2015-6-17 22:38:18 | 显示全部楼层
你用的是QT for PC吧。。。

出0入0汤圆

 楼主| 发表于 2015-6-18 08:03:35 | 显示全部楼层
godsend 发表于 2015-6-17 22:38
你用的是QT for PC吧。。。

刚刚接触QT,看着qt-help一知半解,请高手赐教

出0入0汤圆

发表于 2015-6-18 17:37:14 | 显示全部楼层
you can ref http://bbs.myir-tech.com/thread-7174-1-1.html

出0入0汤圆

 楼主| 发表于 2015-7-16 15:31:06 | 显示全部楼层
godsend 发表于 2015-6-17 22:38
你用的是QT for PC吧。。。

请问从哪里看出来的呢?怎样切换呢?

出0入0汤圆

发表于 2016-11-14 16:06:42 | 显示全部楼层
楼主,QTBUG-36129是否已解决,我也遇到同样的问题
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-4-25 18:51

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表