[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnutls] Re: gnutls/extra.h
From: |
Simon Josefsson |
Subject: |
[Help-gnutls] Re: gnutls/extra.h |
Date: |
Thu, 08 Feb 2007 15:46:33 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) |
address@hidden 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