[Kde-pim] libkgapi2 Link errors builibd kdepim

Daniel Vrátil dvratil at redhat.com
Wed Feb 19 15:44:54 GMT 2014


On Saturday 15 of February 2014 18:46:27 Lindsay Mathieson wrote:
> Lots of the following:
> 
> /home/lindsay/Projects/akonadi/kdepim/build/lib/libpimcommon.so.4: undefined
> reference to `KGAPI2::Drive::File::id() const'
> /home/lindsay/Projects/akonadi/kdepim/build/lib/libpimcommon.so.4: undefined
> reference to `KGAPI2::Drive::File::setMimeType(QString const&)'
> /home/lindsay/Projects/akonadi/kdepim/build/lib/libpimcommon.so.4: undefined
> reference to `KGAPI2::Drive::About::quotaBytesTotal() const'
> /home/lindsay/Projects/akonadi/kdepim/build/lib/libpimcommon.so.4: undefined
> reference to `KGAPI2::Drive::About::quotaBytesUsed() const'
> /home/lindsay/Projects/akonadi/kdepim/build/lib/libpimcommon.so.4: undefined
> reference to `KGAPI2::Drive::FileCreateJob::FileCreateJob(QString const&,
> QSharedPointer<KGAPI2::Account> const&, QObject*)'
> collect2: error: ld returned 1 exit status

Is it possible that you have older/distribution version of libkgapi installed 
and linker is picking that instead of the self-compiled one? As Kevin said, 
make VERBOSE=1 might tell us more.
> 
> 
> both libkgapi2 and kdepim are configured with:
> 
> cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
> 
> Any other options I should be specifying?
> 
> 
> thanks,

-- 
Daniel Vrátil | dvratil at redhat.com | dvratil on #kde-devel, #kontact, #akonadi
KDE Desktop Team
Associate Software Engineer, Red Hat, Inc.

GPG Key: 0xC59D614F6F4AE348
Fingerprint: 4EC1 86E3 C54E 0B39 5FDD B5FB C59D 614F 6F4A E348
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20140219/2d0e3c9d/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list