[Solved] Qt 5.2.1, Mingw w64 (g++ 4.8.2 seh posix), Win 7 64bits: Undefined reference to 'JSC::Yarr::*'



  • Hello everyone,

    I would like to build the last stable version of Qt with Mingw w64 but I have some link problems:

    @mingw32-make[4]: Entering directory 'E:/outils/qt_5.2.1/qt5/qtdeclarative/src/qml'
    g++ -shared -Wl,--out-implib,E:\outils\qt_5.2.1\qt5\qtbase\lib\libQt5Qmld.a -o E:\outils\qt_5.2.1\qt5\qtbase\lib\Qt5Qmld.dll object_script.Qt5Qmld.Debug -LE:\outils\qt_5.2.1\qt5_deps\icu\dist\lib -LE:\outils\qt_5.2.1\qt5_deps\ope
    nssl-1.0.1e\dist\lib -lshell32 -LE:/outils/qt_5.2.1/qt5/qtbase/lib -lQt5Networkd -lQt5Cored .obj\debug\Qt5Qmld_resource_res.o
    ./.obj\debug\YarrInterpreter.o: In function JSC::Yarr::YarrPattern::newlineCharacterClass()': E:\outils\qt_5.2.1\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:337: undefined reference toJSC::Yarr::newlineCreate()'
    ./.obj\debug\YarrInterpreter.o: In function JSC::Yarr::YarrPattern::wordcharCharacterClass()': E:\outils\qt_5.2.1\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:355: undefined reference toJSC::Yarr::wordcharCreate()'
    ./.obj\debug\YarrPattern.o: In function JSC::Yarr::YarrPattern::digitsCharacterClass()': E:\outils\qt_5.2.1\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:343: undefined reference toJSC::Yarr::digitsCreate()'
    ./.obj\debug\YarrPattern.o: In function JSC::Yarr::YarrPattern::spacesCharacterClass()': E:\outils\qt_5.2.1\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:349: undefined reference toJSC::Yarr::spacesCreate()'
    ./.obj\debug\YarrPattern.o: In function JSC::Yarr::YarrPattern::nondigitsCharacterClass()': E:\outils\qt_5.2.1\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:361: undefined reference toJSC::Yarr::nondigitsCreate()'
    ./.obj\debug\YarrPattern.o: In function JSC::Yarr::YarrPattern::nonspacesCharacterClass()': E:\outils\qt_5.2.1\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:367: undefined reference toJSC::Yarr::nonspacesCreate()'
    ./.obj\debug\YarrPattern.o: In function JSC::Yarr::YarrPattern::nonwordcharCharacterClass()': E:\outils\qt_5.2.1\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:373: undefined reference toJSC::Yarr::nonwordcharCreate()'
    collect2.exe: error: ld returned 1 exit status
    Makefile.Debug:504: recipe for target 'E:\outils\qt_5.2.1\qt5\qtbase\lib\Qt5Qmld.dll' failed@

    I follow this "topic":http://qt-project.org/wiki/MinGW-64-bit and I had no error so far.

    This kind of error was already found in some news ("here":http://lists.qt-project.org/pipermail/interest/2013-October/009243.html) but in my case, I just download the zip archive.

    Do you any clues to fix this problem please?

    Thank you!

    Edit: I just saw this "post":https://qt-project.org/forums/viewthread/33212 and this fix my problem: python and perl were not in my PATH variable


Log in to reply
 

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