[Status Report] SoK-18 Project: Write tests and Improve protocol support for Kopete

Himanshu Vishwakarma himvish997 at gmail.com
Mon Jan 29 05:25:58 UTC 2018


Hi,

I got the solution to my problem as mentioned in the previous status report
o
n Sun, Jan 28, 2018 at 1:09 PM. 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.

Now the problem is solved, I patched the test for the review link is given
below:
https://phabricator.kde.org/D10160

N
ext, I plan to write some other tests on the same protocol.

Regards,
Himanshu Vishwakarma

​​
On Sun, Jan 28, 2018 at 1:09 PM, Himanshu Vishwakarma <himvish997 at gmail.com>
wrote:

> Hi,
> 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.
> I try to google but didn't get a good result.
> When running the command '*make*' it give the error like this
>
>
>
>
>
>
>
>
>
>
>
>
> */usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In
> function `_start': (.text+0x20): undefined reference to `main'
> CMakeFiles/qqcrypttest.dir/qqcrypttest.cpp.o: In function
> `QQCryptTest::CryptTest()': qqcrypttest.cpp:(.text+0x243e): undefined
> reference to `TEA::encipher(unsigned int*, unsigned int const*, unsigned
> int*)' qqcrypttest.cpp:(.text+0x2455): undefined reference to
> `TEA::decipher(unsigned int*, unsigned int const*, unsigned int*)'
> collect2: error: ld returned 1 exit status
> tests/protocols/qq/CMakeFiles/qqcrypttest.dir/build.make:120: recipe for
> target 'tests/protocols/qq/qqcrypttest' failed make[2]: ***
> [tests/protocols/qq/qqcrypttest] Error 1 CMakeFiles/Makefile2:6872: recipe
> for target 'tests/protocols/qq/CMakeFiles/qqcrypttest.dir/all' failed
> make[1]: *** [tests/protocols/qq/CMakeFiles/qqcrypttest.dir/all] Error 2
> Makefile:138: recipe for target 'all' failed make: *** [all] Error 2*
>
> link to file:
>
>    - test/protocol/qq/CMakeLists.txt <https://paste.kde.org/p4wgnneua>
>    - change is done in the kopete/protocols/qq/CMakeLists.txt
>    <https://paste.kde.org/pykp5k3w7> by using the command git diff
>    - test header file qqcrypttest.h <https://paste.kde.org/puuhrchye>
>    - test file qqcrypttest.cpp  <https://paste.kde.org/pwstszknv>
>
>
> my question is
> how to make kopete_qq library visible in the test namespace??
>
>
>
>
>
>
> Regards,
> Himanshu Vishwakarma
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kopete-devel/attachments/20180129/b924e5ea/attachment-0001.html>


More information about the kopete-devel mailing list