BlackLister Test of Kopete

Review Request #130169 - Created July 1, 2017 and discarded

Information
Vijay Krishnavanshi
kopete
Reviewers
mlaurent, pali

I am getting the following error and I am not able to figure out the reason. Please help with this issue.
I dont know what is causing this. This is an independant patch and is causing the problem.

Error Log :

CMakeFiles/kopeteblacklistertest.dir/kopeteblacklistertest.cpp.o: In function BlackListerTest::testAddAndRemoveContact()': kopeteblacklistertest.cpp:(.text+0x2366): undefined reference toKopete::BlackLister::BlackLister(QString const&, QString const&, QObject)'
kopeteblacklistertest.cpp:(.text+0x2374): undefined reference to Kopete::BlackLister::contactAdded(QString const&)' kopeteblacklistertest.cpp:(.text+0x23a0): undefined reference toKopete::BlackLister::contactRemoved(QString const&)'
kopeteblacklistertest.cpp:(.text+0x23de): undefined reference to Kopete::BlackLister::isBlocked(QString const&)' kopeteblacklistertest.cpp:(.text+0x2430): undefined reference toKopete::BlackLister::addContact(QString const&)'
kopeteblacklistertest.cpp:(.text+0x2449): undefined reference to Kopete::BlackLister::isBlocked(QString const&)' kopeteblacklistertest.cpp:(.text+0x24e7): undefined reference toKopete::BlackLister::removeContact(QString const&)'
kopeteblacklistertest.cpp:(.text+0x254c): undefined reference to Kopete::BlackLister::isBlocked(QString const&)' CMakeFiles/kopeteblacklistertest.dir/kopeteblacklistertest.cpp.o: In functionBlackListerTest::testPersistanceOfBlackListContacts()':
kopeteblacklistertest.cpp:(.text+0x2836): undefined reference to Kopete::BlackLister::BlackLister(QString const&, QString const&, QObject*)' kopeteblacklistertest.cpp:(.text+0x284d): undefined reference toKopete::BlackLister::addContact(QString const&)'
kopeteblacklistertest.cpp:(.text+0x2872): undefined reference to Kopete::BlackLister::BlackLister(QString const&, QString const&, QObject*)' kopeteblacklistertest.cpp:(.text+0x2889): undefined reference toKopete::BlackLister::isBlocked(QString const&)'
kopeteblacklistertest.cpp:(.text+0x28e5): undefined reference to Kopete::BlackLister::addContact(QString const&)' kopeteblacklistertest.cpp:(.text+0x28f8): undefined reference toKopete::BlackLister::isBlocked(QString const&)'
kopeteblacklistertest.cpp:(.text+0x293e): undefined reference to Kopete::BlackLister::removeContact(QString const&)' CMakeFiles/kopeteblacklistertest.dir/kopeteblacklistertest.cpp.o: In functionQMetaMethod QMetaMethod::fromSignal<void (Kopete::BlackLister::
)(QString const&)>(void (Kopete::BlackLister::)(QString const&))':
kopeteblacklistertest.cpp:(.text.ZN11QMetaMethod10fromSignalIMN6Kopete11BlackListerEFvRK7QStringEEES_T[ZN11QMetaMethod10fromSignalIMN6Kopete11BlackListerEFvRK7QStringEEES_T]+0x23): undefined reference to `Kopete::BlackLister::staticMetaObject'
collect2: error: ld returned 1 exit status
tests/libkopete/CMakeFiles/kopeteblacklistertest.dir/build.make:121: recipe for target 'tests/libkopete/kopeteblacklistertest' failed
make[2]: [tests/libkopete/kopeteblacklistertest] Error 1
CMakeFiles/Makefile2:5834: recipe for target 'tests/libkopete/CMakeFiles/kopeteblacklistertest.dir/all' failed
make[1]:
[tests/libkopete/CMakeFiles/kopeteblacklistertest.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make:
** [all] Error 2


  

Issues

  • 1
  • 0
  • 0
  • 1
Description From Last Updated
you remove kopete lib ? Laurent Montel Laurent Montel
Vijay Krishnavanshi
Vijay Krishnavanshi
Laurent Montel
Vijay Krishnavanshi
Review request changed

Status: Discarded

Loading...