I tried to compile cone-0.90 with gnutls-3.4.1. It failed with several errors. It works fine with gnutls-3.3.x.
Any idea on how to resolve this?

~A
============================

   Making all in tcpd
   make[2]: Entering directory
   
'/mnt/storageTemp/portage/portage/mail-client/cone-0.90-r1/work/cone-0.90/tcpd'
   make  all-am
   make[3]: Entering directory
   
'/mnt/storageTemp/portage/portage/mail-client/cone-0.90-r1/work/cone-0.90/tcpd'
   /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc
   -DHAVE_CONFIG_H -I. -I/usr/include/p11-kit-1   -I./.. -I.. -Wall -O2
   -pipe -fomit-frame-pointer -march=native -mtune=native -msse3 -c -o
   spipe.lo spipe.c
   /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc
   -DHAVE_CONFIG_H -I. -I/usr/include/p11-kit-1   -I./.. -I.. -Wall -O2
   -pipe -fomit-frame-pointer -march=native -mtune=native -msse3 -c -o
   tlscache.lo tlscache.c
   libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
   -I/usr/include/p11-kit-1 -I./.. -I.. -Wall -O2 -pipe
   -fomit-frame-pointer -march=native -mtune=native -msse3 -c
   tlscache.c  -fPIC -DPIC -o .libs/tlscache.o
   libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
   -I/usr/include/p11-kit-1 -I./.. -I.. -Wall -O2 -pipe
-fomit-frame-pointer -march=native -mtune=native -msse3 -c spipe.c -fPIC -DPIC -o .libs/spipe.o
   libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
   -I/usr/include/p11-kit-1 -I./.. -I.. -Wall -O2 -pipe
   -fomit-frame-pointer -march=native -mtune=native -msse3 -c spipe.c
   -o spipe.o >/dev/null 2>&1
   /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc
   -DHAVE_CONFIG_H -I. -I/usr/include/p11-kit-1   -I./.. -I.. -Wall -O2
   -pipe -fomit-frame-pointer -march=native -mtune=native -msse3 -c -o
   libcouriergnutls.lo libcouriergnutls.c
   libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
   -I/usr/include/p11-kit-1 -I./.. -I.. -Wall -O2 -pipe
   -fomit-frame-pointer -march=native -mtune=native -msse3 -c
   libcouriergnutls.c  -fPIC -DPIC -o .libs/libcouriergnutls.o
   libcouriergnutls.c:191:2: warning: ‘gnutls_x509_privkey’ is
   deprecated [-Wdeprecated-declarations]
      gnutls_x509_privkey x509_key;
      ^
   libcouriergnutls.c:193:2: warning: ‘gnutls_openpgp_key_t’ is
   deprecated [-Wdeprecated-declarations]
      gnutls_openpgp_key_t pgp_crt;
      ^
   libcouriergnutls.c: In function ‘verify_client’:
   libcouriergnutls.c:938:3: warning: ‘gnutls_openpgp_key_t’ is
   deprecated [-Wdeprecated-declarations]
       gnutls_openpgp_key_t cert;
       ^
   libcouriergnutls.c: At top level:
   libcouriergnutls.c:1113:8: warning: ‘gnutls_datum’ is deprecated
   (declared at /usr/include/gnutls/gnutls.h:784)
   [-Wdeprecated-declarations]
            gnutls_datum *filebuf)
            ^
   libcouriergnutls.c:1143:1: warning: ‘gnutls_datum’ is deprecated
   (declared at /usr/include/gnutls/gnutls.h:784)
   [-Wdeprecated-declarations]
     static void release_file(gnutls_datum *filebuf)
     ^
   libcouriergnutls.c:1152:7: error: unknown type name ‘gnutls_retr_st’
           gnutls_retr_st *st,
           ^
   libcouriergnutls.c:1227:7: error: unknown type name ‘gnutls_retr_st’
           gnutls_retr_st *st)
           ^
   libcouriergnutls.c:1291:31: error: unknown type name ‘gnutls_retr_st’
            int sign_algos_length, gnutls_retr_st *st)
                                   ^
   libcouriergnutls.c:1431:30: error: unknown type name ‘gnutls_retr_st’
           int sign_algos_length, gnutls_retr_st *st)
                                  ^
   libcouriergnutls.c: In function ‘tls_connect’:
   libcouriergnutls.c:1708:6: warning: implicit declaration of function
   ‘gnutls_kx_set_priority’ [-Wimplicit-function-declaration]
          gnutls_kx_set_priority (ssl->session, ctx->kx_list) < 0 ||
          ^
   libcouriergnutls.c:1709:6: warning: implicit declaration of function
   ‘gnutls_cipher_set_priority’ [-Wimplicit-function-declaration]
          gnutls_cipher_set_priority(ssl->session, ctx->cipher_list) < 0 ||
          ^
   libcouriergnutls.c:1710:6: warning: implicit declaration of function
   ‘gnutls_compression_set_priority’ [-Wimplicit-function-declaration]
          gnutls_compression_set_priority(ssl->session, ctx->comp_list)
   < 0 ||
          ^
   libcouriergnutls.c:1711:6: warning: implicit declaration of function
   ‘gnutls_protocol_set_priority’ [-Wimplicit-function-declaration]
          gnutls_protocol_set_priority(ssl->session,
   ctx->protocol_list) < 0||
          ^
   libcouriergnutls.c:1727:6: warning: implicit declaration of function
   ‘gnutls_certificate_type_set_priority’ [-Wimplicit-function-declaration]
          gnutls_certificate_type_set_priority(ssl->session,
          ^
   libcouriergnutls.c:1755:3: warning: implicit declaration of function
   ‘gnutls_certificate_server_set_retrieve_function’
   [-Wimplicit-function-declaration]
   gnutls_certificate_server_set_retrieve_function(ssl->xcred,
       ^
   libcouriergnutls.c:1756:9: error: ‘get_server_cert’ undeclared
   (first use in this function)
             get_server_cert
             ^
   libcouriergnutls.c:1756:9: note: each undeclared identifier is
   reported only once for each function it appears in
   libcouriergnutls.c:1759:2: warning: implicit declaration of function
   ‘gnutls_certificate_client_set_retrieve_function’
   [-Wimplicit-function-declaration]
      else gnutls_certificate_client_set_retrieve_function(ssl->xcred,
      ^
   libcouriergnutls.c:1760:13: error: ‘get_client_cert’ undeclared
   (first use in this function)
                 get_client_cert);
                 ^
   libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
   -I/usr/include/p11-kit-1 -I./.. -I.. -Wall -O2 -pipe
   -fomit-frame-pointer -march=native -mtune=native -msse3 -c
   tlscache.c -o tlscache.o >/dev/null 2>&1
   libcouriergnutls.c: At top level:
   libcouriergnutls.c:1060:14: warning: ‘check_cert’ defined but not
   used [-Wunused-function]
     static char *check_cert(const char *filename,
                  ^
   Makefile:568: recipe for target 'libcouriergnutls.lo' failed
   make[3]: *** [libcouriergnutls.lo] Error 1
   make[3]: *** Waiting for unfinished jobs....
   make[3]: Leaving directory
   
'/mnt/storageTemp/portage/portage/mail-client/cone-0.90-r1/work/cone-0.90/tcpd'
   Makefile:428: recipe for target 'all' failed
   make[2]: *** [all] Error 2
   make[2]: Leaving directory
   
'/mnt/storageTemp/portage/portage/mail-client/cone-0.90-r1/work/cone-0.90/tcpd'
   Makefile:474: recipe for target 'all-recursive' failed
   make[1]: *** [all-recursive] Error 1
   make[1]: Leaving directory
   '/mnt/storageTemp/portage/portage/mail-client/cone-0.90-r1/work/cone-0.90'
   Makefile:380: recipe for target 'all' failed
   make: *** [all] Error 2


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to