Saturday, 30 July 2011

Errors while running tests


puneet@puneet-Studio-1458:~/puneet/office/alkimia/payment$ mkdir build
puneet@puneet-Studio-1458:~/puneet/office/alkimia/payment$ cd build
puneet@puneet-Studio-1458:~/puneet/office/alkimia/payment/build$ cmake -DKDE4_BUILD_TESTS=on ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found Phonon: /usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.5 include dir: /usr/include
-- Found KDE 4.5 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found GMP: /usr/include
-- checking for module 'libalkimia'
--   found libalkimia, version 4
-- Found LibAlkimia: /usr/lib/libalkimia.so
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/puneet/puneet/office/alkimia/payment/build
puneet@puneet-Studio-1458:~/puneet/office/alkimia/payment/build$ make
Scanning dependencies of target Alkinvoice
[  3%] Building CXX object backend/CMakeFiles/Alkinvoice.dir/alkinvoice.o
Linking CXX static library ../lib/libAlkinvoice.a
[  3%] Built target Alkinvoice
Scanning dependencies of target Alkpayee
[  7%] Building CXX object backend/CMakeFiles/Alkpayee.dir/alkpayee.o
Linking CXX static library ../lib/libAlkpayee.a
[  7%] Built target Alkpayee
Scanning dependencies of target Alkpayment
[ 11%] Building CXX object backend/CMakeFiles/Alkpayment.dir/alkpayment.o
Linking CXX static library ../lib/libAlkpayment.a
[ 11%] Built target Alkpayment
Scanning dependencies of target Alkuser
[ 14%] Building CXX object backend/CMakeFiles/Alkuser.dir/alkuser.o
Linking CXX static library ../lib/libAlkuser.a
[ 14%] Built target Alkuser
Scanning dependencies of target alkinvoicetest_automoc
Generating moc_alkinvoicetest.cpp
[ 14%] Built target alkinvoicetest_automoc
Scanning dependencies of target alkinvoicetest
[ 18%] Building CXX object backend/CMakeFiles/alkinvoicetest.dir/alkinvoicetest_automoc.o
[ 22%] Building CXX object backend/CMakeFiles/alkinvoicetest.dir/alkinvoicetest.o
Linking CXX executable alkinvoicetest
CMakeFiles/alkinvoicetest.dir/alkinvoicetest.o: In function `AlkInvoiceTest::emptyCtor()':
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:38: undefined reference to `AlkInvoice::AlkInvoice(QObject*)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:40: undefined reference to `AlkInvoice::invoiceId() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:41: undefined reference to `AlkInvoice::uniqueId() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:44: undefined reference to `AlkInvoice::~AlkInvoice()'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:42: undefined reference to `AlkInvoice::invalid() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:43: undefined reference to `AlkInvoice::documentId() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:44: undefined reference to `AlkInvoice::type() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:44: undefined reference to `AlkInvoice::~AlkInvoice()'
CMakeFiles/alkinvoicetest.dir/alkinvoicetest.o: In function `main':
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:26: undefined reference to `QApplication::QApplication(int&, char**, int)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:26: undefined reference to `QApplication::~QApplication()'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:26: undefined reference to `QApplication::~QApplication()'
CMakeFiles/alkinvoicetest.dir/alkinvoicetest.o: In function `AlkInvoiceTest::settersAndGetters()':
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:73: undefined reference to `AlkInvoice::AlkInvoice(QObject*)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:80: undefined reference to `AlkInvoice::setInvoiceId(QString const&)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:81: undefined reference to `AlkInvoice::setUniqueId(QString const&)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:82: undefined reference to `AlkInvoice::setInvalid(QString const&)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:83: undefined reference to `AlkInvoice::setDocumentId(QString const&)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:84: undefined reference to `AlkInvoice::setType(QString const&)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:86: undefined reference to `AlkInvoice::invoiceId() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:87: undefined reference to `AlkInvoice::uniqueId() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:90: undefined reference to `AlkInvoice::~AlkInvoice()'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:90: undefined reference to `AlkInvoice::~AlkInvoice()'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:88: undefined reference to `AlkInvoice::invalid() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:89: undefined reference to `AlkInvoice::documentId() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:90: undefined reference to `AlkInvoice::type() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:90: undefined reference to `AlkInvoice::~AlkInvoice()'
CMakeFiles/alkinvoicetest.dir/alkinvoicetest.o: In function `AlkInvoiceTest::copyCtor()':
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:49: undefined reference to `AlkInvoice::AlkInvoice(QObject*)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:56: undefined reference to `AlkInvoice::setInvoiceId(QString const&)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:57: undefined reference to `AlkInvoice::setUniqueId(QString const&)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:58: undefined reference to `AlkInvoice::setInvalid(QString const&)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:59: undefined reference to `AlkInvoice::setDocumentId(QString const&)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:60: undefined reference to `AlkInvoice::setType(QString const&)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:62: undefined reference to `AlkInvoice::AlkInvoice(AlkInvoice const&, QObject*)'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:64: undefined reference to `AlkInvoice::invoiceId() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:65: undefined reference to `AlkInvoice::uniqueId() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:68: undefined reference to `AlkInvoice::~AlkInvoice()'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:68: undefined reference to `AlkInvoice::~AlkInvoice()'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:68: undefined reference to `AlkInvoice::~AlkInvoice()'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:66: undefined reference to `AlkInvoice::invalid() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:67: undefined reference to `AlkInvoice::documentId() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:68: undefined reference to `AlkInvoice::type() const'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:68: undefined reference to `AlkInvoice::~AlkInvoice()'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:68: undefined reference to `AlkInvoice::~AlkInvoice()'
/home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:68: undefined reference to `AlkInvoice::~AlkInvoice()'
collect2: ld returned 1 exit status
make[2]: *** [backend/alkinvoicetest] Error 1
make[1]: *** [backend/CMakeFiles/alkinvoicetest.dir/all] Error 2
make: *** [all] Error 2

No comments:

Post a Comment