r225932 libsasl undefined references - buildworld failure

From: Anton Shterenlikht <mexas_at_bristol.ac.uk>
Date: Mon, 17 Oct 2011 16:54:36 +0100
On  r225932 with 

SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+=  -L/usr/local/lib
SENDMAIL_LDADD+=    -lsasl2

in /etc/make.conf and with cyrus-sasl-2.1.25_1 installed,
I get these errors on make buildworld:

cc -O2 -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include -DSASL=2 -std=gnu99 -Wsystem-headers -Werror -Wno-pointer-sign  -L/usr/local/lib -o sendmail alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o savemail.o sasl.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o -lutil -lwrap /usr/obj/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a /usr/obj/usr/src/usr.sbin/sendmail/../../lib/libsm/libsm.a -lssl -lcrypto -lsasl2
/usr/local/lib/libsasl2.a(otp.o): In function `opie_server_mech_dispose':
otp.c:(.text+0x2e52): undefined reference to `opieverify'
/usr/local/lib/libsasl2.a(otp.o): In function `opie_server_mech_step':
otp.c:(.text+0x3052): undefined reference to `opieverify'
otp.c:(.text+0x3542): undefined reference to `opiechallenge'
/usr/local/lib/libsasl2.a(gssapi.o): In function `sasl_gss_free_context_contents':
gssapi.c:(.text+0x172): undefined reference to `gss_delete_sec_context'
gssapi.c:(.text+0x1b2): undefined reference to `gss_release_name'
gssapi.c:(.text+0x1f2): undefined reference to `gss_release_name'
gssapi.c:(.text+0x232): undefined reference to `gss_release_cred'
gssapi.c:(.text+0x272): undefined reference to `gss_release_cred'
/usr/local/lib/libsasl2.a(gssapi.o): In function `sasl_gss_seterror_':
gssapi.c:(.text+0x7a2): undefined reference to `gss_display_status'
gssapi.c:(.text+0x842): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x932): undefined reference to `gss_display_status'
gssapi.c:(.text+0x9d2): undefined reference to `gss_release_buffer'
/usr/local/lib/libsasl2.a(gssapi.o): In function `gssapi_client_mech_step':
gssapi.c:(.text+0xfa2): undefined reference to `gss_delete_sec_context'
gssapi.c:(.text+0x10a2): undefined reference to `gss_init_sec_context'
gssapi.c:(.text+0x12a2): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x1322): undefined reference to `gss_inquire_context'
gssapi.c:(.text+0x1372): undefined reference to `gss_display_name'
gssapi.c:(.text+0x1452): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x14f2): undefined reference to `gss_unwrap'
gssapi.c:(.text+0x15c2): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x1942): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x1b32): undefined reference to `gss_wrap'
gssapi.c:(.text+0x1c72): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x1d52): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x2022): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x2152): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
gssapi.c:(.text+0x2160): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
gssapi.c:(.text+0x2172): undefined reference to `gss_import_name'
gssapi.c:(.text+0x22b2): undefined reference to `gss_wrap_size_limit'
gssapi.c:(.text+0x24d2): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x2582): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x2612): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x26d2): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x2a52): undefined reference to `gss_release_buffer'
/usr/local/lib/libsasl2.a(gssapi.o): In function `gssapi_decode_packet':
gssapi.c:(.text+0x2be2): undefined reference to `gss_unwrap'
gssapi.c:(.text+0x2cd2): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x2d62): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x2e72): undefined reference to `gss_release_buffer'
/usr/local/lib/libsasl2.a(gssapi.o): In function `sasl_gss_encode':
gssapi.c:(.text+0x2ff2): undefined reference to `gss_wrap'
gssapi.c:(.text+0x30c2): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x32f2): undefined reference to `gss_release_buffer'
/usr/local/lib/libsasl2.a(gssapi.o): In function `gssapi_server_mech_step':
gssapi.c:(.text+0x38c2): undefined reference to `gss_unwrap'
gssapi.c:(.text+0x3b52): undefined reference to `gss_accept_sec_context'
gssapi.c:(.text+0x3d12): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x3dc2): undefined reference to `gss_display_name'
gssapi.c:(.text+0x3f02): undefined reference to `GSS_C_NT_USER_NAME'
gssapi.c:(.text+0x3f10): undefined reference to `GSS_C_NT_USER_NAME'
gssapi.c:(.text+0x3f22): undefined reference to `gss_import_name'
gssapi.c:(.text+0x3f72): undefined reference to `gss_compare_name'
gssapi.c:(.text+0x3fa2): undefined reference to `gss_release_name'
gssapi.c:(.text+0x4022): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x42e2): undefined reference to `gss_wrap'
gssapi.c:(.text+0x43e2): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x4582): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x46d2): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x48a2): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x4d42): undefined reference to `gss_wrap_size_limit'
gssapi.c:(.text+0x4d92): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x4f82): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
gssapi.c:(.text+0x4f90): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
gssapi.c:(.text+0x4fa2): undefined reference to `gss_import_name'
gssapi.c:(.text+0x5042): undefined reference to `gss_release_cred'
gssapi.c:(.text+0x5092): undefined reference to `gss_acquire_cred'
gssapi.c:(.text+0x5142): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x52e2): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x5322): undefined reference to `gss_release_name'
gssapi.c:(.text+0x5422): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x54b2): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x5572): undefined reference to `gss_release_buffer'
gssapi.c:(.text+0x5692): undefined reference to `gss_release_buffer'
*** Error code 1

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
Received on Mon Oct 17 2011 - 13:55:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC