Re: [exim] errors when building Makefile

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Todd Lyons
Date:  
À: Prashanth Katuri
CC: exim-users@exim.org
Sujet: Re: [exim] errors when building Makefile
On Tue, May 21, 2013 at 10:04 AM, Prashanth Katuri <PKaturi@???> wrote:
>
> I have been trying to upgrade exim (4.80.1) on Solaris and getting below error when running make.
> Below is the output of make
> gcc -o exim
> Undefined                       first referenced
> symbol                             in file
> ldap_start_tls_s                    lookups/lookups.a(ldap.o)
> ber_pvt_opt_on                      lookups/lookups.a(ldap.o)
> ld: fatal: symbol referencing errors. No output written to exim
> collect2: ld returned 1 exit status
> make[1]: *** [exim] Error 1
> make[1]: Leaving directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc'
> make: *** [all] Error 2


So it's got a problem with the ldap linking and/or the tls support
linking. What version of ldap do you have, is it openldap? Are you
using openssl or something else? Version? I can't help much beyond
these questions as I'm a Linux dude, not a Solaris/BSD guy, but maybe
the responses to these questions will help others spot your issue.

Do the following commands:

rm build-SunOS5-5.10-sparc/lookups/lookups.a \
     build-SunOS5-5.10-sparc/lookups/ldap.o
make FULLECHO=''


That will let us see the full cc command that is being executed to
compile the lookups and the link the final exim binary.

...Todd

--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine