Re: [Exim] install compile errors with crypt16

Top Page
Delete this message
Reply to this message
Author: Dermot Paikkos
Date:  
To: Philip Hazel, exim-users
Subject: Re: [Exim] install compile errors with crypt16
Morning,

Yes that seems to have done the trick :-)

However I have hit a snag with iconv. My Makefile has
HAVE_ICONV=yes, that I got from OS/Makefile-OSF1. The error is
below. Can see what this refers to at all. :-(
Dp.


awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
cc -c -O -std1    version.c
rm -f exim
 cc -o exim  acl.o child.o crypt16.o daemon.o dbfn.o debug.o
deliver.o  directory.o dns.o drtables.o enq.o exim.o expand.o filter.o
filtertest.o globals.o  header.o host.o ip.o log.o lss.o match.o moan.o
os.o parse.o queue.o  rda.o readconf.o receive.o retry.o rewrite.o
rfc2047.o  route.o search.o sieve.o smtp_in.o smtp_out.o spool_in.o
spool_out.o  store.o string.o tls.o tod.o transport.o tree.o verify.o
local_scan.o  version.o  pcre/libpcre.a  routers/routers.a
transports/transports.a lookups/lookups.a  auths/auths.a
ld:
Unresolved:
iconv_open
iconv
iconv_close
*** Exit 1
Stop.
*** Exit 1
Stop.



On 5 Sep 2003 at 9:47, Philip Hazel wrote:


> 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

>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/ ##
>
>



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