compile error: exiv2

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

compile error: exiv2

Benedikt Steinar Magnússon
Hi

I'm trying to compile dikikam beta2, and after solving libfam problems
I get a new one, this here is what I get now when trying to compile:

../../digikam/utilities/imageeditor/canvas/.libs/libdimgcanvas.a(dmetadata.o):
In function `Digikam::DMetadata::getIptc(bool) const':dmetadata.cpp:
(.text+0x53be): undefined reference to `Exiv2::Photoshop::setIptcIrb(unsigned
char const*, long, Exiv2::IptcData const&)'
:dmetadata.cpp:(.text+0x549d): undefined reference to `Exiv2::IptcData::copy()
const'
collect2: ld returned 1 exit status
make[3]: *** [libdigikam.la] Error 1
make[3]: Leaving directory `/home/bsm/digikam-0.9.0-beta2/digikam/digikam'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bsm/digikam-0.9.0-beta2/digikam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bsm/digikam-0.9.0-beta2'
make: *** [all] Error 2

Can someone help me on this one. I have the new exiv2 0.11, which I assumed
was sufficient and ./configure gave me green light.  

Thanks
Benni
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: compile error: exiv2

Gilles Caulier-2
On Wednesday 27 September 2006 12:56, Benedikt Steinar Magnússon wrote:

> Hi
>
> I'm trying to compile dikikam beta2, and after solving libfam problems
> I get a new one, this here is what I get now when trying to compile:
>
> ../../digikam/utilities/imageeditor/canvas/.libs/libdimgcanvas.a(dmetadata.
>o): In function `Digikam::DMetadata::getIptc(bool) const':dmetadata.cpp:
> (.text+0x53be): undefined reference to
> `Exiv2::Photoshop::setIptcIrb(unsigned char const*, long, Exiv2::IptcData
> const&)'
>
> :dmetadata.cpp:(.text+0x549d): undefined reference to
> : `Exiv2::IptcData::copy()
>
> const'
> collect2: ld returned 1 exit status
> make[3]: *** [libdigikam.la] Error 1
> make[3]: Leaving directory `/home/bsm/digikam-0.9.0-beta2/digikam/digikam'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/bsm/digikam-0.9.0-beta2/digikam'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/bsm/digikam-0.9.0-beta2'
> make: *** [all] Error 2
>
> Can someone help me on this one. I have the new exiv2 0.11, which I assumed
> was sufficient and ./configure gave me green light.
>

Yes, 0.11 is fine.

It's not a compilation problem but a linking problem. Are you sure to not have
both Exiv2 releases installed in your computer ?

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: compile error: exiv2

Benedikt Steinar Magnússon
It looks like I have both versions,
fount at least
/usr/lib/libexiv2-0.7.so
and
/usr/local/lib/libexiv2-0.11.so

have do I remove the old one?
Benni

On Wednesday 27 September 2006 11:03, Gilles Caulier wrote:

> On Wednesday 27 September 2006 12:56, Benedikt Steinar Magnússon wrote:
> > Hi
> >
> > I'm trying to compile dikikam beta2, and after solving libfam problems
> > I get a new one, this here is what I get now when trying to compile:
> >
> > ../../digikam/utilities/imageeditor/canvas/.libs/libdimgcanvas.a(dmetadat
> >a. o): In function `Digikam::DMetadata::getIptc(bool)
> > const':dmetadata.cpp: (.text+0x53be): undefined reference to
> > `Exiv2::Photoshop::setIptcIrb(unsigned char const*, long, Exiv2::IptcData
> > const&)'
> >
> > :dmetadata.cpp:(.text+0x549d): undefined reference to
> > : `Exiv2::IptcData::copy()
> >
> > const'
> > collect2: ld returned 1 exit status
> > make[3]: *** [libdigikam.la] Error 1
> > make[3]: Leaving directory
> > `/home/bsm/digikam-0.9.0-beta2/digikam/digikam' make[2]: ***
> > [all-recursive] Error 1
> > make[2]: Leaving directory `/home/bsm/digikam-0.9.0-beta2/digikam'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/bsm/digikam-0.9.0-beta2'
> > make: *** [all] Error 2
> >
> > Can someone help me on this one. I have the new exiv2 0.11, which I
> > assumed was sufficient and ./configure gave me green light.
>
> Yes, 0.11 is fine.
>
> It's not a compilation problem but a linking problem. Are you sure to not
> have both Exiv2 releases installed in your computer ?
>
> Gilles
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: compile error: exiv2

Gilles Caulier-2
On Wednesday 27 September 2006 13:13, Benedikt Steinar Magnússon wrote:
> It looks like I have both versions,
> fount at least
> /usr/lib/libexiv2-0.7.so
> and
> /usr/local/lib/libexiv2-0.11.so
>
> have do I remove the old one?

Yes of course !(:=)))

To be clean with your digikam compilation, perform a 'make clean' in digikam
source directory and restart 'make'

Gilles

> Benni
>
> On Wednesday 27 September 2006 11:03, Gilles Caulier wrote:
> > On Wednesday 27 September 2006 12:56, Benedikt Steinar Magnússon wrote:
> > > Hi
> > >
> > > I'm trying to compile dikikam beta2, and after solving libfam problems
> > > I get a new one, this here is what I get now when trying to compile:
> > >
> > > ../../digikam/utilities/imageeditor/canvas/.libs/libdimgcanvas.a(dmetad
> > >at a. o): In function `Digikam::DMetadata::getIptc(bool)
> > > const':dmetadata.cpp: (.text+0x53be): undefined reference to
> > > `Exiv2::Photoshop::setIptcIrb(unsigned char const*, long,
> > > Exiv2::IptcData const&)'
> > >
> > > :dmetadata.cpp:(.text+0x549d): undefined reference to
> > > : `Exiv2::IptcData::copy()
> > >
> > > const'
> > > collect2: ld returned 1 exit status
> > > make[3]: *** [libdigikam.la] Error 1
> > > make[3]: Leaving directory
> > > `/home/bsm/digikam-0.9.0-beta2/digikam/digikam' make[2]: ***
> > > [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/bsm/digikam-0.9.0-beta2/digikam'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/bsm/digikam-0.9.0-beta2'
> > > make: *** [all] Error 2
> > >
> > > Can someone help me on this one. I have the new exiv2 0.11, which I
> > > assumed was sufficient and ./configure gave me green light.
> >
> > Yes, 0.11 is fine.
> >
> > It's not a compilation problem but a linking problem. Are you sure to not
> > have both Exiv2 releases installed in your computer ?
> >
> > Gilles
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users