GPA problems

Miguel Coca mcoca@gnu.org
Wed Apr 2 00:01:02 2003


--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 01, 2003 at 21:39:03 +0200, Kai Raven wrote:
>=20
> Hello Miguel,

Hi,

> On Tue, 1 Apr 2003 19:55:15 +0200 you wrote:
>=20
> > 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.
>=20
> Output:
> $ /usr/bin/gpgme-config --version
> 0.4.0

Ok.

> in verifydlg.c:
>=20
> #define GPGME_VERSION_0_4_0 1
>   /* Verify */
> #if GPGME_VERSION_0_4_0
>   err =3D gpgme_op_verify (ctx, sig, signed_text, plain_text, &stat);
> #else
>   err =3D gpgme_op_verify (ctx, sig, signed_text, plain_text);
> #endif
>=20
> error message:
>=20
> 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

Sorry, I must be slow today. The gpgme_op_verify prototype has changed
several times, and I forget which is which :-)

The only option left is that gpgme is confusing the 0.3 and 0.4
headers. Probably in the include search order /usr/local/include comes
before /usr/include, so you are getting the 0.3 gpgme.h no matter
what.

As a workaround, move away /usr/local/include/gpgme.h for compiling
GPA, and everything should be allright (I hope) :-)

Hope this helps,
--=20
Miguel Coca (mcoca@gnu.org)                http://zipi.fi.upm.es/~e970095/
       OpenPGP: E60A CBF4 5C6F 914E B6C1  C402 8C4D C7B6 27FC 3CA8

--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+igxijE3Htif8PKgRAio7AJ94x0/dQfxFCZn03SIIcPR3X2598ACfYX2B
a/S+lW1YW6PoWa+gE9qhBA8=
=DFJI
-----END PGP SIGNATURE-----

--fUYQa+Pmc3FrFX/N--