[Exim] install compile errors with crypt16

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dermot Paikkos
Dátum:  
Címzett: exim-users
Tárgy: [Exim] install compile errors with crypt16
Hi Mangers

SYS: ALpha DS10, Tru64 5.1 (OSF1), exim 4.2

I am trying to compile exim 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.

I added the -std1 CFLAGS as per the README file. I have tried to un-commenting
#DEFAULT CRYPT16. I have also poured the contents of OS/Makefile-OSF1 into the
/Local/Makefile so I have HAVE_CRYPT16=yes at the end of the Makefile. Still not
getting past the crypt16 error. I also tried to remove the crypt16 compile lines from the
build-OSF1-alpha/Makefile but that seemed to make the compile fail elsewhere
(expand.c??) and the error still referred to the locally installed /usr/include/unistd.h.

Any idea what is going wrong here and how I can fix it? The Tru64 mangers mailing
list suggest not compiling crypt16 as it is built in but, as I said, I tried that and it hasn't
solved the problem.

Thanx in advance.
Dp.





cc -c -O -std1 -I.    child.c
cc -c -O -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@???
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668