[Kmymoney] Error in compiling from source

timothy timboyle at afrihost.co.za
Sun Apr 26 07:53:52 UTC 2015


Hi
I am trying to compile kmymoney from source which I downloaded from git
today using "git clone git://anongit.kde.org/kmymoney". I followed the
instructions in README.cmake and got through to 
-- Configuring done
-- Generating done
-- Build files have been written
to: /home/timothy/data/Downloads/git/kmymoney/build

I then ran "make" and got up to 83% with the following error. I appears
to be a coding error.

I would be grateful for any help in solving the problem.

Regards
Timothy

```````````````````````````````````````````````
Scanning dependencies of target mymoneymaptest
[ 83%] Building CXX object
kmymoney/mymoney/storage/CMakeFiles/mymoneymaptest.dir/mymoneymaptest.cpp.o
[ 83%] Building CXX object
kmymoney/mymoney/storage/CMakeFiles/mymoneymaptest.dir/__/mymoneytestutils.cpp.o
[ 83%] Building CXX object
kmymoney/mymoney/storage/CMakeFiles/mymoneymaptest.dir/mymoneymaptest_automoc.cpp.o
Linking CXX executable mymoneymaptest
[ 83%] Built target mymoneymaptest
Scanning dependencies of target mymoneyseqaccessmgrtest_automoc
[ 83%] Automoc for target mymoneyseqaccessmgrtest
Generating moc_mymoneyseqaccessmgrtest.cpp
[ 83%] Built target mymoneyseqaccessmgrtest_automoc
Scanning dependencies of target mymoneyseqaccessmgrtest
[ 83%] Building CXX object
kmymoney/mymoney/storage/CMakeFiles/mymoneyseqaccessmgrtest.dir/mymoneyseqaccessmgrtest.cpp.o
[ 83%] Building CXX object
kmymoney/mymoney/storage/CMakeFiles/mymoneyseqaccessmgrtest.dir/__/mymoneytestutils.cpp.o
[ 83%] Building CXX object
kmymoney/mymoney/storage/CMakeFiles/mymoneyseqaccessmgrtest.dir/mymoneyseqaccessmgrtest_automoc.cpp.o
Linking CXX executable mymoneyseqaccessmgrtest
CMakeFiles/mymoneyseqaccessmgrtest.dir/mymoneyseqaccessmgrtest.cpp.o: In
function `MyMoneySeqAccessMgrTest::testEmptyConstructor()':
/home/timothy/data/Downloads/git/kmymoney/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/timothy/data/Downloads/git/kmymoney/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/timothy/data/Downloads/git/kmymoney/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/timothy/data/Downloads/git/kmymoney/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/timothy/data/Downloads/git/kmymoney/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/timothy/data/Downloads/git/kmymoney/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
make[2]: *** [kmymoney/mymoney/storage/mymoneyseqaccessmgrtest] Error 1
make[1]: ***
[kmymoney/mymoney/storage/CMakeFiles/mymoneyseqaccessmgrtest.dir/all]
Error 2
make: *** [all] Error 2
timothy at tim ~/data/Downloads/git/kmymoney/build $ 




More information about the KMyMoney mailing list