RE: [Exim] Exim 4.30 on Tru64 Ver 5.0 compile problem

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Gwen Pettigrew
Data:  
Para: exim-users
Asunto: RE: [Exim] Exim 4.30 on Tru64 Ver 5.0 compile problem
Thanks Phil that worked a treat.

#############################################
This week I be mainly fixing computers by not switching them on.

Gwen Pettigrew
Senior Computer Officer
School of Earth Ocean and Planetary Sciences
Cardiff University

DEPT WEB www.earth.cf.ac.uk
Home page www.ocean.cf.ac.uk/people/gwen

-----Original Message-----
From: Philip Hazel [mailto:ph10@cus.cam.ac.uk]
Sent: 10 February 2004 10:07
To: Gwen Pettigrew
Cc: exim-users@???
Subject: Re: [Exim] Exim 4.30 on Tru64 Ver 5.0 compile problem


On Mon, 9 Feb 2004, Gwen Pettigrew wrote:

> cc: Error: daemon.c, line 144: In this declaration, "socklen_t" must specify a
> type. (badparsedecl)
> socklen_t ifsize = sizeof(interface_sockaddr);
> ^


> I had a look in the archive and have seen several other reports of this

compile
> failure ( on Solaris boxes)
> but could see no solution. Can any one tell me if this is fixable and if it is
> how can I fix it.


This should be fixed in the next release, for those OS that I know don't
have a definition of socklen_t. These were SunOS5 and Unixware-7. I'll
add OSF1 (the underlying name for Tru64, I think).

Meanwhile, to make it work, add

#define socklen_t size_t

to the OS/os.h-OSF1 file.

Philip

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book