[EXIM] Problems building Exim 1.82 on DGUX

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ken Bailey
Dátum:  
Címzett: exim-users
Tárgy: [EXIM] Problems building Exim 1.82 on DGUX
Hi

I was pleased to see DGUX on the list of supported platforms for Exim,
but I have hit problems during the build. I am trying to build Exim
1.82 under DGUX R4.11MU04 on a m88k machine.

The distribution OS files for DGUX do not work, scripts/os-type
returns "dgux" and scripts/arch-type returns "mc88100" on this
platform, there is no sysexits.h or netinet/ip_var.h.

so far I have the following Makefile-dgux:

######################################################################

# Exim: OS-specific make file for DGUX
#

CHOWN_COMMAND=/bin/chown
CHGRP_COMMAND=/bin/chgrp
MV_COMMAND=/bin/mv
RM_COMMAND=/bin/rm


# PERL
# Perl is not necessary for running Exim itself, but some Perl utilities
# are provided for processing the logs. Perl 5 is assumed.
# DG ship perl version 4.036 in /bin/perl so need to use locally installed perl

PERL_COMMAND=/usr/local/bin/perl


CC=gcc

# DG's version of gcc likes O2

CFLAGS=-O2

#

RANLIB=@true
LIBS=-lsocket -lnsl
LIBRESOLV=-lresolv
DBMLIB=-ldbm

#

HAVE_SETEUID=YES

# I dont have X on this machine.

# End

######################################################################

and the following os.h-dgux

######################################################################

/* Exim: OS-specific C header file for DGUX */

#define HAVE_SYS_STATVFS_H

#define NO_SYSEXITS /* DGUX doesn't ship sysexits.h */
#define EX_TEMPFAIL 75 /* temp failure; user is invited to retry :pipe.c 716*/

/* Like Linux, DGUX has no netinet/ip_var.h */

#define LINUX_IP_OPTIONS /* to avoid including netinet/ip_var.h in exim.h */

/* define MAX_IPOPTLEN here for smtp_in.c?  */
#define MAX_IPOPTLEN    40 



/* End */

######################################################################

perhaps unsurprisingly the compile grinds to a halt when it reaches
smtp_in.c and the Linux exception coding :-(

gcc -c -O2 -I. smtp_in.c
smtp_in.c: In function `smtp_setup_msg':
smtp_in.c:714: sizeof applied to an incomplete type
smtp_in.c:746: dereferencing pointer to incomplete type
smtp_in.c:771: dereferencing pointer to incomplete type
make[1]: *** [smtp_in.o] Error 1
make[1]: Leaving directory `/usr/local/src/exim-1.82/build-dgux-mc88100'
make: *** [go] Error 2

I'm afraid my understanding of C is too poor to unravel how DG want to
handle the ip options. Can anybody help please?

TIA

Ken

-- 
# Ken Bailey, Computer Section,   # Internet: K.Bailey@??? #
# The Royal Botanic Gardens, Kew, #      Tel: +44 (0)181 332 5729    #
# Richmond, Surrey, TW9 3AE, UK   #      Fax: +44 (0)181 332 5278    #


--
*** Exim information can be found at http://www.exim.org/ ***