[exim] Compile advice: 4.42, SCO 5.0.7, gcc, SOCKLEN_T defin…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Frank S. Bernhardt
Päiväys:  
Vastaanottaja: Exim Users List
Aihe: [exim] Compile advice: 4.42, SCO 5.0.7, gcc, SOCKLEN_T definition
I've just compiled and got working EXIM 4.42 under a new SCO OpenServer
5.0.7 machine using the GNU utilities.

The only problem I had was with the preprocessor definition (correct
term?) of SOCKLEN_T (socklen_t) not being defined in daemon.ca, exim.c
and smtp_in.c. I looked at an older version of EXIM and saw that under
that release it was defined as 'int'. I edited the programs accordingly
and everything (seems) to be working. I then found a reference to
SOCKLEN_T in exim.h so I presume that I should have just edited that
file by replacing 'socklen_t' with 'int'.

Is that the correct thing to do (I'm not a C programmer)?

The only thing close to SOCKLEN_T I could find in /usr/include was
'define LBER_SOCKET_T int' in lber_types.h (whatever that is).

Also FYI the 'ar' program doesn't exist under SCO (not unless you
install the SCO Development System) but 'gar' does get installed as part
of the GNU Utilities so that needs to be specified in the 'Makefile'
instead of 'ar'.


--

Regards

Frank S. Bernhardt
b.c.s.i.
14 Halton Court
Markham, ON. Canada
L3P 6R3

905-471-1691 Voice
905-471-3016 FAX

frank@???

Registered Linux-User #312398 with the Linux Counter, http://counter.li.org.