[Dovecot] Compile error

Greg T. Harber gth at cs.sfasu.edu
Tue Jun 22 17:53:19 EEST 2004


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




More information about the dovecot mailing list