the ./configure script doesn't appear to honor --disable-openpgp-authentication

Jim Newell jnewell at rajant.com
Fri Sep 21 20:12:10 CEST 2012


Never mind.  The cert_verify() function in src/common.c and a few other
places are not surrounding code with the ENABLE_OPENPGP define, and
causing linker errors:
make[4]: Entering directory
`/home/jnewell/work/v11/build-host-debug/build/gnutls-3.1.1/src'
  CCLD   gnutls-serv
../lib/.libs/libgnutls.so: undefined reference to
`gnutls_privkey_import_openpgp'
../lib/.libs/libgnutls.so: undefined reference to
`gnutls_openpgp_privkey_import'
../lib/.libs/libgnutls.so: undefined reference to
`gnutls_openpgp_privkey_set_preferred_key_id'
../lib/.libs/libgnutls.so: undefined reference to
`gnutls_openpgp_privkey_init'
../lib/.libs/libgnutls.so: undefined reference to
`gnutls_openpgp_privkey_deinit'
collect2: error: ld returned 1 exit status

Regards,
Jim

On Fri, Sep 21, 2012 at 11:58 AM, Jim Newell <jnewell at rajant.com> wrote:

> If I configure gnutls 3.1.1 using --disable-openpgp-authentication the
> config.h file is still generated with:
>
> /* use openpgp authentication */
> /* #undef ENABLE_OPENPGP */
>
> Is there is another flag I'm failing to use to obtain the desired result
> to disabe the openpgp?
>
> Regards,
>
> Jim Newell
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20120921/51e46665/attachment.htm>


More information about the Gnutls-help mailing list