GPA problems

Kai Raven
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.

$ /usr/bin/gpgme-config --version

> 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 */
  err = gpgme_op_verify (ctx, sig, signed_text, plain_text, &stat);
  err = gpgme_op_verify (ctx, sig, signed_text, plain_text);

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


Gegen den US Angriffskrieg:
GPG-Key: 0x60F3882F / 0x76C65282