using gpgme problems

Jacob Perkins jap1 at ionet.net
Mon Aug 19 07:49:01 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





More information about the Gnupg-devel mailing list