[kmymoney4] [Bug 364387] kmymoney 4.8.0 builds libpayeeidentifier.so but asks for libkmm_payeeidentifier.so

Christian David via KDE Bugzilla bugzilla_noreply at kde.org
Sun Jun 19 20:01:04 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=364387

--- Comment #8 from Christian David <christian-david at web.de> ---
Hi,

in the log you linked I can see that kmm_payeeidentifier is compiled correctly:
"[ 16%] Built target kmm_payeeidentifier"

However, you build failed at a different point. So linking will not work.

CMakeFiles/mymoneyseqaccessmgrtest.dir/mymoneyseqaccessmgrtest.cpp.o: In
function `MyMoneySeqAccessMgrTest::testEmptyConstructor()':
/home/iurt/rpmbuild/BUILD/kmymoney-4.8.0/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp:61:
undefined reference to `bool QTest::qCompare<unsigned int, unsigned
long>(unsigned int const&, unsigned long const&, char const*, char const*, char
const*, int)'
/home/iurt/rpmbuild/BUILD/kmymoney-4.8.0/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp:62:
undefined reference to `bool QTest::qCompare<unsigned int, unsigned
long>(unsigned int const&, unsigned long const&, char const*, char const*, char
const*, int)'
/home/iurt/rpmbuild/BUILD/kmymoney-4.8.0/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp:63:
undefined reference to `bool QTest::qCompare<unsigned int, unsigned
long>(unsigned int const&, unsigned long const&, char const*, char const*, char
const*, int)'
/home/iurt/rpmbuild/BUILD/kmymoney-4.8.0/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp:64:
undefined reference to `bool QTest::qCompare<unsigned int, unsigned
long>(unsigned int const&, unsigned long const&, char const*, char const*, char
const*, int)'
/home/iurt/rpmbuild/BUILD/kmymoney-4.8.0/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp:65:
undefined reference to `bool QTest::qCompare<unsigned int, unsigned
long>(unsigned int const&, unsigned long const&, char const*, char const*, char
const*, int)'
CMakeFiles/mymoneyseqaccessmgrtest.dir/mymoneyseqaccessmgrtest.cpp.o:/home/iurt/rpmbuild/BUILD/kmymoney-4.8.0/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp:66:
more undefined references to `bool QTest::qCompare<unsigned int, unsigned
long>(unsigned int const&, unsigned long const&, char const*, char const*, char
const*, int)' follow
collect2: error: ld returned 1 exit status
kmymoney/mymoney/storage/CMakeFiles/mymoneyseqaccessmgrtest.dir/build.make:194:
recipe for target 'kmymoney/mymoney/storage/mymoneyseqaccessmgrtest' failed
make[2]: *** [kmymoney/mymoney/storage/mymoneyseqaccessmgrtest] Error 1
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/kmymoney-4.8.0/build'
CMakeFiles/Makefile2:2838: recipe for target
'kmymoney/mymoney/storage/CMakeFiles/mymoneyseqaccessmgrtest.dir/all' failed
make[1]: ***
[kmymoney/mymoney/storage/CMakeFiles/mymoneyseqaccessmgrtest.dir/all] Error 2

Maybe this and the parallel build cause the linking error you have. I do not
think that your parallel build is the problem, btw.

I think the compiler errors you have were fixed in the 4.8 branch already. Also
you can disable the test, which you may want to do anyway. Setting the cmake
variable "BUILD_TESTING" to off should do this.

libkmm_payeeidentifier.so should be build and installed by KMyMoney. It works
on my system and KDE's CI (there are several tests which depend on
kmm_payeeidentifier).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list