cross-compilling Qt embedded 5.5 for Raspberry Pi 2



  • I’m using the following tutorial
    http://visualgdb.com/tutorials/raspberry/qt/embedded/

    But at step 16 I get the following error

    could not determine the target architecture!
    The OpenGL ES 2.0 functionality test failed!
    Use of pkg-config is not enabled, maybe you want to pass
    force-pkg-config?
    You might need to modify the include and library search paths by
    editing
    QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and
    QMAKE_LIBS_OPENGL_ES2 in
    c:/download/qt-everywhere-<wbr />opensource-src-5.5.0/qtbase/<wbr
    mkspecs/devices/linux-rasp-pi2-g++

    please help me



  • Try using -force-pkg-config as an additional argument while configuring again and see if that works. e.g. -device-option CROSS_COMPILE=C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf- -qt-xcb -force-pkg-config



  • i added -force-pkg-config as an additional argument but nothing changed.
    i get the same error text.



  • See my post in another thread. This worked for me:

    @MCam said:

    Go back to Step 6 in that tutorial and make sure you synchronize directory "/opt". I think it was not included in the default settings, i had to add that manually. It should be ok to just synchronize /opt in that second run, because you already have the other directories in your /sysroot from the first synchronize.
    After that you can simply skip forward to Step 16 and try it again. Hope that helps!



  • you have right it was not included in the default settings.But i am trying to add that manually
    but it start to transfert after some minuten the transfer stop before finished.



  • now der directory "/opt" is synchronized, but nothing change again.



  • Well, There is a better solution for all this pain. I have made a Docker image of Raspbian having Qt5.5 in it. it is simple to use

    here is the link



  • @carter_james I can assure you that it works, I did it two times during the last month based on this tutorial. Your error indicates u are missing the opengl drivers in your sysroot. Make sure you have the libGL* and libEGL* libraries in your sysroot/opt/vc/lib (you should after synchronizing /opt).



  • yes, @MadOverlord is correct. Not sure how it synchronize the sysroot as mentioned in step 6 but while working with linux you actually mount the raspi image to some path for sysroot path than configure itself detects the all raspi required lib from that file system.

    Please check following libs are required for OpenGL ES support

    pi@raspberrypi:~ $ ls /opt/vc/lib/ | grep GL
    libEGL.so
    libEGL_static.a
    libGLESv1_CM.so
    libGLESv2.so
    libGLESv2_static.a

    pi@raspberrypi:~ $ ls /usr/lib/arm-linux-gnueabihf/ | grep GL
    libEGL.so.1
    libEGL.so.1.0.0
    libGLESv2.so.2
    libGLESv2.so.2.0.0

    when configured it displays like following (FYI just chunk from all config)
    OpenGL / OpenVG:
    EGL .................. yes
    OpenGL ............... yes (OpenGL ES 2.0+)
    OpenVG ............... no
    PCRE ................... yes (bundled copy)
    pkg-config ............. yes



  • pi@raspberrypi ~ $ sudo find / -name libGL*
    /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2
    /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0
    /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
    /usr/lib/arm-linux-gnueabihf/libGLESv2.so
    /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10
    /usr/lib/arm-linux-gnueabihf/libGLU.so.1.3.1
    /usr/lib/arm-linux-gnueabihf/libGL.so.1
    /usr/lib/arm-linux-gnueabihf/libGLU.so.1
    /usr/lib/arm-linux-gnueabihf/libGLEW.so.1.10.0
    /opt/vc/lib/libGLESv2.so
    /opt/vc/lib/libGLESv1_CM.so
    /opt/vc/lib/libGLESv2_static.a
    /opt/Wolfram/WolframEngine/10.0/SystemFiles/Libraries/Linux-ARM/Mesa/libGL.so.1
    /opt/Wolfram/WolframEngine/10.0/SystemFiles/Libraries/Linux-ARM/libGLU.so.1
    pi@raspberrypi ~ $ sudo find / -name libEGL*
    /usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0
    /usr/lib/arm-linux-gnueabihf/libEGL.so.1
    /usr/lib/arm-linux-gnueabihf/libEGL.so
    /opt/vc/lib/libEGL.so
    /opt/vc/lib/libEGL_static.a
    pi@raspberrypi ~ $

    in the sysroot/opt/vc/lib file there ist not a libGL librarie



  • pi@raspberrypi /opt $ ls /opt/vc/lib/ | grep GL
    libEGL.so
    libEGL_static.a
    libGLESv1_CM.so
    libGLESv2.so
    libGLESv2_static.a

    pi@raspberrypi /usr $ ls /usr/lib/arm-linux-gnueabihf/ | grep GL
    libEGL.so
    libEGL.so.1
    libEGL.so.1.0.0
    libGLESv2.so
    libGLESv2.so.2
    libGLESv2.so.2.0.0
    libGLEW.so.1.10
    libGLEW.so.1.10.0
    libGL.so.1
    libGL.so.1.2.0
    libGLU.so.1
    libGLU.so.1.3.1



  • which paket may i have to install to get the libGL librarie



  • I got some errors thrown to me at step 17 when I did “make && make install”.

    make[2]: Entering directory `/c/users/ua/Downloads/qt-build/qtxmlpatterns/tools'

    cd xmlpatterns/ && ( test -e Makefile || c:/users/ua/Downloads/qt-build/qtbase/b
    in/qmake.exe C:/users/ua/Downloads/qt-everywhere-opensource-src-5.5.0/qtxmlpatte
    rns/tools/xmlpatterns/xmlpatterns.pro -o Makefile ) && make -f Makefile
    make[3]: Entering directory /c/users/ua/Downloads/qt-build/qtxmlpatterns/tools/ xmlpatterns' make[3]: Nothing to be done forfirst'.
    make[3]: Leaving directory /c/users/ua/Downloads/qt-build/qtxmlpatterns/tools/x mlpatterns' cd xmlpatternsvalidator/ && ( test -e Makefile || c:/users/ua/Downloads/qt-build /qtbase/bin/qmake.exe C:/users/ua/Downloads/qt-everywhere-opensource-src-5.5.0/q txmlpatterns/tools/xmlpatternsvalidator/xmlpatternsvalidator.pro -o Makefile ) & & make -f Makefile make[3]: Entering directory/c/users/ua/Downloads/qt-build/qtxmlpatterns/tools/
    xmlpatternsvalidator'
    make[3]: Nothing to be done for first'. make[3]: Leaving directory/c/users/ua/Downloads/qt-build/qtxmlpatterns/tools/x
    mlpatternsvalidator'
    make[2]: Leaving directory /c/users/ua/Downloads/qt-build/qtxmlpatterns/tools' cd examples/ && ( test -e Makefile || c:/users/ua/Downloads/qt-build/qtbase/bin/ qmake.exe C:/users/ua/Downloads/qt-everywhere-opensource-src-5.5.0/qtxmlpatterns /examples/examples.pro -o Makefile ) && make -f Makefile make[2]: Entering directory/c/users/ua/Downloads/qt-build/qtxmlpatterns/exampl
    es'
    cd xmlpatterns/ && ( test -e Makefile || c:/users/ua/Downloads/qt-build/qtbase/b
    in/qmake.exe C:/users/ua/Downloads/qt-everywhere-opensource-src-5.5.0/qtxmlpatte
    rns/examples/xmlpatterns/xmlpatterns.pro -o Makefile ) && make -f Makefile
    make[3]: Entering directory /c/users/ua/Downloads/qt-build/qtxmlpatterns/exampl es/xmlpatterns' cd xquery/ && ( test -e Makefile || c:/users/ua/Downloads/qt-build/qtbase/bin/qm ake.exe C:/users/ua/Downloads/qt-everywhere-opensource-src-5.5.0/qtxmlpatterns/e xamples/xmlpatterns/xquery/xquery.pro -o Makefile ) && make -f Makefile make[4]: Entering directory/c/users/ua/Downloads/qt-build/qtxmlpatterns/exampl
    es/xmlpatterns/xquery'
    make[4]: Nothing to be done for first'. make[4]: Leaving directory/c/users/ua/Downloads/qt-build/qtxmlpatterns/example
    s/xmlpatterns/xquery'
    cd recipes/ && ( test -e Makefile || c:/users/ua/Downloads/qt-build/qtbase/bin/q
    make.exe C:/users/ua/Downloads/qt-everywhere-opensource-src-5.5.0/qtxmlpatterns/
    examples/xmlpatterns/recipes/recipes.pro -o Makefile ) && make -f Makefile
    make[4]: Entering directory /c/users/ua/Downloads/qt-build/qtxmlpatterns/exampl es/xmlpatterns/recipes' make[4]: Nothing to be done forfirst'.
    make[4]: Leaving directory /c/users/ua/Downloads/qt-build/qtxmlpatterns/example s/xmlpatterns/recipes' cd filetree/ && ( test -e Makefile || c:/users/ua/Downloads/qt-build/qtbase/bin/ qmake.exe C:/users/ua/Downloads/qt-everywhere-opensource-src-5.5.0/qtxmlpatterns /examples/xmlpatterns/filetree/filetree.pro -o Makefile ) && make -f Makefile make[4]: Entering directory/c/users/ua/Downloads/qt-build/qtxmlpatterns/exampl
    es/xmlpatterns/filetree'
    make[4]: Nothing to be done for first'. make[4]: Leaving directory/c/users/ua/Downloads/qt-build/qtxmlpatterns/example
    s/xmlpatterns/filetree'
    cd schema/ && ( test -e Makefile || c:/users/ua/Downloads/qt-build/qtbase/bin/qm
    ake.exe C:/users/ua/Downloads/qt-everywhere-opensource-src-5.5.0/qtxmlpatterns/e
    xamples/xmlpatterns/schema/schema.pro -o Makefile ) && make -f Makefile
    make[4]: Entering directory /c/users/ua/Downloads/qt-build/qtxmlpatterns/exampl es/xmlpatterns/schema' make[4]: Nothing to be done forfirst'.
    make[4]: Leaving directory /c/users/ua/Downloads/qt-build/qtxmlpatterns/example s/xmlpatterns/schema' make[3]: Leaving directory/c/users/ua/Downloads/qt-build/qtxmlpatterns/example
    s/xmlpatterns'
    make[2]: Leaving directory /c/users/ua/Downloads/qt-build/qtxmlpatterns/example s' make[1]: Leaving directory/c/users/ua/Downloads/qt-build/qtxmlpatterns'
    cd qtdeclarative/ && ( test -e Makefile || c:/users/ua/Downloads/qt-build/qtbase
    /bin/qmake.exe C:/users/ua/Downloads/qt-everywhere-opensource-src-5.5.0/qtdeclar
    ative/qtdeclarative.pro -o Makefile ) && make -f Makefile
    make[1]: Entering directory /c/users/ua/Downloads/qt-build/qtdeclarative' cd src/ && ( test -e Makefile || c:/users/ua/Downloads/qt-build/qtbase/bin/qmake .exe C:/users/ua/Downloads/qt-everywhere-opensource-src-5.5.0/qtdeclarative/src/ src.pro -o Makefile ) && make -f Makefile make[2]: Entering directory/c/users/ua/Downloads/qt-build/qtdeclarative/src'
    cd qml/ && ( test -e Makefile || c:/users/ua/Downloads/qt-build/qtbase/bin/qmake
    .exe C:/users/ua/Downloads/qt-everywhere-opensource-src-5.5.0/qtdeclarative/src/
    qml/qml.pro -o Makefile ) && make -f Makefile
    make[3]: Entering directory /c/users/ua/Downloads/qt-build/qtdeclarative/src/qm l' rm -f libQt5Qml.so.5.5.0 libQt5Qml.so libQt5Qml.so.5 libQt5Qml.so.5.5 C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,C:/SysGCC/Raspbe rry/arm-linux-gnueabihf/sysroot/opt/vc/lib -mfloat-abi=hard --sysroot=C:/SysGCC/ Raspberry/arm-linux-gnueabihf/sysroot -Wl,--no-undefined -Wl,-O1 -Wl,--enable-ne w-dtags -Wl,-rpath,C:/usr/local/qt5/lib -shared -Wl,-soname,libQt5Qml.so.5 -o li bQt5Qml.so.5.5.0 .obj/qqmlchangeset.obj .obj/qqmllistaccessor.obj .obj/qqmllistc ompositor.obj .obj/qqmladaptormodel.obj .obj/qqmlpropertymap.obj .obj/qqmljsast. obj .obj/qqmljsastvisitor.obj .obj/qqmljsengine_p.obj .obj/qqmljsgrammar.obj .ob j/qqmljslexer.obj .obj/qqmljsparser.obj .obj/qv4compileddata.obj .obj/qv4compile r.obj .obj/qv4codegen.obj .obj/qv4isel_p.obj .obj/qv4jsir.obj .obj/qv4ssa.obj .o bj/qqmlirbuilder.obj .obj/qqmltypecompiler.obj .obj/qv4instr_moth.obj .obj/qv4is el_moth.obj .obj/qjsengine.obj .obj/qjsvalue.obj .obj/qjsvalueiterator.obj .obj/ qv4assembler.obj .obj/qv4regalloc.obj .obj/qv4isel_masm.obj .obj/qv4binop.obj .o bj/qv4unop.obj .obj/ARMv7Assembler.obj .obj/LinkBuffer.obj .obj/PrintStream.obj .obj/FilePrintStream.obj .obj/OSAllocatorPosix.obj .obj/PageAllocationAligned.ob j .obj/PageBlock.obj .obj/WTFStubs.obj .obj/Options.obj .obj/Disassembler.obj .o bj/UDis86Disassembler.obj .obj/ARMv7Disassembler.obj .obj/ARMv7DOpcode.obj .obj/ YarrCanonicalizeUCS2.obj .obj/YarrInterpreter.obj .obj/YarrJIT.obj .obj/YarrPatt ern.obj .obj/YarrSyntaxChecker.obj .obj/qv4engine.obj .obj/qv4context.obj .obj/q v4persistent.obj .obj/qv4debugging.obj .obj/qv4lookup.obj .obj/qv4identifier.obj .obj/qv4identifiertable.obj .obj/qv4mm.obj .obj/qv4managed.obj .obj/qv4internal class.obj .obj/qv4sparsearray.obj .obj/qv4arraydata.obj .obj/qv4arrayobject.obj .obj/qv4argumentsobject.obj .obj/qv4booleanobject.obj .obj/qv4dateobject.obj .ob j/qv4errorobject.obj .obj/qv4function.obj .obj/qv4functionobject.obj .obj/qv4glo balobject.obj .obj/qv4jsonobject.obj .obj/qv4mathobject.obj .obj/qv4memberdata.o bj .obj/qv4numberobject.obj .obj/qv4object.obj .obj/qv4objectproto.obj .obj/qv4r egexpobject.obj .obj/qv4stringobject.obj .obj/qv4variantobject.obj .obj/qv4objec titerator.obj .obj/qv4regexp.obj .obj/qv4serialize.obj .obj/qv4script.obj .obj/q v4executableallocator.obj .obj/qv4sequenceobject.obj .obj/qv4include.obj .obj/qv 4qobjectwrapper.obj .obj/qv4qmlextensions.obj .obj/qv4vme_moth.obj .obj/qv4profi ling.obj .obj/qv4arraybuffer.obj .obj/qv4typedarray.obj .obj/qv4dataview.obj .ob j/qv4runtime.obj .obj/qv4string.obj .obj/qv4value.obj .obj/bignum.obj .obj/bignu m-dtoa.obj .obj/cached-powers.obj .obj/diy-fp.obj .obj/double-conversion.obj .ob j/fast-dtoa.obj .obj/fixed-dtoa.obj .obj/strtod.obj .obj/qqmlopenmetaobject.obj .obj/qqmlvmemetaobject.obj .obj/qqmlengine.obj .obj/qqmlexpression.obj .obj/qqml property.obj .obj/qqmlcomponent.obj .obj/qqmlincubator.obj .obj/qqmlcontext.obj .obj/qqmlcustomparser.obj .obj/qqmlpropertyvaluesource.obj .obj/qqmlpropertyvalu einterceptor.obj .obj/qqmlproxymetaobject.obj .obj/qqmlvme.obj .obj/qqmlcompiled data.obj .obj/qqmlboundsignal.obj .obj/qqmlmetatype.obj .obj/qqmlstringconverter s.obj .obj/qqmlparserstatus.obj .obj/qqmltypeloader.obj .obj/qqmlinfo.obj .obj/q qmlerror.obj .obj/qqmlvaluetype.obj .obj/qqmlaccessors.obj .obj/qqmlxmlhttpreque st.obj .obj/qqmlwatcher.obj .obj/qqmlcleanup.obj .obj/qqmlpropertycache.obj .obj /qqmlnotifier.obj .obj/qqmltypenotavailable.obj .obj/qqmltypenamecache.obj .obj/ qqmlscriptstring.obj .obj/qqmlnetworkaccessmanagerfactory.obj .obj/qqmlextension plugin.obj .obj/qqmlimport.obj .obj/qqmllist.obj .obj/qqmllocale.obj .obj/qqmlab stractexpression.obj .obj/qqmljavascriptexpression.obj .obj/qqmlabstractbinding. obj .obj/qqmlvaluetypeproxybinding.obj .obj/qqmlglobal.obj .obj/qqmlfile.obj .ob j/qqmlmemoryprofiler.obj .obj/qqmlplatform.obj .obj/qqmlbinding.obj .obj/qqmlabs tracturlinterceptor.obj .obj/qqmlapplicationengine.obj .obj/qqmllistwrapper.obj .obj/qqmlcontextwrapper.obj .obj/qqmlvaluetypewrapper.obj .obj/qqmltypewrapper.o bj .obj/qqmlfileselector.obj .obj/qqmlobjectcreator.obj .obj/qqmldirparser.obj . obj/qintrusivelist.obj .obj/qhashedstring.obj .obj/qqmlpool.obj .obj/qqmlthread. obj .obj/qv8engine.obj .obj/qv4domerrors.obj .obj/qv4sqlerrors.obj .obj/qqmlbuil tinfunctions.obj .obj/qqmldebugservice.obj .obj/qqmlprofilerservice.obj .obj/qqm ldebugserver.obj .obj/qqmlinspectorservice.obj .obj/qqmlenginedebugservice.obj . obj/qdebugmessageservice.obj .obj/qv4debugservice.obj .obj/qqmlconfigurabledebug service.obj .obj/qqmlenginecontrolservice.obj .obj/qqmlabstractprofileradapter.o bj .obj/qv4profileradapter.obj .obj/qqmlprofiler.obj .obj/qabstractanimationjob. obj .obj/qanimationgroupjob.obj .obj/qsequentialanimationgroupjob.obj .obj/qpara llelanimationgroupjob.obj .obj/qcontinuinganimationgroupjob.obj .obj/qpauseanima tionjob.obj .obj/qqmlbind.obj .obj/qqmlconnections.obj .obj/qqmldelegatemodel.ob j .obj/qqmllistmodel.obj .obj/qqmllistmodelworkeragent.obj .obj/qqmlmodelsmodule .obj .obj/qqmlmodelindexvaluetype.obj .obj/qqmlobjectmodel.obj .obj/qqmltimer.ob j .obj/qquickpackage.obj .obj/qquickworkerscript.obj .obj/qqmlinstantiator.obj . obj/moc_qqmlpropertymap.obj .obj/moc_qv4debugging_p.obj .obj/moc_qv4include_p.ob j .obj/moc_qv4qobjectwrapper_p.obj .obj/moc_qv4profiling_p.obj .obj/moc_qqmlglob al_p.obj .obj/moc_qqmlcomponent.obj .obj/moc_qqmlengine.obj .obj/moc_qqmlcontext .obj .obj/moc_qqmlvaluetype_p.obj .obj/moc_qqmlwatcher_p.obj .obj/moc_qqmltypeno tavailable_p.obj .obj/moc_qqmlextensionplugin.obj .obj/moc_qqmllocale_p.obj .obj /moc_qqmlcomponentattached_p.obj .obj/moc_qqmlplatform_p.obj .obj/moc_qqmlfilese lector.obj .obj/moc_qqmldebugservice_p.obj .obj/moc_qqmlprofilerservice_p.obj .o bj/moc_qqmlinspectorservice_p.obj .obj/moc_qqmlenginedebugservice_p.obj .obj/moc _qdebugmessageservice_p.obj .obj/moc_qv4debugservice_p.obj .obj/moc_qqmlconfigur abledebugservice_p.obj .obj/moc_qqmlabstractprofileradapter_p.obj .obj/moc_qv4pr ofileradapter_p.obj .obj/moc_qqmlprofiler_p.obj .obj/moc_qabstractanimationjob_p .obj .obj/moc_qqmlbind_p.obj .obj/moc_qqmlconnections_p.obj .obj/moc_qqmldelegat emodel_p.obj .obj/moc_qqmldelegatemodel_p_p.obj .obj/moc_qqmllistmodel_p.obj .ob j/moc_qqmllistmodel_p_p.obj .obj/moc_qqmllistmodelworkeragent_p.obj .obj/moc_qqm lmodelindexvaluetype_p.obj .obj/moc_qqmlobjectmodel_p.obj .obj/moc_qqmltimer_p.o bj .obj/moc_qquickpackage_p.obj .obj/moc_qquickworkerscript_p.obj -LC:/users/ua /Downloads/qt-build/qtbase/lib -lQt5Network -lQt5Core -lpthread -lrt .obj/YarrInterpreter.obj: In functionJSC::Yarr::byteCompile(JSC::Yarr::YarrPat
    tern&, WTF::BumpPointerAllocator*)':
    YarrInterpreter.cpp:(.text+0x6f4): undefined reference to JSC::Yarr::wordcharCr eate()' YarrInterpreter.cpp:(.text+0x76c): undefined reference toJSC::Yarr::newlineCre
    ate()'
    .obj/YarrJIT.obj: In function `JSC::Yarr::YarrPattern::newlineCharacterClass()':

    YarrJIT.cpp:(.text._ZN3JSC4Yarr11YarrPattern21newlineCharacterClassEv[_ZN3JSC4Ya
    rr11YarrPattern21newlineCharacterClassEv]+0x20): undefined reference to JSC::Ya rr::newlineCreate()' .obj/YarrJIT.obj: In functionJSC::Yarr::YarrGenerator<(JSC::Yarr::YarrJITCompi
    leMode)0>::matchAssertionWordchar(unsigned int, JSC::AbstractMacroAssembler<JSC:
    :ARMv7Assembler>::JumpList&, JSC::AbstractMacroAssemblerJSC::ARMv7Assembler::J
    umpList&)':
    YarrJIT.cpp:(.text.ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE0EE22ma
    tchAssertionWordcharEjRNS_22AbstractMacroAssemblerINS_14ARMv7AssemblerEE8JumpLis
    tES8
    [ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE0EE22matchAssertionW
    ordcharEjRNS_22AbstractMacroAssemblerINS_14ARMv7AssemblerEE8JumpListES8
    ]+0x19c)
    : undefined reference to JSC::Yarr::wordcharCreate()' .obj/YarrJIT.obj: In functionJSC::Yarr::YarrGenerator<(JSC::Yarr::YarrJITCompi
    leMode)0>::generateAssertionWordBoundary(unsigned int)':
    YarrJIT.cpp:(.text._ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE0EE29ge
    nerateAssertionWordBoundaryEj[_ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileM
    odeE0EE29generateAssertionWordBoundaryEj]+0x360): undefined reference to JSC::Y arr::wordcharCreate()' .obj/YarrJIT.obj: In functionJSC::Yarr::YarrGenerator<(JSC::Yarr::YarrJITCompi
    leMode)1>::matchAssertionWordchar(unsigned int, JSC::AbstractMacroAssembler<JSC:
    :ARMv7Assembler>::JumpList&, JSC::AbstractMacroAssemblerJSC::ARMv7Assembler::J
    umpList&)':
    YarrJIT.cpp:(.text.ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE1EE22ma
    tchAssertionWordcharEjRNS_22AbstractMacroAssemblerINS_14ARMv7AssemblerEE8JumpLis
    tES8
    [ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE1EE22matchAssertionW
    ordcharEjRNS_22AbstractMacroAssemblerINS_14ARMv7AssemblerEE8JumpListES8
    ]+0x19c)
    : undefined reference to JSC::Yarr::wordcharCreate()' .obj/YarrJIT.obj: In functionJSC::Yarr::YarrGenerator<(JSC::Yarr::YarrJITCompi
    leMode)1>::generateAssertionWordBoundary(unsigned int)':
    YarrJIT.cpp:(.text._ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileModeE1EE29ge
    nerateAssertionWordBoundaryEj[_ZN3JSC4Yarr13YarrGeneratorILNS0_18YarrJITCompileM
    odeE1EE29generateAssertionWordBoundaryEj]+0x360): undefined reference to JSC::Y arr::wordcharCreate()' .obj/YarrPattern.obj: In functionJSC::Yarr::YarrPatternConstructor::atomBuiltI
    nCharacterClass(JSC::Yarr::BuiltInCharacterClassID, bool)':
    YarrPattern.cpp:(.text._ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacte
    rClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr22YarrPatternConstructor25ato
    mBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x3c): undefined referen
    ce to JSC::Yarr::newlineCreate()' YarrPattern.cpp:(.text._ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacte rClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr22YarrPatternConstructor25ato mBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x134): undefined refere nce toJSC::Yarr::wordcharCreate()'
    YarrPattern.cpp:(.text._ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacte
    rClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr22YarrPatternConstructor25ato
    mBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x1bc): undefined refere
    nce to JSC::Yarr::spacesCreate()' YarrPattern.cpp:(.text._ZN3JSC4Yarr22YarrPatternConstructor25atomBuiltInCharacte rClassENS0_23BuiltInCharacterClassIDEb[_ZN3JSC4Yarr22YarrPatternConstructor25ato mBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x244): undefined refere nce toJSC::Yarr::digitsCreate()'
    .obj/YarrPattern.obj: In function JSC::Yarr::YarrPatternConstructor::optimizeDo tStarWrappedExpressions()': YarrPattern.cpp:(.text._ZN3JSC4Yarr22YarrPatternConstructor33optimizeDotStarWrap pedExpressionsEv[_ZN3JSC4Yarr22YarrPatternConstructor33optimizeDotStarWrappedExp ressionsEv]+0x420): undefined reference toJSC::Yarr::newlineCreate()'
    .obj/YarrPattern.obj: In function JSC::Yarr::Parser<JSC::Yarr::YarrPatternConst ructor, unsigned short>::CharacterClassParserDelegate::atomBuiltInCharacterClass (JSC::Yarr::BuiltInCharacterClassID, bool)': YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x184): undefi ned reference toJSC::Yarr::nonwordcharCreate()'
    YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char
    acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI
    DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel
    egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0x930): undefi
    ned reference to JSC::Yarr::nonwordcharCreate()' YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xa00): undefi ned reference toJSC::Yarr::spacesCreate()'
    YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char
    acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI
    DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel
    egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xa9c): undefi
    ned reference to JSC::Yarr::wordcharCreate()' YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xb20): undefi ned reference toJSC::Yarr::spacesCreate()'
    YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char
    acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI
    DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel
    egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xba4): undefi
    ned reference to JSC::Yarr::wordcharCreate()' YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xc24): undefi ned reference toJSC::Yarr::digitsCreate()'
    YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char
    acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI
    DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel
    egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xca4): undefi
    ned reference to JSC::Yarr::digitsCreate()' YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xd44): undefi ned reference toJSC::Yarr::nonspacesCreate()'
    YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char
    acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI
    DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel
    egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xdbc): undefi
    ned reference to JSC::Yarr::nondigitsCreate()' YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xe30): undefi ned reference toJSC::Yarr::nondigitsCreate()'
    YarrPattern.cpp:(.text._ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28Char
    acterClassParserDelegate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassI
    DEb[_ZN3JSC4Yarr6ParserINS0_22YarrPatternConstructorEtE28CharacterClassParserDel
    egate25atomBuiltInCharacterClassENS0_23BuiltInCharacterClassIDEb]+0xea4): undefi
    ned reference to `JSC::Yarr::nonspacesCreate()'

    collect2.exe: error: ld returned 1 exit status
    make[3]: *** [../../lib/libQt5Qml.so.5.5.0] Error 1
    make[3]: Leaving directory /c/users/ua/Downloads/qt-build/qtdeclarative/src/qml ' make[2]: *** [sub-qml-make_first-ordered] Error 2 make[2]: Leaving directory/c/users/ua/Downloads/qt-build/qtdeclarative/src'
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory `/c/users/ua/Downloads/qt-build/qtdeclarative'
    make: *** [module-qtdeclarative-make_first] Error 2



  • I have the same problem, i hope someone understand this messages and help us to find a solution. embedded 5.5.1



  • Hey James,

    i "solved" it, i deleted the qt-build folder completely and started again, now it was a clean rebuild.

    I think before there were problems because of the interrupts missing data.

    I'm sorry for my bad english.



  • Can anybody provide me a tested step by step procedure to deploy application on a raspberry pi hardware .
    It urgent



  • @Quotic
    that mean you deleted the qt-build folder completely and done a make again?
    what was your directory for the make ?



  • @carter_james
    no i started the procedure completely new. Inclusive configure.

    At the first time i had forget to install python on my windows system. So make aborted. I continued make and got the same error like you. After this I deleted qt-build (my make folder like described in the tutorial)

    Configure > Make > Make Install without a error.
    (But you have to compile qmake.exe also again so you has to edit your configure file back to default (if true; then) ...

    I think continue make after error with call "make" again, wasn't the best idea.



  • i already started the procedure several time
    but i get always problems with the make.does your cross compilation work?



  • yes it's working perfectly.

    One thing i had done also was installing perl, but i think this wasn't the solution because perl is already installed by raspberry toolchain



  • how did you set the PATH at the environment variable?

    i have write this one:
    variable : PATH

    Value: C:\python27\Scripts;C:\SysGCC\MinGW32\bin;C:\SysGCC\MinGW32\msys\1.0\bin;C:\SysGCC\Raspberry\bin


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.