[Kmymoney-devel] Building of tests fails
Thomas Baumgart
thb at net-bembel.de
Mon Nov 28 07:59:56 UTC 2011
Hi,
on Sunday 27 November 2011 22:55:00 Marko Käning wrote:
> It looks like the test cases of the csvimport plugin lack an update:
> ---
> Scanning dependencies of target parsedatatest
> [ 87%] Building CXX object
> kmymoney/plugins/csvimport/CMakeFiles/parsedatatest.dir/parsedatatest_auto
> moc.cpp.o [ 87%] Building CXX object
> kmymoney/plugins/csvimport/CMakeFiles/parsedatatest.dir/parsedatatest.cpp.
> o [ 87%] Building CXX object
> kmymoney/plugins/csvimport/CMakeFiles/parsedatatest.dir/csvutil.cpp.o
> Linking CXX executable parsedatatest.app/Contents/MacOS/parsedatatest
> Undefined symbols:
> "AlkValue::AlkValue(AlkValue const&)", referenced from:
> QMap<QDate, MyMoneyMoney>::detach_helper() in csvutil.cpp.o
> MyMoneyAccount::MyMoneyAccount(MyMoneyAccount const&)in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper_grow(int, int) in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper_grow(int, int) in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper_grow(int, int) in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper_grow(int, int) in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper_grow(int, int) in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper_grow(int, int) in csvutil.cpp.o
> QList<MyMoneySplit>::append(MyMoneySplit const&)in csvutil.cpp.o
> QList<MyMoneySplit>::append(MyMoneySplit const&)in csvutil.cpp.o
> QList<MyMoneySplit>::append(MyMoneySplit const&)in csvutil.cpp.o
> QList<MyMoneySplit>::append(MyMoneySplit const&)in csvutil.cpp.o
> QList<MyMoneySplit>::append(MyMoneySplit const&)in csvutil.cpp.o
> QList<MyMoneySplit>::append(MyMoneySplit const&)in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper(int) in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper(int) in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper(int) in csvutil.cpp.o
> "AlkValue::operator=(AlkValue const&)", referenced from:
> CsvUtil::nameToId(QString const&, MyMoneyAccount&)in csvutil.cpp.o
> CsvUtil::nameToId(QString const&, MyMoneyAccount&)in csvutil.cpp.o
> CsvUtil::dissectTransaction(MyMoneyTransaction const&, MyMoneySplit
> const&, MyMoneySplit&, QList<MyMoneySplit>&, QList<MyMoneySplit>&,
> MyMoneySecurity&, MyMoneySecurity&,
> MyMoneySplit::investTransactionTypeE&)in csvutil.cpp.o
> CsvUtil::dissectTransaction(MyMoneyTransaction const&, MyMoneySplit
> const&, MyMoneySplit&, QList<MyMoneySplit>&, QList<MyMoneySplit>&,
> MyMoneySecurity&, MyMoneySecurity&,
> MyMoneySplit::investTransactionTypeE&)in csvutil.cpp.o
> CsvUtil::dissectTransaction(MyMoneyTransaction const&, MyMoneySplit
> const&, MyMoneySplit&, QList<MyMoneySplit>&, QList<MyMoneySplit>&,
> MyMoneySecurity&, MyMoneySecurity&,
> MyMoneySplit::investTransactionTypeE&)in csvutil.cpp.o
> "AlkValue::valueRef() const", referenced from:
> CsvUtil::dissectTransaction(MyMoneyTransaction const&, MyMoneySplit
> const&, MyMoneySplit&, QList<MyMoneySplit>&, QList<MyMoneySplit>&,
> MyMoneySecurity&, MyMoneySecurity&,
> MyMoneySplit::investTransactionTypeE&)in csvutil.cpp.o
> CsvUtil::dissectTransaction(MyMoneyTransaction const&, MyMoneySplit
> const&, MyMoneySplit&, QList<MyMoneySplit>&, QList<MyMoneySplit>&,
> MyMoneySecurity&, MyMoneySecurity&,
> MyMoneySplit::investTransactionTypeE&)in csvutil.cpp.o
> "AlkValue::~AlkValue()", referenced from:
> QMap<QDate, MyMoneyMoney>::freeData(QMapData*) in csvutil.cpp.o
> MyMoneyAccount::MyMoneyAccount(MyMoneyAccount const&)in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper_grow(int, int) in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper_grow(int, int) in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper_grow(int, int) in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper_grow(int, int) in csvutil.cpp.o
> QList<MyMoneySplit>::append(MyMoneySplit const&)in csvutil.cpp.o
> QList<MyMoneySplit>::append(MyMoneySplit const&)in csvutil.cpp.o
> QList<MyMoneySplit>::append(MyMoneySplit const&)in csvutil.cpp.o
> QList<MyMoneySplit>::append(MyMoneySplit const&)in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper(int) in csvutil.cpp.o
> QList<MyMoneySplit>::detach_helper(int) in csvutil.cpp.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: ***
> [kmymoney/plugins/csvimport/parsedatatest.app/Contents/MacOS/parsedatatest
> ] Error 1 make[1]: ***
> [kmymoney/plugins/csvimport/CMakeFiles/parsedatatest.dir/all] Error 2
> make: *** [all] Error 2
You need to add
${GMP_LIBRARIES}
${LIBALKIMIA_LIBRARY}
to the target TARGET_LINK_LIBRARIES spec of the said test apps in
CMakeLists.txt. In case they need to be patched, please send them along and
we'll take care of it.
--
Regards
Thomas Baumgart
GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
On Windoze it helps to reboot, on UNIX it helps to be root!
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20111128/80c5a1ae/attachment.sig>
More information about the KMyMoney-devel
mailing list