[Exim] [SUMMARY] compile error with exim and crypt16

Pàgina inicial
Delete this message
Reply to this message
Autor: Dermot Paikkos
Data:  
A: exim-users, tru64-unix-managers
Assumpte: [Exim] [SUMMARY] compile error with exim and crypt16
Hi,

This summary applies in the first place to Tru64 5.1 and Exim 4.20.
The original problem with compiling crypt16 on TRU64 5.1 was
remedied in versions 4.21 and later. Thanx to James Sainsbury and
J.A. Gutierrez for their advice there, it didn't do the trick but was non-
the-less appreciated.

With exim 4.22 (the current release), I hit a further snag, this time
with expand.c. Phil Hazel, the writer of exim, gave me a fix for that
which involved editing the src/expand.c. Change the line that reads

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

to

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

One more problem remained. This was with iconv option. The TRU64
Makefile needs to have
"EXTRALIBS=-liconv"
set otherwise it won't compile.

A big thanx to Phil for his time and patience and of course EXIM.
Dp.


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