[Interest] qt5 compiling errors using Mingw(x64) on Windows7

Xiaolei Shang xiaolei.shang at cobham.com
Thu Oct 10 11:30:37 CEST 2013


Hi all:

I am trying to compiling Qt5.2.0 using MinGW(x64) on windows7 following 
the instruction: http://qt-project.org/wiki/MinGW-64-bit

After checking out using git, I initilize it with:
perl init-repository --no-webkit

When I configure Qt, I use this:

configure -debug-and-release -opensource -confirm-license -platform 
win32-g++ -developer-build -c++11 -icu -opengl desktop -openssl 
-qt-sql-mysql -plugin-sql-mysql -plugin-sql-odbc -qt-style-windowsxp 
-qt-style-windowsvista -nomake examples -nomake tests

I can't find anything wrong with it, but I still get the following 
errors while compiling. Could anyone help me to point out why these 
errors generated? How should I fix it?


./.obj\debug_shared\YarrInterpreter.o: In function 
`JSC::Yarr::YarrPattern::newlineCharacterClass()':
D:\Qt\qt5.2.0\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:337: 
undefined reference to `JSC::Yarr::newlineCreate()'
./.obj\debug_shared\YarrInterpreter.o: In function 
`JSC::Yarr::YarrPattern::wordcharCharacterClass()':
D:\Qt\qt5.2.0\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:355: 
undefined reference to `JSC::Yarr::wordcharCreate()'
./.obj\debug_shared\YarrPattern.o: In function 
`JSC::Yarr::YarrPattern::digitsCharacterClass()':
D:\Qt\qt5.2.0\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:343: 
undefined reference to `JSC::Yarr::digitsCreate()'
./.obj\debug_shared\YarrPattern.o: In function 
`JSC::Yarr::YarrPattern::spacesCharacterClass()':
D:\Qt\qt5.2.0\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:349: 
undefined reference to `JSC::Yarr::spacesCreate()'
./.obj\debug_shared\YarrPattern.o: In function 
`JSC::Yarr::YarrPattern::nondigitsCharacterClass()':
D:\Qt\qt5.2.0\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:361: 
undefined reference to `JSC::Yarr::nondigitsCreate()'
./.obj\debug_shared\YarrPattern.o: In function 
`JSC::Yarr::YarrPattern::nonspacesCharacterClass()':
D:\Qt\qt5.2.0\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:367: 
undefined reference to `JSC::Yarr::nonspacesCreate()'
./.obj\debug_shared\YarrPattern.o: In function 
`JSC::Yarr::YarrPattern::nonwordcharCharacterClass()':
D:\Qt\qt5.2.0\qt5\qtdeclarative\src\qml/../3rdparty/masm/yarr/YarrPattern.h:373: 
undefined reference to `JSC::Yarr::nonwordcharCreate()'
collect2.exe: error: ld returned 1 exit status
Makefile.Debug:498: recipe for target 
'D:\Qt\qt5.2.0\qt5\qtbase\lib\Qt5Qmld.dll' failed
mingw32-make[4]: *** [D:\Qt\qt5.2.0\qt5\qtbase\lib\Qt5Qmld.dll] Error 1
mingw32-make[4]: Leaving directory 'D:/Qt/qt5.2.0/qt5/qtdeclarative/src/qml'


Kind regards

Xiaolei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131010/002f59db/attachment.html>


More information about the Interest mailing list