[EMAIL PROTECTED] writes: > Hi all, > can someone send me package gnutls/extra.h? > If I run > cc -o ex-serv-pgp ex-serv-pgp.c -I/usr/lib/ -L/usr/lib/ -lgnutls > it return > > /tmp/ccAoyU22.o: In function `main':ex-serv-pgp.c:(.text+0x100): undefined > reference to `gnutls_certificate_set_openpgp_keyring_file' > > This function in gnutls\extra.h. Isn't it istalled by default with gnutls?
You need to read the manual more carefully. The OpenPGP support is in the libgnutls-extra library, so you'll need to link to it too: cc -o ex-serv-pgp ex-serv-pgp.c -lgnutls -lgnutls-extra /Simon _______________________________________________ Help-gnutls mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnutls
