Bug 158225 - kleopatra doesnot compile - error
Summary: kleopatra doesnot compile - error
Status: CLOSED WORKSFORME
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: outdated (old bug dump)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-22 14:45 UTC by Alois Nespor
Modified: 2008-10-23 17:43 UTC (History)
0 users

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 Alois Nespor 2008-02-22 14:45:00 UTC
Version:            (using KDE 3.5.9)
Installed from:    Compiled From Sources
Compiler:          GCC 4.2.3 
OS:                Linux

Archlinux 64-bit, GCC 4.2.3, gpgme 1.1.6,gnupg 1.4.8,gnupg2 2.0.8,libgpg-error 1.6, local-copy gpgme too.

If unistall gpgme, same error.


Compiling stopped with error:

cryptplug.h:411: error: reference to 'Feature' is ambiguous
../../../certmanager/lib/cryptplug.h:182: error: candidates are: typedef enum Feature Feature
../../../libkdenetwork/gpgmepp/context.h:302: error:                 enum GpgME::Feature
../../../certmanager/lib/cryptplug.h:411: error: reference to 'Feature' is ambiguous
../../../certmanager/lib/cryptplug.h:182: error: candidates are: typedef enum Feature Feature
../../../libkdenetwork/gpgmepp/context.h:302: error:                 enum GpgME::Feature
../../../certmanager/lib/cryptplug.h:411: error: 'Feature' has not been declared
In file included from directoryserviceswidget.cpp:37,
                 from libkleopatra_ui_la.all_cpp.cpp:15:
../../../certmanager/lib/cryptplugwrapper.h:721: error: reference to 'Feature' is ambiguous
../../../certmanager/lib/cryptplug.h:182: error: candidates are: typedef enum Feature Feature
../../../libkdenetwork/gpgmepp/context.h:302: error:                 enum GpgME::Feature
../../../certmanager/lib/cryptplugwrapper.h:721: error: reference to 'Feature' is ambiguous
../../../certmanager/lib/cryptplug.h:182: error: candidates are: typedef enum Feature Feature
../../../libkdenetwork/gpgmepp/context.h:302: error:                 enum GpgME::Feature
../../../certmanager/lib/cryptplugwrapper.h:721: error: 'Feature' has not been declared
make[4]: *** [libkleopatra_ui_la.all_cpp.lo] Error 1
Comment 1 Allen Winter 2008-02-22 14:49:54 UTC
Did you pass --enable-final to the configure line?

If so, we just committed a fix for this yesterday.
You might want to pickup r777849 from branches/KDE/3.5/kdepim/certmanager/lib

there were some minor changes in cryptplug.h and cryptplugwrapper.h
Comment 2 Alois Nespor 2008-02-22 16:34:00 UTC
I use : ./configure --prefix=/opt/kde --disable-debug --disable-exchange --disable-dependency-tracking --enable-gcc-hidden-visibility --enable-final

I will try without --enable-final, thanks!
Comment 3 Alois Nespor 2008-02-22 18:54:28 UTC
compile now works : without --enable-gcc-hidden-visibility --enable-final ,
thank you for well-direct !