using gpgme problems

Jacob Perkins jap1@rig.dyndns.ws
Mon Aug 19 15:31:08 2002


--=-c/JPWv1DRQ8k9Rn3d9R3
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I'm trying to use gpgme in a project, and I'm having trouble getting a
successful make. I've included gpgme.h, I can define gpgme types, but I
can't call any functions. For instance, with the following line of code,
make says, "undefined reference to 'gpgme_engine_check_version'"
and the code is:
GpgmeError error =3D gpgme_engine_check_version(GPGME_PROTOCOL_OpenPGP)

The same thing happens when I try to call gpgme_new(&ctx).
I'm using Anjuta for development, and when I type the function, it has
it's popup saying the paramaters of the function, and anjuta also has no
problems when I compile the source file. The problems only show up when
I try to make it.
I'm using gpgme-0.3.8 under gentoo linux with gcc-3.1

--=20
pub  1024D/57DDD9E3 2002-05-24 Jacob (Direct to Home)
<jap1@rig.dyndns.ws>
Key fingerprint =3D 1E02 A5FD 8162 4322 C674  6E67 05EB 30F1 57DD D9E3

--=-c/JPWv1DRQ8k9Rn3d9R3
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQA9YHfYBesw8Vfd2eMRAn+lAJ9O0WPKeW1G6E/Py54rZj86xuJI4ACgjpPI
Vxk+pvmf0z1TbZ1NZTPXk84=
=clDW
-----END PGP SIGNATURE-----

--=-c/JPWv1DRQ8k9Rn3d9R3--