Compiling kipi-plugins fails

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

Compiling kipi-plugins fails

S. Burmeister
Hey!

Since some days I cannot compile the digikam compilation anymore. It fails
with the following error message:

Linking CXX shared module ../../../lib/kipiplugin_expoblending.so                                                                                                                                                    
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld:
../../../lib/liblibexpoblending.a(manager.cpp.o): relocation R_X86_64_32
against `KIPIExpoBlendingPlugin::Manager::staticMetaObject' can not be used
when making a shared object; recompile with -fPIC
../../../lib/liblibexpoblending.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/kipiplugin_expoblending.so] Fehler 1
make[1]: *** [extra/kipi-
plugins/expoblending/CMakeFiles/kipiplugin_expoblending.dir/all] Fehler 2

Is this a gcc issue?

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

Re: Compiling kipi-plugins fails

Marcel Wiesweg

> Linking CXX shared module ../../../lib/kipiplugin_expoblending.so
> /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld:
> ../../../lib/liblibexpoblending.a(manager.cpp.o): relocation R_X86_64_32
> against `KIPIExpoBlendingPlugin::Manager::staticMetaObject' can not be used
> when making a shared object; recompile with -fPIC
> ../../../lib/liblibexpoblending.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[2]: *** [lib/kipiplugin_expoblending.so] Fehler 1
> make[1]: *** [extra/kipi-
> plugins/expoblending/CMakeFiles/kipiplugin_expoblending.dir/all] Fehler 2
>
> Is this a gcc issue?

Did you do a "make clean" in the expoblending build directory? I think
recompiling fixed it for me.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling kipi-plugins fails

Gilles Caulier-4
Marcel,

It's a 64 bits issue. I fixed it on git master, few minutes ago...

Gilles

2011/4/9 Marcel Wiesweg <[hidden email]>:

>
>> Linking CXX shared module ../../../lib/kipiplugin_expoblending.so
>> /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld:
>> ../../../lib/liblibexpoblending.a(manager.cpp.o): relocation R_X86_64_32
>> against `KIPIExpoBlendingPlugin::Manager::staticMetaObject' can not be used
>> when making a shared object; recompile with -fPIC
>> ../../../lib/liblibexpoblending.a: could not read symbols: Bad value
>> collect2: ld returned 1 exit status
>> make[2]: *** [lib/kipiplugin_expoblending.so] Fehler 1
>> make[1]: *** [extra/kipi-
>> plugins/expoblending/CMakeFiles/kipiplugin_expoblending.dir/all] Fehler 2
>>
>> Is this a gcc issue?
>
> Did you do a "make clean" in the expoblending build directory? I think
> recompiling fixed it for me.
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling kipi-plugins fails

S. Burmeister
Am Samstag, 9. April 2011, 15:52:08 schrieb Gilles Caulier:
> It's a 64 bits issue. I fixed it on git master, few minutes ago...

Thanks, that plug-in is fixed indeed, yet now it fails at:

[ 65%] Building CXX object extra/kipi-
plugins/gpssync/CMakeFiles/kipiplugin_gpssync.dir/backend-geonamesUS-rg.cpp.o                                                                                                  
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld:
../../../lib/liblibacquireimages.a(scandialog.cpp.o): relocation R_X86_64_32
against `KIPIAcquireImagesPlugin::ScanDialog::staticMetaObject' can not be
used when making a shared object; recompile with -fPIC
../../../lib/liblibacquireimages.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/kipiplugin_acquireimages.so] Fehler 1
make[1]: *** [extra/kipi-
plugins/acquireimages/CMakeFiles/kipiplugin_acquireimages.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...

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

Re: Compiling kipi-plugins fails

Milan Knizek
V Sat, 09 Apr 2011 16:39:04 +0200
Sven Burmeister <[hidden email]> napsáno:

> Am Samstag, 9. April 2011, 15:52:08 schrieb Gilles Caulier:
> > It's a 64 bits issue. I fixed it on git master, few minutes ago...
>
> Thanks, that plug-in is fixed indeed, yet now it fails at:
>
> [ 65%] Building CXX object extra/kipi-
> plugins/gpssync/CMakeFiles/kipiplugin_gpssync.dir/backend-geonamesUS-rg.cpp.o                                                                                                  
> /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld:
> ../../../lib/liblibacquireimages.a(scandialog.cpp.o): relocation
> R_X86_64_32 against
> `KIPIAcquireImagesPlugin::ScanDialog::staticMetaObject' can not be
> used when making a shared object; recompile with
> -fPIC ../../../lib/liblibacquireimages.a: could not read symbols: Bad
> value collect2: ld returned 1 exit status make[2]: ***
> [lib/kipiplugin_acquireimages.so] Fehler 1 make[1]: *** [extra/kipi-
> plugins/acquireimages/CMakeFiles/kipiplugin_acquireimages.dir/all]
> Fehler 2 make[1]: *** Warte auf noch nicht beendete Prozesse...
Try the attached patch - it is an equivalent of what Gilles did
yesterday.

regards,
Milan

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel

0001-Adjust-flag-for-static-lib-and-64-bits-computers-usi.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Compiling kipi-plugins fails

Milan Knížek
In reply to this post by S. Burmeister
V Sat, 09 Apr 2011 16:39:04 +0200
Sven Burmeister <[hidden email]> napsáno:

> Am Samstag, 9. April 2011, 15:52:08 schrieb Gilles Caulier:
> > It's a 64 bits issue. I fixed it on git master, few minutes ago...
>
> Thanks, that plug-in is fixed indeed, yet now it fails at:
>
> [ 65%] Building CXX object extra/kipi-
> plugins/gpssync/CMakeFiles/kipiplugin_gpssync.dir/backend-geonamesUS-rg.cpp.o                                                                                                  
> /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld:
> ../../../lib/liblibacquireimages.a(scandialog.cpp.o): relocation
> R_X86_64_32 against
> `KIPIAcquireImagesPlugin::ScanDialog::staticMetaObject' can not be
> used when making a shared object; recompile with
> -fPIC ../../../lib/liblibacquireimages.a: could not read symbols: Bad
> value collect2: ld returned 1 exit status make[2]: ***
> [lib/kipiplugin_acquireimages.so] Fehler 1 make[1]: *** [extra/kipi-
> plugins/acquireimages/CMakeFiles/kipiplugin_acquireimages.dir/all]
> Fehler 2 make[1]: *** Warte auf noch nicht beendete Prozesse...
Try the attached patch - it is an equivalent of what Gilles did
yesterday.

regards,
Milan

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel

0001-Adjust-flag-for-static-lib-and-64-bits-computers-usi.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Compiling kipi-plugins fails

Guillaume Paumier
In reply to this post by Milan Knizek
2011/4/10 Milan Knížek <[hidden email]>:
>
> Try the attached patch - it is an equivalent of what Gilles did
> yesterday.

Ah, I hadn't seen your message and I just added the same patch to bugzilla :)
https://bugs.kde.org/show_bug.cgi?id=270573

--
Guillaume Paumier
[[m:User:guillom]]
http://www.gpaumier.org
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel