[Help-gnutls] Compile gnutls-0.9.90 without opencdk

Charles Gagnon charlesg at unixrealm.com
Fri Oct 17 18:02:34 CEST 2003


How do I compile gnutls-0.9.90 (on Solaris 8) without opencdk or
openpgp support? Is it doable?

I tried various configure options like:

 ./configure -disable-openpgp-authentication --without-openpgp --without-opencdk

And it seems like opencdk support is disabled:

  checking whether to disable OpenPGP Certificate authentication support... yes

But I still fail to compile with errors like:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../ -I../../includes/ -I../../lib -O2 -finline-functions -I/usr/local/include -MT verify.lo -MD -MP -MF .deps/verify.Tpo -c verify.c  -fPIC -DPIC -o .libs/verify.o
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from verify.c:28:
gnutls_openpgp.h:6:21: opencdk.h: No such file or directory
In file included from verify.c:28:
gnutls_openpgp.h:80: parse error before "kbx_to_keydb"
gnutls_openpgp.h:80: warning: data definition has no type or storage class
In file included from verify.c:29:
openpgp.h:4:21: opencdk.h: No such file or directory
In file included from verify.c:29:
openpgp.h:7: parse error before "cdk_kbnode_t"
openpgp.h:7: warning: no semicolon at end of struct or union
openpgp.h:8: warning: data definition has no type or storage class
openpgp.h:11: parse error before "cdk_keydb_hd_t"
openpgp.h:11: warning: no semicolon at end of struct or union
openpgp.h:12: warning: data definition has no type or storage class
openpgp.h:15: parse error before "cdk_stream_t"
openpgp.h:15: warning: no semicolon at end of struct or union
openpgp.h:16: warning: data definition has no type or storage class
make[3]: *** [verify.lo] Error 1
make[3]: Leaving directory `/home/cgagnon/src/gnutls-0.9.90/libextra/openpgp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cgagnon/src/gnutls-0.9.90/libextra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cgagnon/src/gnutls-0.9.90'
make: *** [all] Error 2
 
help.

-- 
Charles Gagnon                   | My views are my views and they
http://unixrealm.com             | do not represent those of anybody
charlesg at unixrealm.com        | but me.

   Is there another word for synonym?
        -- Dennis Miller





More information about the Gnutls-help mailing list