GPA problems

Kai Raven k.raven@freenet.de
Tue Apr 1 21:38:01 2003


Hello Miguel,

On Tue, 1 Apr 2003 19:55:15 +0200 you wrote:

> From the original error message, it looks like GPA is trying to use
> the hack I put in for GPGME 0.4.1 support. Is there any chance that
> your gpgme version string is not 0.4.0 precisely? You can run
> "/usr/bin/gpgme-config --version" to make sure.

Output:
$ /usr/bin/gpgme-config --version
0.4.0

> Anyway, it can be fixed by adding:
> 
> #define GPGME_VERSION_0_4_0 1
> 
> Either in config.h or somewhere in verifydlg.c. That should fix it.

In config.h it *is*
#define GPGME_VERSION_0_4_0 1

I have added
#define GPGME_VERSION_0_4_0 1

in verifydlg.c:

#define GPGME_VERSION_0_4_0 1
  /* Verify */
#if GPGME_VERSION_0_4_0
  err = gpgme_op_verify (ctx, sig, signed_text, plain_text, &stat);
#else
  err = gpgme_op_verify (ctx, sig, signed_text, plain_text);
#endif

error message:

verifydlg.c: In function `verify_file':
verifydlg.c:134: warning: passing arg 4 of `gpgme_op_verify' from
incompatible pointer type verifydlg.c:134: too many arguments to
function `gpgme_op_verify' make[2]: *** [verifydlg.o] Fehler 1
make[2]: Leaving directory `/home/hiro/tmp/gpa-0.6.1/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/hiro/tmp/gpa-0.6.1'
make: *** [all] Fehler 2


Ciao
Kai

-- 
Gegen den US Angriffskrieg:
http://kai.iks-jena.de/
GPG-Key: 0x60F3882F / 0x76C65282
ICQ:146714798