using gpgme problems

Jan-Benedict Glaw jbglaw at lug-owl.de
Mon Aug 19 08:58:01 CEST 2002


On Sun, 2002-08-18 23:49:41 -0500, Jacob Perkins <jap1 at ionet.net>
wrote in message <1029732581.28463.15.camel at rig.dyndns.ws>:
> 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)

You probably forgot to link against the library?

MfG, JBG

-- 
Jan-Benedict Glaw   .   jbglaw at lug-owl.de   .   +49-172-7608481
	 -- New APT-Proxy written in shell script --
	   http://lug-owl.de/~jbglaw/software/ap2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : /pipermail/attachments/20020819/8f05b474/attachment.bin


More information about the Gnupg-devel mailing list