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

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Gwen Pettigrew
CC: exim-users
Assumpte: 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