<?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[Qt giving the ld error]]></title><description><![CDATA[<p dir="auto">Hi ,</p>
<p dir="auto">Based on the url <a href="http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard" target="_blank" rel="noopener noreferrer nofollow ugc">http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard</a></p>
<p dir="auto">bitbake core-image-minimal and  bitbake meta-toolchain-qt5</p>
<p dir="auto">Both gave me success.</p>
<p dir="auto">But after setting the qt creator and running the example clocks code  its giving me the ld errors as follows</p>
<p dir="auto">09:41:15: Running steps for project clocks...</p>
<p dir="auto">09:41:15: Configuration unchanged, skipping qmake step.</p>
<p dir="auto">09:41:15: Starting: "/usr/bin/make"</p>
<p dir="auto">arm-linux-gnueabi-g++ -o clocks main.o qrc_clocks.o -L/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib -lQt5Quick -lQt5Qml -lQt5Network -lQt5Gui -lQt5Core -lGLESv2 -lpthread</p>
<p dir="auto">/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find /lib/libpthread.so.0 inside</p>
<p dir="auto">/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find /usr/lib/libpthread_nonshared.a inside</p>
<p dir="auto">collect2: error: ld returned 1 exit status</p>
<p dir="auto">make: *** [clocks] Error 1</p>
<p dir="auto">09:41:15: The process "/usr/bin/make" exited with code 2.</p>
<p dir="auto">Error while building/deploying project clocks (kit: wandboard)</p>
<p dir="auto">When executing step 'Make'</p>
<p dir="auto">09:41:15: Elapsed time: 00:00.</p>
<p dir="auto">I've assuared that the set up in the Configure Qt creators OK , but its still giving the error.</p>
<p dir="auto">can you suggest me for that.</p>
]]></description><link>https://forum.qt.io/topic/44635/qt-giving-the-ld-error</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 23:45:25 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/44635.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 08 Aug 2014 05:20:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt giving the ld error on Mon, 11 Aug 2014 07:56:30 GMT]]></title><description><![CDATA[<p dir="auto">please if any one can help me</p>
]]></description><link>https://forum.qt.io/post/239323</link><guid isPermaLink="true">https://forum.qt.io/post/239323</guid><dc:creator><![CDATA[Nilesh Prakash Kokane]]></dc:creator><pubDate>Mon, 11 Aug 2014 07:56:30 GMT</pubDate></item><item><title><![CDATA[Reply to Qt giving the ld error on Fri, 08 Aug 2014 12:53:34 GMT]]></title><description><![CDATA[<p dir="auto">waiting for reply</p>
]]></description><link>https://forum.qt.io/post/239124</link><guid isPermaLink="true">https://forum.qt.io/post/239124</guid><dc:creator><![CDATA[Nilesh Prakash Kokane]]></dc:creator><pubDate>Fri, 08 Aug 2014 12:53:34 GMT</pubDate></item><item><title><![CDATA[Reply to Qt giving the ld error on Fri, 08 Aug 2014 11:08:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">My settings are as follows</p>
<p dir="auto">1.The qt compiler setting is posted<br />
<a href="http://picpaste.com/DSC_0029-Z4H0ho2Y.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://picpaste.com/DSC_0029-Z4H0ho2Y.jpg</a></p>
<p dir="auto">2)Th qt version <a href="http://picpaste.com/DSC_0028-Q8tV8259.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://picpaste.com/DSC_0028-Q8tV8259.jpg</a></p>
<p dir="auto">3.qt mk specs here <a href="http://picpaste.com/DSC_0030-QXGHGWTh.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://picpaste.com/DSC_0030-QXGHGWTh.jpg</a></p>
<p dir="auto">but that is giving me ld error.</p>
<p dir="auto">can any one tell me whats wrong in the setting.?</p>
<p dir="auto">I probabily guess the qt mk specs ...caan you specify what exactly to feed there?</p>
]]></description><link>https://forum.qt.io/post/239106</link><guid isPermaLink="true">https://forum.qt.io/post/239106</guid><dc:creator><![CDATA[Nilesh Prakash Kokane]]></dc:creator><pubDate>Fri, 08 Aug 2014 11:08:36 GMT</pubDate></item><item><title><![CDATA[Reply to Qt giving the ld error on Fri, 08 Aug 2014 06:27:08 GMT]]></title><description><![CDATA[<p dir="auto">i just included * in the .pro file but even then its throwing me thw errors as follows</p>
<p dir="auto">11:55:09: Running steps for project clocks...<br />
11:55:09: Configuration unchanged, skipping qmake step.<br />
11:55:09: Starting: "/usr/bin/make"<br />
/opt/poky/1.6.1/sysroots/i686-pokysdk-linux/usr/bin/qt5/qmake -spec /opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/qt5/mkspecs/linux-arm-gnueabi-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile ../clocks/clocks.pro<br />
arm-linux-gnueabi-g++  -o clocks main.o qrc_clocks.o   -L/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/lib/ -L/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib -lQt5Quick -lQt5Qml -lQt5Network -lQt5Gui -lQt5Core -lGLESv2 -lpthread<br />
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find /lib/libpthread.so.0 inside<br />
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find /usr/lib/libpthread_nonshared.a inside<br />
collect2: error: ld returned 1 exit status<br />
make: *** [clocks] Error 1<br />
11:55:09: The process "/usr/bin/make" exited with code 2.<br />
Error while building/deploying project clocks (kit: wandboard)<br />
When executing step 'Make'<br />
11:55:09: Elapsed time: 00:00</p>
<p dir="auto">(*LIBS += -L/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/lib/)</p>
<p dir="auto">Please suggest</p>
]]></description><link>https://forum.qt.io/post/239041</link><guid isPermaLink="true">https://forum.qt.io/post/239041</guid><dc:creator><![CDATA[Nilesh Prakash Kokane]]></dc:creator><pubDate>Fri, 08 Aug 2014 06:27:08 GMT</pubDate></item><item><title><![CDATA[Reply to Qt giving the ld error on Fri, 08 Aug 2014 05:41:21 GMT]]></title><description><![CDATA[<p dir="auto">I think you have a problem with your LIB-Path.</p>
<p dir="auto">The Linker tries to find the pthread-Libs in "/lib" but you are using a arm envirement, so try to find the libs for arm in your toolchane and add<br />
@LIBS += -L/where_your_toolchane_libs_are -lpthread....@<br />
in your .pro file.</p>
]]></description><link>https://forum.qt.io/post/239035</link><guid isPermaLink="true">https://forum.qt.io/post/239035</guid><dc:creator><![CDATA[hpollak]]></dc:creator><pubDate>Fri, 08 Aug 2014 05:41:21 GMT</pubDate></item></channel></rss>