[Digikam-devel] Cannot compile libkexiv2

Mikolaj Machowski mikmach at wp.pl
Sun Nov 30 21:48:59 GMT 2008


Hello,

Cannot compile kexiv2 from trunk:

kexiv2 svn: 889398
exiv2 svn: 1686

Compilation fails with:

Linking CXX shared library ../../../lib/libkexiv2.so
CMakeFiles/kexiv2.dir/kexiv2exif.o: In function 
`KExiv2Iface::KExiv2::getExifThumbnail(bool) const':
kexiv2exif.cpp:(.text+0x22e): undefined reference to 
`Exiv2::ExifThumbC::ExifThumbC(Exiv2::ExifData const&)'
kexiv2exif.cpp:(.text+0x23d): undefined reference to 
`Exiv2::ExifThumbC::copy() const'
CMakeFiles/kexiv2.dir/kexiv2exif.o: In function 
`KExiv2Iface::KExiv2::setExif(QByteArray const&) const':
kexiv2exif.cpp:(.text+0x4e0): undefined reference to 
`Exiv2::ExifParser::decode(Exiv2::ExifData&, unsigned char const*, 
unsigned int)'
CMakeFiles/kexiv2.dir/kexiv2exif.o: In function 
`KExiv2Iface::KExiv2::getExif(bool) const':
kexiv2exif.cpp:(.text+0x6f3): 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/kexiv2exif.o: In function 
`KExiv2Iface::KExiv2::setExifThumbnail(QImage const&, bool) const':
kexiv2exif.cpp:(.text+0x14e1): undefined reference to 
`Exiv2::ExifThumb::ExifThumb(Exiv2::ExifData&)'
kexiv2exif.cpp:(.text+0x14ed): undefined reference to 
`Exiv2::ExifThumb::setJpegThumbnail(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/kexiv2.dir/kexiv2exif.o: In function 
`KExiv2Iface::KExiv2::setExifTagData(char const*, QByteArray const&, bool) 
const':
kexiv2exif.cpp:(.text+0x1ccd): 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':
kexiv2iptc.cpp:(.text+0x190): 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':
kexiv2iptc.cpp:(.text+0x3a3): undefined reference to 
`Exiv2::IptcParser::encode(Exiv2::IptcData const&)'
CMakeFiles/kexiv2.dir/kexiv2iptc.o: In function 
`KExiv2Iface::KExiv2::setIptcTagData(char const*, QByteArray const&, bool) 
const':
kexiv2iptc.cpp:(.text+0x132d): undefined reference to 
`Exiv2::DataValue::DataValue(unsigned char const*, long, Exiv2::ByteOrder, 
Exiv2::TypeId)'
collect2: ld returned 1 exit status
make[2]: *** [lib/libkexiv2.so.7.2.0] Błąd 1
make[1]: *** [libs/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/all] Błąd 2
make[1]: *** Oczekiwanie na niezakończone zadania....

Any ideas?

TIA

m.





More information about the Digikam-devel mailing list