[Digikam-users] Error when I compile Kdegraphics libs from svn

Gilles Caulier caulier.gilles at gmail.com
Mon Mar 16 09:50:34 GMT 2009


Sound like you have more than one Exiv2 devel package instaed (with header
files)

Try to clean up your install.

Gilles Caulier

2009/3/16 Photonoxx <smtp.no at laposte.net>

>
> Hi,
>
> I recently reinstalled my Ubuntu system ( Ubuntu 8.10 64bits) and I try
> know to compliling the last version of digikam.
>
> I have installed KDE 4.2 by activating Backports repository
>
> I have installed too dependencies mentionned in the followings pages :
>
>
> http://techbase.kde.org/Getting_Started/Build/KDE4/Kubuntu_and_Debian
>
>
> http://wiki.kde.org/tiki-index.php?page=Digikam+Compilation+on+Kubuntu+Intrepid
>
> And I follow the procedure describe in the last page listed above.
>
> but when I try to make the Kdegraphics part, the process stop at the
> libkexiv stage with this messages :
>
> Linking CXX shared library ../../../lib/libkexiv2.so
> CMakeFiles/kexiv2.dir/kexiv2exif.o: In function
> `KExiv2Iface::KExiv2::setExifThumbnail(QImage const&, bool) const':
>
> /home/naruchan/Download/sources/svn/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2exif.cpp:835:
> undefined reference to `Exiv2::ExifThumb::ExifThumb(Exiv2::ExifData&)'
>
> /home/naruchan/Download/sources/svn/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2exif.cpp:836:
> undefined reference to `Exiv2::ExifThumb::setJpegThumbnail(unsigned char
> const*, long)'
> CMakeFiles/kexiv2.dir/kexiv2exif.o: In function
> `KExiv2Iface::KExiv2::getExifThumbnail(bool) const':
>
> /home/naruchan/Download/sources/svn/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2exif.cpp:741:
> undefined reference to `Exiv2::ExifThumbC::ExifThumbC(Exiv2::ExifData
> const&)'
>
> /home/naruchan/Download/sources/svn/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2exif.cpp:742:
> undefined reference to `Exiv2::ExifThumbC::copy() const'
> CMakeFiles/kexiv2.dir/kexiv2exif.o: In function
> `KExiv2Iface::KExiv2::getExifTagString(char const*, bool) const':
>
> /home/naruchan/Download/sources/svn/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2exif.cpp:691:
> undefined reference to `Exiv2::Metadatum::print(Exiv2::ExifData const*)
> const'
> CMakeFiles/kexiv2.dir/kexiv2exif.o: In function
> `KExiv2Iface::KExiv2::setExifTagData(char const*, QByteArray const&, bool)
> const':
>
> /home/naruchan/Download/sources/svn/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2exif.cpp:396:
> undefined reference to `Exiv2::DataValue::DataValue(unsigned char const*,
> long, Exiv2::ByteOrder, Exiv2::TypeId)'
> CMakeFiles/kexiv2.dir/kexiv2exif.o: In function
> `KExiv2Iface::KExiv2::setExif(QByteArray const&) const':
>
> /home/naruchan/Download/sources/svn/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2exif.cpp:121:
> undefined reference to `Exiv2::ExifParser::decode(Exiv2::ExifData&,
> unsigned char const*, unsigned int)'
> CMakeFiles/kexiv2.dir/kexiv2exif.o: In function
> `Exiv2::ExifParser::encode(std::vector<unsigned char,
> std::allocator<unsigned char> >&, Exiv2::ByteOrder, Exiv2::ExifData
> const&)':
> /usr/local/include/exiv2/exif.hpp:570: undefined reference to
> `Exiv2::ExifParser::encode(std::vector<unsigned char,
> std::allocator<unsigned char> >&, unsigned char const*, unsigned int,
> Exiv2::ByteOrder, Exiv2::ExifData const&)'
> CMakeFiles/kexiv2.dir/kexiv2iptc.o: In function
> `KExiv2Iface::KExiv2::setIptcTagData(char const*, QByteArray const&, bool)
> const':
>
> /home/naruchan/Download/sources/svn/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2iptc.cpp:285:
> undefined reference to `Exiv2::DataValue::DataValue(unsigned char const*,
> long, Exiv2::ByteOrder, Exiv2::TypeId)'
> CMakeFiles/kexiv2.dir/kexiv2iptc.o: In function
> `KExiv2Iface::KExiv2::setIptc(QByteArray const&) const':
>
> /home/naruchan/Download/sources/svn/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2iptc.cpp:123:
> undefined reference to `Exiv2::IptcParser::decode(Exiv2::IptcData&,
> unsigned char const*, unsigned int)'
> CMakeFiles/kexiv2.dir/kexiv2iptc.o: In function
> `KExiv2Iface::KExiv2::getIptc(bool) const':
>
> /home/naruchan/Download/sources/svn/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2iptc.cpp:94:
> undefined reference to `Exiv2::IptcParser::encode(Exiv2::IptcData const&)'
> collect2: ld a retourné 1 code d'état d'exécution
> make[2]: *** [lib/libkexiv2.so.7.2.0] Erreur 1
> make[1]: *** [libs/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/all] Erreur 2
> make: *** [all] Erreur 2
>
> I want to precise that I have installe exiv2 0.18 from tarball
>
> Does somebody have any idea of where may I make something wrong ?
>
> Thanks
>
> Nicolas
>
>
> --
> Nicolas Boulesteix - Chasseur de lueurs - http://www.photonoxx.fr
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20090316/c0221a7c/attachment.html>


More information about the Digikam-users mailing list