[Exim] v. 4.30 make is failing duing TLS build

Top Page
Delete this message
Reply to this message
Author: Gene Brotherton
Date:  
To: exim-users
Subject: [Exim] v. 4.30 make is failing duing TLS build
Hello,

I'm using Debian GNU/Linux. Does anyone know how to get the 4.30 "make"
to function with TLS support? I have the latest version of GNUTLS,
however the make is failing at line 82 of the tls.c file. The output
follows from the beginning of the make command (it errors out
eventually, there was just too much text to copy to here):

doc:/home/gene/exim/exim-4.30# make
`Makefile' is up to date.

make[1]: Entering directory `/home/gene/exim/exim-4.30/build-Linux-i386'
make[2]: Entering directory
`/home/gene/exim/exim-4.30/build-Linux-i386/pcre'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/gene/exim/exim-4.30/build-Linux-i386/pcre'
gcc -o em_version.o -c \
  -O -I/usr/X11R6/include -I. ../exim_monitor/em_version.c
gcc -o eximon.bin em_version.o  -L/usr/X11R6/lib \
util-spool_in.o util-store.o util-string.o tod.o tree.o em_StripChart.o
em_TextPop.o em_globals.o em_init.o em_log.o em_main.o em_menu.o
em_queue.o em_strip.o em_text.o em_xs.o -lXaw -lXmu -lXt -lXext -lX11
pcre/libpcre.a \
  -lnsl -lcrypt    -lc


>>> exim monitor binary built


make[2]: Entering directory
`/home/gene/exim/exim-4.30/build-Linux-i386/lookups'
make[2]: `lookups.a' is up to date.
make[2]: Leaving directory
`/home/gene/exim/exim-4.30/build-Linux-i386/lookups'

make[2]: Entering directory
`/home/gene/exim/exim-4.30/build-Linux-i386/routers'
make[2]: `routers.a' is up to date.
make[2]: Leaving directory
`/home/gene/exim/exim-4.30/build-Linux-i386/routers'

make[2]: Entering directory
`/home/gene/exim/exim-4.30/build-Linux-i386/transports'
make[2]: `transports.a' is up to date.
make[2]: Leaving directory
`/home/gene/exim/exim-4.30/build-Linux-i386/transports'

make[2]: Entering directory
`/home/gene/exim/exim-4.30/build-Linux-i386/auths'
make[2]: `auths.a' is up to date.
make[2]: Leaving directory
`/home/gene/exim/exim-4.30/build-Linux-i386/auths'

gcc -c -O -I.    tls.c
In file included from tls.c:82:
tls-gnu.c:34: parse error before `rsa_params'
tls-gnu.c:34: warning: initialization makes integer from pointer without
a cast
tls-gnu.c:34: warning: data definition has no type or storage class
tls-gnu.c:35: parse error before `dh_params'
tls-gnu.c:35: warning: initialization makes integer from pointer without
a cast
tls-gnu.c:35: warning: data definition has no type or storage class
tls-gnu.c:37: parse error before `x509_cred'
tls-gnu.c:37: warning: initialization makes integer from pointer without
a cast
tls-gnu.c:37: warning: data definition has no type or storage class
tls-gnu.c:38: parse error before `tls_session'
tls-gnu.c:38: warning: initialization makes integer from pointer without
a cast
tls-gnu.c:38: warning: data definition has no type or storage class
tls-gnu.c:50: `GNUTLS_KX_RSA' undeclared here (not in a function)
tls-gnu.c:50: initializer element is not constant
tls-gnu.c:50: (near initialization for `kx_priority[0]')
tls-gnu.c:50: `GNUTLS_KX_DHE_DSS' undeclared here (not in a function)
tls-gnu.c:50: initializer element is not constant
tls-gnu.c:50: (near initialization for `kx_priority[1]')
tls-gnu.c:50: `GNUTLS_KX_DHE_RSA' undeclared here (not in a function)
tls-gnu.c:50: initializer element is not constant
tls-gnu.c:50: (near initialization for `kx_priority[2]')
tls-gnu.c:51: `GNUTLS_KX_RSA_EXPORT' undeclared here (not in a function)
tls-gnu.c:51: initializer element is not constant
tls-gnu.c:51: (near initialization for `kx_priority[3]')
tls-gnu.c:54: `GNUTLS_CIPHER_ARCFOUR_128' undeclared here (not in a
function)
tls-gnu.c:54: initializer element is not constant
tls-gnu.c:54: (near initialization for `cipher_priority[0]')
tls-gnu.c:54: `GNUTLS_CIPHER_RIJNDAEL_128_CBC' undeclared here (not in a
function)
tls-gnu.c:54: initializer element is not constant
tls-gnu.c:54: (near initialization for `cipher_priority[1]')
tls-gnu.c:55: `GNUTLS_CIPHER_ARCFOUR_40' undeclared here (not in a function)
tls-gnu.c:55: initializer element is not constant
tls-gnu.c:55: (near initialization for `cipher_priority[3]')
tls-gnu.c:59: `GNUTLS_CRT_X509' undeclared here (not in a function)