<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[The Compile error for Qt5]]></title><description><![CDATA[<ol>
<li>./configure -opensource -arch arm -prefix /usr/local/qt5-arm -release -make libs -xplatform qws/linux-arm-g++ -force-pkg-config -no-xcb -I/usr/local/tslib/include -L/usr/local/tslib/lib -release</li>
<li>make</li>
<li>error:<br />
.obj/release-shared/qtextcodec.o: In function <code>QTextCodec::~QTextCodec()': qtextcodec.cpp:(.text+0x10f0): undefined reference to </code>__sync_bool_compare_and_swap_4'<br />
qtextcodec.cpp:(.text+0x1150): undefined reference to <code>__sync_fetch_and_add_4' qtextcodec.cpp:(.text+0x116c): undefined reference to </code>__sync_fetch_and_add_4'</li>
</ol>
<p dir="auto">.obj/release-shared/qmimedatabase.o:qmimedatabase.cpp:(.text+0x2be4): more undefined references to <code>__sync_fetch_and_add_4' follow collect2: ld returned 1 exit status make[1]: *** [../../lib/libQtCore.so.5.0.0] Error 1 make[1]: Leaving directory </code>/root/qt5/qtbase/src/corelib'<br />
make: *** [sub-corelib-make_default-ordered] Error 2</p>
<p dir="auto">Did anyone got this problem solved please?</p>
<p dir="auto">thanks</p>
]]></description><link>https://forum.qt.io/topic/15618/the-compile-error-for-qt5</link><generator>RSS for Node</generator><lastBuildDate>Wed, 06 May 2026 20:54:22 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/15618.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Apr 2012 01:54:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to The Compile error for Qt5 on Tue, 26 Mar 2013 13:38:52 GMT]]></title><description><![CDATA[<p dir="auto">I think I have the same problem when I use arm-none-linux-gnueabi-c++ 4.4.1 .</p>
<p dir="auto">.obj/release-shared/qmimeprovider.o:qmimeprovider.cpp:(.text._ZN20QMimeAllGlobPatternsD1Ev[QMimeAllGlobPatterns::~QMimeAllGlobPatterns()]+0x248): more undefined references to <code>__sync_fetch_and_add_4' follow collect2: ld returned 1 exit status make[2]: *** [../../lib/libQt5Core.so.5.0.1] Error 1 make[2]: Leaving directory </code>/home/liqiang/Qt5.0.1/5.0.1/Src/qtbase/src/corelib'<br />
make[1]: *** [sub-corelib-make_first] Error 2<br />
make[1]: Leaving directory `/home/liqiang/Qt5.0.1/5.0.1/Src/qtbase/src'<br />
make: *** [sub-src-make_first] Error 2</p>
]]></description><link>https://forum.qt.io/post/151105</link><guid isPermaLink="true">https://forum.qt.io/post/151105</guid><dc:creator><![CDATA[Q.Lee]]></dc:creator><pubDate>Tue, 26 Mar 2013 13:38:52 GMT</pubDate></item><item><title><![CDATA[Reply to The Compile error for Qt5 on Thu, 12 Apr 2012 13:50:32 GMT]]></title><description><![CDATA[<p dir="auto">The same error came to me when I use arm-linux-g++ 4.2.1 ,  but it's not shown when I changed to arm-linux-g++ 4.6.1.</p>
]]></description><link>https://forum.qt.io/post/135570</link><guid isPermaLink="true">https://forum.qt.io/post/135570</guid><dc:creator><![CDATA[zhxt]]></dc:creator><pubDate>Thu, 12 Apr 2012 13:50:32 GMT</pubDate></item></channel></rss>