[Exim] Exim 4.30 on Tru64 Ver 5.0 compile problem

Pàgina inicial
Delete this message
Reply to this message
Autor: Gwen Pettigrew
Data:  
A: exim-users
Assumpte: [Exim] Exim 4.30 on Tru64 Ver 5.0 compile problem
Hi

I have just attempted to compile 4.30 on a Tru64 Ver 5.0 box that is intended to
replace my existing mail server. I am using the Compaq C compiler version
V6.021.

When I try to compile I get a an error.

cc -c -std1 -I.    acl.c
cc -c -std1 -I.    child.c
cc -c -std1 -I.    crypt16.c
cc -c -std1 -I.    daemon.c
cc: Error: daemon.c, line 144: In this declaration, "socklen_t" must specify a
type. (badparsedecl)
socklen_t ifsize = sizeof(interface_sockaddr);
^
cc: Error: daemon.c, line 1391: In this declaration, "socklen_t" must specify a
type. (badparsedecl)
  socklen_t len = sizeof(accepted);
--^
cc: Error: daemon.c, line 320: In this statement, "ifsize" is not declared.
(undeclared)
     &ifsize) < 0)
------^
cc: Error: daemon.c, line 1528: In this statement, "len" is not declared.
(undeclared)
              (struct sockaddr *)&accepted, &len);
---------------------------------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.


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 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