<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,<br></div><div class="gmail_quote"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">In this week I have a blocker in the writing test is linking library of QQ protocol to the test library. I am working on the same since last week.</div><div style="font-family:arial,helvetica,sans-serif">I try to google but didn't get a<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​ny​</div> good result.</div><div style="font-family:arial,helvetica,sans-serif">When running the command '<b>make</b>' <div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​after writing the test, ​</div>it give the error like this<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​:​</div></div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif"><span style="font-family:monospace"><b><span style="color:rgb(0,0,0)">/usr/lib/gcc/x86_64-linux-gnu/<wbr>5/../../../x86_64-linux-gnu/<wbr>crt1.o: In function `_start': </span><br>(.text+0x20): undefined reference to `main' <br>CMakeFiles/qqcrypttest.dir/<wbr>qqcrypttest.cpp.o: In function `QQCryptTest::CryptTest()': <br>qqcrypttest.cpp:(.text+0x243e)<wbr>: undefined reference to `TEA::encipher(unsigned int*, unsigned int const*, unsigned int*)' <br>qqcrypttest.cpp:(.text+0x2455)<wbr>: undefined reference to `TEA::decipher(unsigned int*, unsigned int const*, unsigned int*)' <br>collect2: error: ld returned 1 exit status <br>tests/protocols/qq/CMakeFiles/<wbr>qqcrypttest.dir/build.make:<wbr>120: recipe for target 'tests/protocols/qq/<wbr>qqcrypttest' failed <br>make[2]: *** [tests/protocols/qq/<wbr>qqcrypttest] Error 1 <br>CMakeFiles/Makefile2:6872: recipe for target 'tests/protocols/qq/<wbr>CMakeFiles/qqcrypttest.dir/<wbr>all' failed <br>make[1]: *** [tests/protocols/qq/<wbr>CMakeFiles/qqcrypttest.dir/<wbr>all] Error 2 <br>Makefile:138: recipe for target 'all' failed <br>make: *** [all] Error 2</b><br></span></div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​L​</div>ink to file:</div><div style="font-family:arial,helvetica,sans-serif"><ul><li>test/protocol/qq/<a href="https://paste.kde.org/p4wgnneua" target="_blank">CMakeLists.<wbr>txt</a><br></li><li>change is done in the <a href="https://paste.kde.org/pykp5k3w7" target="_blank">kopete/protocols/qq/<wbr>CMakeLists.txt</a> <div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​, output of ​</div>command git diff<br></li><li>test header file <a href="https://paste.kde.org/puuhrchye" target="_blank">qqcrypttest.h</a><br></li><li>test file <a href="https://paste.kde.org/pwstszknv" target="_blank">qqcrypttest.cpp</a></li></ul></div><div style="font-family:arial,helvetica,sans-serif"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​M​</div>y question is <div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​- ​</div>how to make kopete_qq library visible in the test namespace?</div><div><div class="m_-6815183940498654102gmail-m_-7935153186599773436m_-6274879500596828429gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​Please help.​</div><br></div><div dir="ltr"><font size="2" face="arial, helvetica, sans-serif">Regards,</font><div style="font-size:12.8px"><font size="2" face="arial, helvetica, sans-serif">Himanshu Vishwakarma</font></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div><br></div>