Re: [exim] errors when building Makefile

Top Pagina
Delete this message
Reply to this message
Auteur: Prashanth Katuri
Datum:  
Aan: Todd Lyons
CC: exim-users@exim.org
Onderwerp: Re: [exim] errors when building Makefile
Todd,

We are using SunOne LDAP (5.2 P6) version.

Below is the output after removing lookups.a and ldap.o files.


make FULLECHO=''
`Makefile' is up to date.

make[1]: Entering directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc'
/bin/sh ../scripts/Configure-config.h "make"
make[2]: Entering directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc'
Building configuration file config.h
>>> config.h built


>>> version 4.80.1 #46


>>> exicyclog script built
>>> exinext script built
>>> exiwhat script built
>>> exigrep script built
>>> eximstats script built
>>> exipick script built
>>> exiqgrep script built
>>> exiqsumm script built
>>> transport-filter.pl script built
>>> convert4r3 script built
>>> convert4r4 script built
>>> exim_checkaccess script built


gcc exim_dbmbuild.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include -o exim_dbmbuild.o exim_dbmbuild.c
gcc -o exim_dbmbuild
gcc -o exim_dbmbuild  exim_dbmbuild.o \
          -lsocket -lnsl -lkstat -lm  -ldb -L/usr/local/BerkeleyDB/lib/ -R /usr/local/BerkeleyDB/lib/

>>> exim_dbmbuild utility built

 
gcc -DEXIM_DUMPDB exim_dbutil.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include \
                                      -DCOMPILE_UTILITY \
                                      -DEXIM_DUMPDB \
                                      -o exim_dumpdb.o exim_dbutil.c
gcc -DCOMPILE_UTILITY os.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include \
                                      -DCOMPILE_UTILITY \
                                      -DOS_LOAD_AVERAGE \
                                      -DFIND_RUNNING_INTERFACES \
                                      -o util-os.o os.c
gcc -DCOMPILE_UTILITY store.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include -DCOMPILE_UTILITY -o util-store.o store.c
gcc -o exim_dumpdb
gcc -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include -o exim_dumpdb  exim_dumpdb.o util-os.o util-store.o \
          -lsocket -lnsl -lkstat -lm  -ldb -L/usr/local/BerkeleyDB/lib/ -R /usr/local/BerkeleyDB/lib/

>>> exim_dumpdb utility built

 
gcc -DEXIM_FIXDB exim_dbutil.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include \
                                      -DCOMPILE_UTILITY \
                                      -DEXIM_FIXDB \
                                      -o exim_fixdb.o exim_dbutil.c
make[2]: Entering directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/auths'
gcc auth-spa.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   auth-spa.c
gcc b64decode.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   b64decode.c
gcc b64encode.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   b64encode.c
gcc call_pam.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   call_pam.c
gcc call_pwcheck.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   call_pwcheck.c
gcc call_radius.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   call_radius.c
gcc check_serv_cond.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   check_serv_cond.c
gcc cram_md5.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   cram_md5.c
gcc cyrus_sasl.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   cyrus_sasl.c
gcc dovecot.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   dovecot.c
gcc get_data.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   get_data.c
gcc get_no64_data.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   get_no64_data.c
gcc gsasl_exim.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   gsasl_exim.c
gcc heimdal_gssapi.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   heimdal_gssapi.c
gcc md5.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   md5.c
gcc plaintext.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   plaintext.c
gcc pwcheck.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   pwcheck.c
gcc sha1.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   sha1.c
gcc spa.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   spa.c
gcc xtextdecode.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   xtextdecode.c
gcc xtextencode.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   xtextencode.c
ar cq auths.a
ar cq auths.a auth-spa.o b64decode.o b64encode.o call_pam.o call_pwcheck.o call_radius.o check_serv_cond.o cram_md5.o cyrus_sasl.o dovecot.o get_data.o get_no64_data.o gsasl_exim.o heimdal_gssapi.o md5.o plaintext.o pwcheck.o sha1.o spa.o xtextdecode.o xtextencode.o
make[2]: Leaving directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/auths'
 
gcc -o exim_fixdb
gcc -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include -o exim_fixdb  exim_fixdb.o util-os.o util-store.o \
          auths/auths.a -lsocket -lnsl -lkstat -lm  -ldb -L/usr/local/BerkeleyDB/lib/ -R /usr/local/BerkeleyDB/lib/

>>> exim_fixdb utility built

 
gcc -DEXIM_TIDYDB exim_dbutil.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include \
                                      -DCOMPILE_UTILITY \
                                      -DEXIM_TIDYDB \
                                      -o exim_tidydb.o exim_dbutil.c
gcc -o exim_tidydb
gcc -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include -o exim_tidydb  exim_tidydb.o util-os.o util-store.o \
          -lsocket -lnsl -lkstat -lm  -ldb -L/usr/local/BerkeleyDB/lib/ -R /usr/local/BerkeleyDB/lib/

>>> exim_tidydb utility built

 
make[2]: Entering directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/lookups'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/lookups'
 
make[2]: Entering directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/routers'
gcc accept.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   accept.c
gcc dnslookup.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   dnslookup.c
gcc ipliteral.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   ipliteral.c
gcc iplookup.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   iplookup.c
gcc manualroute.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   manualroute.c
gcc queryprogram.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   queryprogram.c
gcc redirect.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   redirect.c
gcc rf_change_domain.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   rf_change_domain.c
gcc rf_expand_data.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   rf_expand_data.c
gcc rf_get_errors_address.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   rf_get_errors_address.c
gcc rf_get_munge_headers.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   rf_get_munge_headers.c
gcc rf_get_transport.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   rf_get_transport.c
gcc rf_get_ugid.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   rf_get_ugid.c
gcc rf_lookup_hostlist.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   rf_lookup_hostlist.c
gcc rf_queue_add.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   rf_queue_add.c
gcc rf_self_action.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   rf_self_action.c
gcc rf_set_ugid.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   rf_set_ugid.c
ar cq routers.a
make[2]: Leaving directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/routers'
 
make[2]: Entering directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/transports'
gcc appendfile.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   appendfile.c
gcc autoreply.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   autoreply.c
gcc lmtp.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   lmtp.c
gcc pipe.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   pipe.c
gcc smtp.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   smtp.c
gcc tf_maildir.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   tf_maildir.c
ar cq transports.a
make[2]: Leaving directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/transports'
 
make[2]: Entering directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/auths'
make[2]: `auths.a' is up to date.
make[2]: Leaving directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/auths'
 
make[2]: Entering directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/pdkim'
gcc base64.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   base64.c
gcc bignum.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   bignum.c
gcc pdkim.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   pdkim.c
gcc rsa.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   rsa.c
gcc sha1.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   sha1.c
gcc sha2.c
gcc -c -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include   sha2.c
ar cq pdkim.a
ar cq pdkim.a base64.o bignum.o pdkim.o rsa.o sha1.o sha2.o
make[2]: Leaving directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/pdkim'
 
make[2]: Entering directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/lookups'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pkaturi/exim-4.80.1/build-SunOS5-5.10-sparc/lookups'
 
gcc acl.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   acl.c
gcc child.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   child.c
gcc crypt16.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   crypt16.c
gcc daemon.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   daemon.c
gcc dbfn.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   dbfn.c
gcc debug.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   debug.c
gcc deliver.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   deliver.c
gcc directory.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   directory.c
gcc dns.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   dns.c
gcc drtables.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   drtables.c
gcc enq.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   enq.c
gcc exim.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   exim.c
gcc expand.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   expand.c
gcc filter.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   filter.c
gcc filtertest.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   filtertest.c
gcc globals.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   globals.c
gcc dkim.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   dkim.c
gcc header.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   header.c
gcc host.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   host.c
gcc ip.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   ip.c
gcc log.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   log.c
gcc lss.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   lss.c
gcc match.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   match.c
gcc moan.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   moan.c
gcc os.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   os.c
gcc parse.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   parse.c
gcc queue.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   queue.c
gcc rda.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   rda.c
gcc readconf.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   readconf.c
gcc receive.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   receive.c
gcc retry.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   retry.c
gcc rewrite.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   rewrite.c
gcc rfc2047.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   rfc2047.c
gcc route.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   route.c
gcc search.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   search.c
gcc sieve.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   sieve.c
gcc smtp_in.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   smtp_in.c
gcc smtp_out.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   smtp_out.c
gcc spool_in.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   spool_in.c
gcc spool_out.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   spool_out.c
gcc std-crypto.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   std-crypto.c
gcc store.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   store.c
gcc string.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   string.c
gcc tls.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   tls.c
gcc tod.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   tod.c
gcc transport.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   transport.c
gcc tree.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   tree.c
gcc verify.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   verify.c
gcc lookups/lf_quote.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   lookups/lf_quote.c
gcc lookups/lf_check_file.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   lookups/lf_check_file.c
gcc lookups/lf_sqlperform.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   lookups/lf_sqlperform.c
gcc local_scan.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include -o local_scan.o ../src/local_scan.c
gcc perl.c
gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO  -I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE  -O -I/usr/local/include -I/usr/local/BerkeleyDB/include -I/usr/local/include -c perl.c
gcc malware.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   malware.c
gcc mime.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   mime.c
gcc regex.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   regex.c
gcc spam.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   spam.c
gcc spool_mbox.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   spool_mbox.c
gcc demime.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   demime.c
gcc bmi_spam.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   bmi_spam.c
gcc spf.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   spf.c
gcc srs.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   srs.c
gcc dcc.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   dcc.c
gcc version.c
gcc -c -O -I/usr/local/include -I. -I/usr/local/BerkeleyDB/include -I/usr/local/include   version.c
gcc -o exim
gcc -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 dkim.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 std-crypto.o store.o string.o tls.o tod.o transport.o tree.o verify.o lookups/lf_quote.o lookups/lf_check_file.o lookups/lf_sqlperform.o local_scan.o perl.o malware.o mime.o regex.o spam.o spool_mbox.o demime.o bmi_spam.o spf.o srs.o dcc.o version.o \
          routers/routers.a transports/transports.a lookups/lookups.a \
          auths/auths.a pdkim/pdkim.a \
          -lresolv -lsocket -lnsl -lkstat -lm    \
          -L/usr/lib -R /usr/lib -liconv -lpam -ldb -L/usr/local/BerkeleyDB/lib/ -R /usr/local/BerkeleyDB/lib/ -L/usr/local/lib -lldap -llber  \
          -R /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE  /usr/perl5/5.8.4/lib/sun4-solaris-64int/auto/DynaLoader/DynaLoader.a -L/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -lperl -lsocket -lnsl -ldl -lm -lc  -L/usr/local/lib -R/usr/local/lib -lpcre 
ld: warning: global symbol '_END_' has non-global binding:
        (file /usr/local/lib/liblber.so value=LOCL);
ld: warning: global symbol '_START_' has non-global binding:
        (file /usr/local/lib/liblber.so value=LOCL);
Undefined                       first referenced
 symbol                             in file
ldap_start_tls_s                    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

Thanks,
Prashanth

-----Original Message-----
From: Todd Lyons [mailto:tlyons@ivenue.com] 
Sent: Tuesday, May 21, 2013 3:51 PM
To: Prashanth Katuri
Cc: exim-users@???
Subject: 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