<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">I got the solution to my problem as mentioned in the previous status report <div style="display:inline">o</div><span style="font-family:arial,sans-serif">n Sun, Jan 28, 2018 at 1:09 PM. </span>I had done a mistake in the CMakeLists.txt file by not giving the path to the source library of qq protocol, therefore, it gives the error.</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">Now the problem is solved, I patched the test for the review link is given below:</div><div><a href="https://phabricator.kde.org/D10160" target="_blank"><font face="arial, helvetica, sans-serif">https://phabricator.kde.org/<wbr>D10160</font><br></a></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_extra"><div><div class="m_7198428213924143882gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font size="2" face="arial, helvetica, sans-serif">N<div style="font-family:arial,helvetica,sans-serif;display:inline">ext, I plan to write some other tests on the same protocol.</div></font></div><div dir="ltr"><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></div></div></div></div><div><div class="h5">
<br><div class="gmail_quote"><div style="font-family:arial,helvetica,sans-serif;display:inline"></div>On Sun, Jan 28, 2018 at 1:09 PM, Himanshu Vishwakarma <span dir="ltr"><<a href="mailto:himvish997@gmail.com" target="_blank">himvish997@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div 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">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 good result.</div><div style="font-family:arial,helvetica,sans-serif">When running the command '<b>make</b>' it give the error like this</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/cr<wbr>t1.o: In function `_start': </span><br>(.text+0x20): undefined reference to `main' <br>CMakeFiles/qqcrypttest.dir/qqc<wbr>rypttest.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:120<wbr>: recipe for target 'tests/protocols/qq/qqcrypttes<wbr>t' failed <br>make[2]: *** [tests/protocols/qq/qqcrypttes<wbr>t] Error 1 <br>CMakeFiles/Makefile2:6872: recipe for target 'tests/protocols/qq/CMakeFiles<wbr>/qqcrypttest.dir/all' failed <br>make[1]: *** [tests/protocols/qq/CMakeFiles<wbr>/qqcrypttest.dir/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">link 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.tx<wbr>t</a><br></li><li>change is done in the <a href="https://paste.kde.org/pykp5k3w7" target="_blank">kopete/protocols/qq/CMakeLists<wbr>.txt</a> by using the 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> <br></li></ul></div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">my question is </div><div style="font-family:arial,helvetica,sans-serif">how to make kopete_qq library visible in the test namespace??</div><div><div class="m_7198428213924143882gmail-m_-581433611027664272m_-6866093208902770575gmail-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><br></div><div><br></div><div><br></div><div dir="ltr"><font size="2" face="arial, helvetica, sans-serif"><br></font></div><div dir="ltr"><font size="2" face="arial, helvetica, sans-serif"><br>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>
</blockquote></div><br></div></div></div></div>
</div><br></div>