On dovecot-1.0-test21:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -I../../src/lib-auth -DPKG_RUNDIR=\""/usr/local/var/run/dovecot"\"
-DSBINDIR=\""/usr/local/sbin"\" -I/usr/local/include -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -c ssl-proxy-gnutls.c
ssl-proxy-gnutls.c:11:2: #error broken currently
ssl-proxy-gnutls.c:310: error: conflicting types for ssl_proxy_new' ssl-proxy.h:12: error: previous declaration of
ssl_proxy_new'
ssl-proxy-gnutls.c: In function ssl_proxy_new': ssl-proxy-gnutls.c:319: warning: passing arg 2 of
gnutls_transport_set_ptr' makes pointer from integer without a cast
ssl-proxy-gnutls.c: In function read_dh_parameters': ssl-proxy-gnutls.c:417: warning:
gnutls_dh_params_set' is deprecated (declared at /usr/local/include/gnutls/compat8.h:82)
ssl-proxy-gnutls.c: In function read_rsa_parameters': ssl-proxy-gnutls.c:443: warning:
gnutls_rsa_params_set' is deprecated (declared at /usr/local/include/gnutls/compat8.h:77)
make[3]: *** [ssl-proxy-gnutls.o] Error 1
On dovecot-0.99.10.6:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -DPKG_RUNDIR=\""/usr/local/var/run/dovecot"\"
-DSBINDIR=\""/usr/local/sbin"\" -I/usr/local/include -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -c ssl-proxy-gnutls.c
ssl-proxy-gnutls.c: In function ssl_handshake': ssl-proxy-gnutls.c:280: warning: implicit declaration of function
gnutls_handshake_get_direction'
ssl-proxy-gnutls.c: In function initialize_state': ssl-proxy-gnutls.c:302: warning: implicit declaration of function
gnutls_cert_type_set_priority'
ssl-proxy-gnutls.c: In function ssl_proxy_new': ssl-proxy-gnutls.c:318: warning: passing arg 2 of
gnutls_transport_set_ptr' makes pointer from integer without a cast
ssl-proxy-gnutls.c: In function read_dh_parameters': ssl-proxy-gnutls.c:416: warning:
gnutls_dh_params_set' is deprecated (declared at /usr/local/include/gnutls/compat8.h:82)
ssl-proxy-gnutls.c: In function read_rsa_parameters': ssl-proxy-gnutls.c:442: warning:
gnutls_rsa_params_set' is deprecated (declared at /usr/local/include/gnutls/compat8.h:77)
ssl-proxy-gnutls.c: In function ssl_proxy_init': ssl-proxy-gnutls.c:508: warning: implicit declaration of function
gnutls_certificate_allocate_cred'
ssl-proxy-gnutls.c:520: error: void value not ignored as it ought to be
ssl-proxy-gnutls.c:523: error: void value not ignored as it ought to be
ssl-proxy-gnutls.c: In function ssl_proxy_deinit': ssl-proxy-gnutls.c:545: warning: implicit declaration of function
gnutls_certificate_free_cred'
make[3]: *** [ssl-proxy-gnutls.o] Error 1
Environment:
Solaris 8 (2.8) gnutls 1.0.13 gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/specs Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld Thread model: posix gcc version 3.3
Process:
# ./configure # make
On 22.6.2004, at 17:53, Greg T. Harber wrote:
ssl-proxy-gnutls.c:11:2: #error broken currently .. # ./configure
Hmm. I think I should disable gnutls checking in configure completely until it's really fixed. I'm not sure if it works even though you got it to compile with compat4.h.. configure with --with-ssl=openssl
5 minutes too slow... Gnutls is currently broken in 1.0 test version 21. It should compile against openssl: ./configure --with-ssl=openssl Btw. Jaldhars gnutls patch (porting from 7 to 10) is already included in test version 21, but Timo added support for a proxy which isn´t ready yet (missing functions), that´s why it doesn´t compile.
Solaris 8 (2.8) gnutls 1.0.13 gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/specs Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld Thread model: posix gcc version 3.3
Process:
# ./configure # make
participants (3)
-
Greg T. Harber
-
jan@weitan.org
-
Timo Sirainen