Exim 4.93.0.4 compile error

Same problem Centos 5
Tried custombuild 1.2 & 2.
Used custom Makefile with:
CFLAGS += -std=gnu99
USE_OPENSSL=yes

[root@www10 custombuild]# ./build exim
Downloading exim-4.93.0.4.tar.gz...
--2020-06-07 06:13:25-- https://files1.directadmin.com/services/custombuild/exim-4.93.0.4.tar.gz
Resolving files1.directadmin.com... 104.128.54.74
Connecting to files1.directadmin.com|104.128.54.74|:443... connected.
Unable to establish SSL connection.
Downloaded file /usr/local/directadmin/custombuild/exim-4.93.0.4.tar.gz does not exist or is empty after download
cwd is: /usr/local/directadmin/custombuild
Fileserver might be down, using the backup file server..
--2020-06-07 06:13:26-- http://69.162.69.58/services/custombuild/exim-4.93.0.4.tar.gz
Connecting to 69.162.69.58:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2480960 (2.4M) [application/x-gzip]
Saving to: `/usr/local/directadmin/custombuild/exim-4.93.0.4.tar.gz'

100%[===========================================================================================================================================================>] 2,480,960 1.30M/s in 1.8s

2020-06-07 06:13:28 (1.30 MB/s) - `/usr/local/directadmin/custombuild/exim-4.93.0.4.tar.gz' saved [2480960/2480960]

Found /usr/local/directadmin/custombuild/exim-4.93.0.4.tar.gz
Extracting ...
Done.
Custom /usr/local/directadmin/custombuild/custom/exim/Makefile being used
Trying to make exim...
/bin/sh scripts/source_checks

>>> Creating links to source files...
>>> Creating lookups/Makefile for building dynamic modules
>>> New Makefile & lookups/Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile

make[1]: Entering directory `/usr/local/directadmin/custombuild/exim-4.93.0.4/build-Linux-x86_64'
/bin/sh ../scripts/Configure-os.c
cc buildconfig.c
/bin/sh ../scripts/Configure-os.h
cc exim_lock.c
cc -o exim_lock
/bin/sh ../scripts/Configure-config.h "make"
>>> exim_lock utility built

make[2]: Entering directory `/usr/local/directadmin/custombuild/exim-4.93.0.4/build-Linux-x86_64'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.93.0.4/build-Linux-x86_64'
Building configuration file config.h
>>> config.h built

cc -DMACRO_PREDEF macro_predef.c
cc -DMACRO_PREDEF globals.c
In file included from local_scan.h:22,
from exim.h:479,
from macro_predef.c:11:
store.h:56: warning: 'alloc_size' attribute directive ignored
In file included from exim.h:479,
from macro_predef.c:11:
local_scan.h:198: warning: 'alloc_size' attribute directive ignored
local_scan.h:201: warning: 'alloc_size' attribute directive ignored
In file included from exim.h:482,
from macro_predef.c:11:
structs.h:768: error: 'NS_MAXMSG' undeclared here (not in a function)
cc -DMACRO_PREDEF readconf.c
cc -DMACRO_PREDEF route.c
In file included from local_scan.h:22,
from exim.h:479,
from globals.c:11:
store.h:56: warning: 'alloc_size' attribute directive ignored
make[1]: *** [macro_predef.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from exim.h:479,
from globals.c:11:
local_scan.h:198: warning: 'alloc_size' attribute directive ignored
local_scan.h:201: warning: 'alloc_size' attribute directive ignored
In file included from exim.h:482,
from globals.c:11:
structs.h:768: error: 'NS_MAXMSG' undeclared here (not in a function)
In file included from local_scan.h:22,
from exim.h:479,
from route.c:11:
store.h:56: warning: 'alloc_size' attribute directive ignored
In file included from exim.h:479,
from route.c:11:
local_scan.h:198: warning: 'alloc_size' attribute directive ignored
local_scan.h:201: warning: 'alloc_size' attribute directive ignored
In file included from exim.h:482,
from route.c:11:
structs.h:768: error: 'NS_MAXMSG' undeclared here (not in a function)
In file included from local_scan.h:22,
from exim.h:479,
from readconf.c:12:
store.h:56: warning: 'alloc_size' attribute directive ignored
In file included from exim.h:479,
from readconf.c:12:
local_scan.h:198: warning: 'alloc_size' attribute directive ignored
local_scan.h:201: warning: 'alloc_size' attribute directive ignored
In file included from exim.h:482,
from readconf.c:12:
structs.h:768: error: 'NS_MAXMSG' undeclared here (not in a function)
make[1]: *** [macro-globals.o] Error 1
make[1]: *** [macro-route.o] Error 1
make[1]: *** [macro-readconf.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.93.0.4/build-Linux-x86_64'
make: *** [all] Error 2
 
Back
Top