compile error with exim and crypt16

From: Dermot Paikkos (dermot@sciencephoto.com)
Date: Wed Sep 03 2003 - 10:16:11 EDT


Hi Managers,

SYS: DS10, Tru64 5.1, exim 4.2

I am trying to compile exim (mta) on the above. I am a novice with c
and hence the compile errors leave me high and dry. Below are the
errors I get before make/cc fails. Can anyone tell me if this is
something I can mend? The final error refers to a file on my system
and not part of the distribution so I thought there might be a problem
with one of my include files.
Any help appreciated.
Thanx.
Dp.

cc -c -std1 -I. child.c
cc -c -std1 -I. crypt16.c
cc: Warning: crypt16.c, line 45: In this declaration, parameter 1 has a
different type than specified in an earlier declaration of this function.
(mismatparam)
char *crypt16(char *key, char *salt)
------^
cc: Error: crypt16.c, line 45: In this declaration, the type of "crypt16"
is not compatible with the type of a previous declaration of "crypt16"
at line number 692 in file /usr/include/unistd.h. (notcompat)
char *crypt16(char *key, char *salt)

~~
Dermot Paikkos * dermot@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:34 EDT