Bug 154623 - Compile error about getExifTagsDataList
Summary: Compile error about getExifTagsDataList
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-26 09:45 UTC by Simon Oosthoek
Modified: 2017-08-19 20:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Oosthoek 2007-12-26 09:45:59 UTC
Version:           0.9.3 final (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
Compiler:          gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) 
OS:                Linux

I just downloaded and compiled digikam and before that, libkdcraw and libkexiv2 (latest versions; 0.1.3 and 0.1.6).

I didn't use any special parameters to ./configure and I did make install as root.

Compiling digikam caused this error:

../../digikam/libs/widgets/.libs/libwidgets.a(iptcwidget.o): In function `Digikam::IptcWidget::decodeMetadata()':
iptcwidget.cpp:(.text+0x10e8): undefined reference to `KExiv2Iface::KExiv2::getIptcTagsDataList(QStringList, bool)'
../../digikam/libs/widgets/.libs/libwidgets.a(exifwidget.o): In function `Digikam::ExifWidget::decodeMetadata()':
exifwidget.cpp:(.text+0x1108): undefined reference to `KExiv2Iface::KExiv2::getExifTagsDataList(QStringList, bool)'
../../digikam/libs/widgets/.libs/libwidgets.a(makernotewidget.o): In function `Digikam::MakerNoteWidget::decodeMetadata()':
makernotewidget.cpp:(.text+0x10d8): undefined reference to `KExiv2Iface::KExiv2::getExifTagsDataList(QStringList, bool)'
../../digikam/libs/widgets/.libs/libwidgets.a(gpswidget.o): In function `Digikam::GPSWidget::decodeMetadata()':
gpswidget.cpp:(.text+0x10d9): undefined reference to `KExiv2Iface::KExiv2::getExifTagsDataList(QStringList, bool)'
collect2: ld returned 1 exit status
make[3]: *** [libdigikam.la] Error 1
make[3]: Leaving directory `/home/simon/src/digikam-0.9.3/digikam/digikam'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/simon/src/digikam-0.9.3/digikam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/simon/src/digikam-0.9.3'
make: *** [all] Error 2

Is this a bug in digikam or libkexiv2?

Cheers

Simon
Comment 1 Simon Oosthoek 2007-12-26 10:05:53 UTC
Sorry, I forgot to mention that this is on a kubuntu 7.10 (gutsy) system, which is up-to-date with updates.
Before compiling I removed the packages for digikam, showfoto and digikamimageplugins. (version 0.9.2)
Comment 2 Simon Oosthoek 2007-12-26 19:58:26 UTC
Nevermind, fixed it...

I was under the assumption that libkexiv2 would install in /usr/local/lib, but it used /usr/lib and didn't install over the package version I had not uninstalled yet. So compiling digikam couldn't find the right symbols...