Re: [Exim] install compile errors with crypt16

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Dermot Paikkos
CC: Dermot Paikkos, exim-users
Assunto: Re: [Exim] install compile errors with crypt16
On Thu, 4 Sep 2003, Dermot Paikkos wrote:

> Tru64 5.1 Exim 4.22
>
> I am still hitting trouble. This time the error is with expand.c but it is
> referring to a crypt16 declaration in my local file
> '/usr/include/unistd.h.'. The error is below. This is the line I think it is
> referring to from my local unistd.h is:
> extern char *crypt16 __((const char *, const char *));


You will have to modify expand.c to change line 24. Here is the current
text:

#ifdef SUPPORT_CRYPTEQ
#ifdef CRYPT_H
#include <crypt.h>
#endif
extern char* crypt16(char*, char*);
#endif

I think the fix is to change it to

#ifdef SUPPORT_CRYPTEQ
#ifdef CRYPT_H
#include <crypt.h>
#endif
#ifndef HAVE_CRYPT16
extern char* crypt16(char*, char*);
#endif
#endif

Let me know if it works....

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