Error Linking konlinetasks_sepa

gary at duzan.org gary at duzan.org
Mon Nov 20 22:19:27 UTC 2017


   No, I haven't spent time on this recently, and yes, it had been through
multiple reconfigure/rebuild cycles. I had been hoping to try an
official 4.8.1 source tar at some point, but that seems to keep being
pushed back. If that isn't going to be happening soon, I have some
vacation coming up next week, and I can try setting up a separate
git-based package then.

                                 Gary


=> Hi Gary,
=>
=> could you solve the problem already?
=>
=> If not: I doubt the issue is caused by the version of CMake you are using
=> (it
=> is not way newer than the version I used to create the files and CMake is
=> pretty good in backwards compatibility).
=>
=> Currently I asume this is an issue with automoc or an incorrect
=> #include "moc_...". Did you try a full clean and rebuild?
=>
=> Best
=> Christian
=>
=> Am Samstag, 29. Juli 2017, 04:22:13 CET schrieb Gary Duzan:
=>>    I've been trying to get KMyMoney4 working on NetBSD through
=>> pkgsrc/wip,
=>> and have made a fair amount of progress. I have rough packages for
=>> libalkimia, gwenhywfar, and aqbanking compiling, and now I'm working on
=>> kmymoney4 itself. It is currently failing to link konlinetasks_sepa.so,
=>> with multiple definitions from sepaStoragePlugin, one from
=>> plugins/onlinetasks/sepa/moc_sepastorageplugin.cpp and one from
=>>
plugins/onlinetasks/sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_s
=>> epastorageplugin.cpp . I've included the full error below. Does this
=>> look
=>> familiar, or do I need to just dive into the cmake stuff? This is with
=>> 4.8.0 sources.
=>>
=>>    Thanks.
=>>
=>> 				Gary Duzan
=>>
=>>
=>>
=>> [ 77%] Linking CXX shared module ../../../../lib/konlinetasks_sepa.so
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/m
=>> oc_compilation.cpp.o: In function
=>> `sepaStoragePlugin::qt_static_metacall(QObject*, QMetaObject::Ca ll,
=>> int,
=>> void**)':
=>>
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/s
=>>
epa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:4
=>> 0: multiple definition of
=>> `sepaStoragePlugin::qt_static_metacall(QObject*,
=>> QMetaObject::Call, int, void**)'
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
=>>
cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
=>> asks/sepa/moc_sepastorageplugin.cpp:40: first defined here
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
=>> moc_compilation.cpp.o: In function `onlineJob::isLocked() const':
=>>
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
=>>
sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:
=>> 62: multiple definition of `sepaStoragePlugin::metaObject() const'
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
=>>
cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
=>> asks/sepa/moc_sepastorageplugin.cpp:62: first defined here
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
=>> moc_compilation.cpp.o: In function `sepaCreditTransferEdit::metaObject()
=>> const':
=>>
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
=>>
sepa/konlinetasks_sepa_OBJECTS_autogen/UYX5XTB5RZ/moc_sepacredittransferedit
=>> .cpp:124: multiple definition of `sepaStoragePlugin::staticMetaObject'
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
=>>
cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
=>> asks/sepa/moc_sepastorageplugin.cpp:40: first defined here
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
=>> moc_compilation.cpp.o: In function `sepaStoragePlugin::qt_metacast(char
=>> const*)':
=>>
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
=>>
sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:
=>> 66: multiple definition of `sepaStoragePlugin::qt_metacast(char const*)'
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
=>>
cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
=>> asks/sepa/moc_sepastorageplugin.cpp:66: first defined here
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
=>> moc_compilation.cpp.o: In function
=>> `sepaStoragePlugin::qt_metacall(QMetaObject::Call, int, void**)':
=>>
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
=>>
sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:
=>> 79: multiple definition of
=>> `sepaStoragePlugin::qt_metacall(QMetaObject::Call, int, void**)'
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
=>>
cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
=>> asks/sepa/moc_sepastorageplugin.cpp:79: first defined here
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_autogen/
=>> moc_compilation.cpp.o: In function `onlineJob::sendDate() const':
=>>
/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinetasks/
=>>
sepa/konlinetasks_sepa_OBJECTS_autogen/EWIEGA46WW/moc_sepastorageplugin.cpp:
=>> 62: multiple definition of
=>> `sepaStoragePlugin::staticMetaObjectExtraData'
=>>
CMakeFiles/konlinetasks_sepa_OBJECTS.dir/konlinetasks_sepa_OBJECTS_automoc.
=>>
cpp.o:/usr/pkgsrc/wip/kmymoney4/work/kmymoney-4.8.0/kmymoney/plugins/onlinet
=>> asks/sepa/moc_sepastorageplugin.cpp:40: first defined here
=>> /usr/lib/librpcsvc.so.1: warning: warning: this program uses
=>> xdr_peername(), which is deprecated and buggy. /usr/lib/librpcsvc.so.1:
=>> warning: warning: this program uses xdr_domainname(), which is
=>> deprecated
=>> and buggy. /usr/lib/librpcsvc.so.1: warning: warning: this program uses
=>> xdr_mapname(), which is deprecated and buggy.
=>>
kmymoney/plugins/onlinetasks/sepa/CMakeFiles/konlinetasks_sepa.dir/build.ma
=>> ke:178: recipe for target 'lib/konlinetasks_sepa.so' failed gmake[2]:
=>> ***
=>> [lib/konlinetasks_sepa.so] Error 1
=>> CMakeFiles/Makefile2:3509: recipe for target
=>> 'kmymoney/plugins/onlinetasks/sepa/CMakeFiles/konlinetasks_sepa.dir/all'
=>> failed gmake[1]: ***
=>> [kmymoney/plugins/onlinetasks/sepa/CMakeFiles/konlinetasks_sepa.dir/all]
=>> Error 2 Makefile:162: recipe for target 'all' failed
=>> gmake: *** [all] Error 2
=>> *** Error code 2
=>>
=>> Stop.
=>
=>
=>




More information about the KMyMoney-devel mailing list