Re: [exim] exim build errors - exim-4.80.1

Pàgina inicial
Delete this message
Reply to this message
Autor: Prashanth Katuri
Data:  
A: Phil Pennock
CC: exim-users@exim.org
Assumpte: Re: [exim] exim build errors - exim-4.80.1
Phil,

Thank you for the reply.

I have deleted the requested directory and then run

make makefile

And then

make

but still I am having the same issue. Btw I have attached the files as requested.

gcc -o exim
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: Phil Pennock [mailto:pdp@exim.org]
Sent: Wednesday, June 05, 2013 8:46 PM
To: Prashanth Katuri
Cc: exim-users@???
Subject: Re: [exim] exim build errors - exim-4.80.1

On 2013-06-05 at 20:34 +0000, Prashanth Katuri wrote:
> Phil,
>
> As suggested, I am trying to upgrade the exim version (4.80.1) ans still getting the below error.
>
> 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.77/build-SunOS5-5.10-sparc'
> make: *** [all] Error 2


rm -rf build-SunOS5-5.10-sparc
vi Local/Makefile
## make sure that you again have LDAP_LIB_TYPE=SOLARIS make makefile make

If that fails, then please send me these three files:

build-SunOS5-5.10-sparc/Makefile
build-SunOS5-5.10-sparc/config.h
build-SunOS5-5.10-sparc/os.h

Alternatively, instead of sending me the files, create a gist on github or use pastebin or whatever, and post a link here.

Thanks,
-Phil

/*************************************************
*           Configuration header for Exim        *
*************************************************/

/* This file was automatically generated from Makefile and config.h.defaults,
using values specified in the configuration file Local/Makefile.
Do not edit it. Instead, edit Local/Makefile and rerun make. */

#ifndef OFF_T_FMT
#define OFF_T_FMT  "%ld"
#define LONGLONG_T long int
#endif

#ifndef TIME_T_FMT
#define TIME_T_FMT  "%ld"
#endif

#define SIZE_T_FMT  "%lu"
#define SSIZE_T_FMT  "%ld"
#define HAVE_IPV6             FALSE
#define HAVE_ICONV            TRUE

/* ALT_CONFIG_PREFIX not set */
/* TRUSTED_CONFIG_LIST not set */

#define APPENDFILE_MODE            0600
#define APPENDFILE_DIRECTORY_MODE  0700
#define APPENDFILE_LOCKFILE_MODE   0600
/* AUTH_CRAM_MD5 not set */
/* AUTH_CYRUS_SASL not set */
/* AUTH_DOVECOT not set */
/* AUTH_GSASL not set */
/* AUTH_HEIMDAL_GSSAPI not set */
/* AUTH_PLAINTEXT not set */
/* AUTH_SPA not set */
#define AUTH_VARS                     3
#define BIN_DIRECTORY         "/usr/local/exim/bin"
#define CONFIGURE_FILE        "/etc/exim/exim.conf"
/* CONFIGURE_FILE_USE_EUID not set */
/* CONFIGURE_FILE_USE_NODE not set */
/* CONFIGURE_GROUP not set */
/* CONFIGURE_OWNER not set */
/* CYRUS_PWCHECK_SOCKET not set */
/* CYRUS_SASLAUTHD_SOCKET not set */
#define DEFAULT_CRYPT              crypt
#define DELIVER_IN_BUFFER_SIZE     8192
#define DELIVER_OUT_BUFFER_SIZE    8192
/* DISABLE_DKIM not set */
/* DISABLE_D_OPTION not set */
/* ENABLE_DISABLE_FSYNC not set */
#define EXIMDB_DIRECTORY_MODE      0750
#define EXIMDB_LOCK_TIMEOUT          60
#define EXIMDB_LOCKFILE_MODE       0640
#define EXIMDB_MODE                0640
/* EXIM_CLIENT_DH_MIN_BITS not set */
/* EXIM_GNUTLS_LIBRARY_LOG_LEVEL not set */
/* EXIM_SERVER_DH_BITS_PRE2_12 not set */
#define EXIM_PERL             perl.o
#define EXIM_UID              15
#define EXIM_GID              6
/* EXPAND_DLFUNC not set */
/* EXPAND_LISTMATCH_RHS not set */
#define FIXED_NEVER_USERS     1, 0
/* HAVE_CRYPT16 not set */
/* HAVE_SA_LEN not set */
#define HEADERS_CHARSET       "ISO-8859-1"
#define HEADER_ADD_BUFFER_SIZE    (8192 * 4)
#define HEADER_MAXSIZE            (1024*1024)
#define INPUT_DIRECTORY_MODE       0750
/* IPV6_USE_INET_PTON not set */
#define LDAP_LIB_SOLARIS
/* LOCAL_SCAN_HAS_OPTIONS not set */
#define LOG_DIRECTORY_MODE         0750
/* LOG_FILE_PATH not set */
#define LOG_MODE                   0640
/* LOOKUP_CDB not set */
#define LOOKUP_DBM            yes
/* LOOKUP_DNSDB not set */
/* LOOKUP_DSEARCH not set */
/* LOOKUP_IBASE not set */
#define LOOKUP_LDAP           yes
#define LOOKUP_LSEARCH        yes
/* LOOKUP_MYSQL not set */
/* LOOKUP_NIS not set */
/* LOOKUP_NISPLUS not set */
/* LOOKUP_ORACLE not set */
/* LOOKUP_PASSWD not set */
/* LOOKUP_PGSQL not set */
/* LOOKUP_SQLITE not set */
/* LOOKUP_TESTDB not set */
/* LOOKUP_WHOSON not set */
/* LOOKUP_WILDLSEARCH not set */
/* LOOKUP_NWILDLSEARCH not set */
#define LOOKUP_MODULE_DIR     "/usr/lib/exim/lookups-exim-4.80.1/"
#define MAX_FILTER_SIZE           (1024*1024)
#define MAX_LOCALHOST_NUMBER        256
#define MAX_INCLUDE_SIZE          (1024*1024)
#define MAX_INTERFACES              250
#define MAX_NAMED_LIST               16
#define MSGLOG_DIRECTORY_MODE      0750
/* NVALGRIND not set */
/* PID_FILE_PATH not set */
/* RADIUS_CONFIG_FILE not set */
/* RADIUS_LIB_TYPE not set */
#define ROUTER_ACCEPT         yes
#define ROUTER_DNSLOOKUP      yes
#define ROUTER_IPLITERAL      yes
/* ROUTER_IPLOOKUP not set */
#define ROUTER_MANUALROUTE    yes
#define ROUTER_QUERYPROGRAM   yes
#define ROUTER_REDIRECT       yes
#define SPOOL_DIRECTORY       "/var/spool/exim"
#define SPOOL_DIRECTORY_MODE       0750
#define SPOOL_MODE                 0640
#define STRING_SPRINTF_BUFFER_SIZE (8192 * 4)
/* SUPPORT_A6 not set */
/* SUPPORT_CRYPTEQ not set */
/* SUPPORT_MAILDIR not set */
/* SUPPORT_MAILSTORE not set */
/* SUPPORT_MBX not set */
/* SUPPORT_MOVE_FROZEN_MESSAGES not set */
/* SUPPORT_PAM not set */
/* SUPPORT_TLS not set */
/* SUPPORT_TRANSLATE_IP_ADDRESS not set */
#define SYSLOG_LOG_PID        yes
/* SYSLOG_LONG_LINES not set */
#define TCP_WRAPPERS_DAEMON_NAME "exim"
#define TIMEZONE_DEFAULT      "GMT0"
#define TMPDIR                "/tmp"
#define TRANSPORT_APPENDFILE  yes
#define TRANSPORT_AUTOREPLY   yes
/* TRANSPORT_LMTP not set */
#define TRANSPORT_PIPE        yes
#define TRANSPORT_SMTP        yes
#define USE_DB                yes
/* USE_GDBM not set */
/* USE_GNUTLS not set */
/* USE_READLINE not set */
/* USE_TCP_WRAPPERS not set */
/* USE_TDB not set */
/* WHITELIST_D_MACROS not set */
/* WITH_CONTENT_SCAN not set */
/* WITH_OLD_DEMIME not set */
/* WITH_OLD_CLAMAV_STREAM not set */

/* EXPERIMENTAL_BRIGHTMAIL not set */
/* EXPERIMENTAL_DCC not set */
/* EXPERIMENTAL_OCSP not set */
/* EXPERIMENTAL_SPF not set */
/* EXPERIMENTAL_SRS not set */
/* WANT_DEEPER_PRINTF_CHECKS not set */

#define DNS_MAXNAME                1024
#define EXPAND_MAXN                  20
#define ROOT_UID                      0
#define ROOT_GID                      0
#ifndef int_eximarith_t
 #define int_eximarith_t int64_t
#endif
#ifndef PR_EXIM_ARITH

 #define PR_EXIM_ARITH "%" PRId64        /* C99 standard, printf %lld */
#endif
#ifndef SC_EXIM_ARITH
 #define SC_EXIM_ARITH "%" SCNi64        /* scanf incl. 0x prefix */
#endif
#ifndef SC_EXIM_DEC
 #define SC_EXIM_DEC   "%" SCNd64        /* scanf decimal */
#endif

/* End of config.h */

/* Exim: OS-specific C header file for SunOS5 aka Solaris */

#define CRYPT_H
#define HAVE_MMAP
#define HAVE_SYS_STATVFS_H
#define F_FAVAIL                f_favail
#define SIOCGIFCONF_GIVES_ADDR

#define HAVE_GETIPNODEBYNAME    1
#define HAVE_GETIPNODEBYADDR    1

#define HAVE_KSTAT
#define LOAD_AVG_KSTAT         "system_misc"
#define LOAD_AVG_KSTAT_MODULE  "unix"
#define LOAD_AVG_SYMBOL        "avenrun_1min"
#define LOAD_AVG_FIELD          value.ui32

#define os_strsignal            strsignal
#define OS_STRSIGNAL

/* This is needed for some early Solaris releases, but causes trouble
in the current ones, so it is out by default. */

/* #define EXIM_SOCKLEN_T       size_t */

/* This is different from Linux and all other PAM implementations,
it seems. */

#define PAM_CONVERSE_ARG2_TYPE  struct pam_message

/* End */