kdepim: Kleopatra linking problem with libassuan
Bernhard Reiter
bernhard at intevation.de
Fri May 16 11:23:20 CEST 2008
On Wednesday 14 May 2008 17:16, Bernhard Reiter wrote:
> kdepim Rev 807722 compilation currently fails with libassuan (+ -fPIC).
Note that the failure messages are the same without "-fPIC"
> Excepts from the log file:
>
> mingw\bin\g++.exe -Woverloaded-virtual -fexceptions -O2 -g -mwindows
> CMakeFiles\kleopatra_bin.dir\kleopatra_bin_automoc.obj
> CMakeFiles\kleopatra_bin.dir\utils\gnupg-helper.obj
> CMakeFiles\kleopatra_bin.dir\utils\filesystemwatcher.obj
> CMakeFiles\kleopatra_bin.dir\utils\kdpipeiodevice.obj
> CMakeFiles\kleopatra_bin.dir\utils\kdlogtextwidget.obj
> [..]
> E:\devel\kderoot-2\lib\libassuan.a(assuan-util.obj): In function
> `assuan_set_error':
> E:/devel/kderoot-2/tmp/libassuan-20080208/work/libassuan/src/assuan-util.c:
>105:multiple definition of `_assuan_set_error'
> ..\bin\libkleopatraclientcore.dll.a(d000166.o):(.text+0x0): first defined
> here E:\devel\kderoot-2\lib\libassuan.a(assuan-util.obj): In function
> `assuan_set_pointer':
> E:/devel/kderoot-2/tmp/libassuan-20080208/work/libassuan/src/assuan-util.c:
>113:multiple definition of `_assuan_set_pointer'
> ..\bin\libkleopatraclientcore.dll.a(d000174.o):(.text+0x0): first defined
> here E:\devel\kderoot-2\lib\libassuan.a(assuan-util.obj): In function
> `assuan_get_pointer':
> E:/devel/kderoot-2/tmp/libassuan-20080208/work/libassuan/src/assuan-util.c:
>120:multiple definition of `_assuan_get_pointer'
> ..\bin\libkleopatraclientcore.dll.a(d000143.o):(.text+0x0): first defined
> here E:\devel\kderoot-2\lib\libassuan.a(assuan-handler.obj): In function
> `assuan_register_command':
> E:/devel/kderoot-2/tmp/libassuan-20080208/work/libassuan/src/assuan-handler
>.c:278: multiple definition of `_assuan_register_command'
> ..\bin\libkleopatraclientcore.dll.a(d000155.o):(.text+0x0): first defined
> here E:\devel\kderoot-2\lib\libassuan.a(assuan-handler.obj): In function
> `assuan_register_reset_notify':
> E:/devel/kderoot-2/tmp/libassuan-20080208/work/libassuan/src/assuan-handler
>.c:352: multiple definition of `_assuan_register_reset_notify'
> ..\bin\libkleopatraclientcore.dll.a(d000160.o):(.text+0x0): first defined
> here
>
>
> Yes, I followed the hint and set -fPIC for libassuan compilation,
> like this (Thanks to Patrick for the hints).
> -- emerge/portage/testing/libassuan/libassuan-20080208.py (Revision
> 807658)
> +++ emerge/portage/testing/libassuan/libassuan-20080208.py
> (Arbeitskopie) @@ -52,6 +52,7 @@
>
>
> def compile( self ):
> + self.kdeCustomDefines = self.kdeCustomDefines +
> "-DCMAKE_C_FLAGS=-fPIC"
> return self.kdeCompile()
>
> def install( self ):
--
Managing Director - Owner: www.intevation.net (Free Software Company)
Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20080516/d57dd4a7/attachment.pgp
More information about the Kde-windows
mailing list