using gpgme problems

Jacob Perkins jap1 at
Mon Aug 19 16:31:08 CEST 2002

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 = 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

pub  1024D/57DDD9E3 2002-05-24 Jacob (Direct to Home)
<jap1 at>
Key fingerprint = 1E02 A5FD 8162 4322 C674  6E67 05EB 30F1 57DD D9E3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : /pipermail/attachments/20020819/0b5993a7/attachment.bin

More information about the Gnupg-devel mailing list