Hi, >>>>> On Mon, 17 Oct 2011 16:54:36 +0100 >>>>> Anton Shterenlikht <mexas_at_bristol.ac.uk> said: mexas> On r225932 with mexas> SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 mexas> SENDMAIL_LDFLAGS+= -L/usr/local/lib mexas> SENDMAIL_LDADD+= -lsasl2 mexas> in /etc/make.conf and with cyrus-sasl-2.1.25_1 installed, mexas> I get these errors on make buildworld: mexas> 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 mexas> /usr/local/lib/libsasl2.a(otp.o): In function `opie_server_mech_dispose': mexas> otp.c:(.text+0x2e52): undefined reference to `opieverify' mexas> /usr/local/lib/libsasl2.a(otp.o): In function `opie_server_mech_step': mexas> otp.c:(.text+0x3052): undefined reference to `opieverify' mexas> otp.c:(.text+0x3542): undefined reference to `opiechallenge' mexas> /usr/local/lib/libsasl2.a(gssapi.o): In function `sasl_gss_free_context_contents': mexas> gssapi.c:(.text+0x172): undefined reference to `gss_delete_sec_context' mexas> gssapi.c:(.text+0x1b2): undefined reference to `gss_release_name' mexas> gssapi.c:(.text+0x1f2): undefined reference to `gss_release_name' mexas> gssapi.c:(.text+0x232): undefined reference to `gss_release_cred' mexas> gssapi.c:(.text+0x272): undefined reference to `gss_release_cred' mexas> /usr/local/lib/libsasl2.a(gssapi.o): In function `sasl_gss_seterror_': mexas> gssapi.c:(.text+0x7a2): undefined reference to `gss_display_status' mexas> gssapi.c:(.text+0x842): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x932): undefined reference to `gss_display_status' mexas> gssapi.c:(.text+0x9d2): undefined reference to `gss_release_buffer' mexas> /usr/local/lib/libsasl2.a(gssapi.o): In function `gssapi_client_mech_step': mexas> gssapi.c:(.text+0xfa2): undefined reference to `gss_delete_sec_context' mexas> gssapi.c:(.text+0x10a2): undefined reference to `gss_init_sec_context' mexas> gssapi.c:(.text+0x12a2): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x1322): undefined reference to `gss_inquire_context' mexas> gssapi.c:(.text+0x1372): undefined reference to `gss_display_name' mexas> gssapi.c:(.text+0x1452): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x14f2): undefined reference to `gss_unwrap' mexas> gssapi.c:(.text+0x15c2): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x1942): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x1b32): undefined reference to `gss_wrap' mexas> gssapi.c:(.text+0x1c72): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x1d52): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x2022): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x2152): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE' mexas> gssapi.c:(.text+0x2160): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE' mexas> gssapi.c:(.text+0x2172): undefined reference to `gss_import_name' mexas> gssapi.c:(.text+0x22b2): undefined reference to `gss_wrap_size_limit' mexas> gssapi.c:(.text+0x24d2): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x2582): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x2612): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x26d2): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x2a52): undefined reference to `gss_release_buffer' mexas> /usr/local/lib/libsasl2.a(gssapi.o): In function `gssapi_decode_packet': mexas> gssapi.c:(.text+0x2be2): undefined reference to `gss_unwrap' mexas> gssapi.c:(.text+0x2cd2): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x2d62): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x2e72): undefined reference to `gss_release_buffer' mexas> /usr/local/lib/libsasl2.a(gssapi.o): In function `sasl_gss_encode': mexas> gssapi.c:(.text+0x2ff2): undefined reference to `gss_wrap' mexas> gssapi.c:(.text+0x30c2): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x32f2): undefined reference to `gss_release_buffer' mexas> /usr/local/lib/libsasl2.a(gssapi.o): In function `gssapi_server_mech_step': mexas> gssapi.c:(.text+0x38c2): undefined reference to `gss_unwrap' mexas> gssapi.c:(.text+0x3b52): undefined reference to `gss_accept_sec_context' mexas> gssapi.c:(.text+0x3d12): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x3dc2): undefined reference to `gss_display_name' mexas> gssapi.c:(.text+0x3f02): undefined reference to `GSS_C_NT_USER_NAME' mexas> gssapi.c:(.text+0x3f10): undefined reference to `GSS_C_NT_USER_NAME' mexas> gssapi.c:(.text+0x3f22): undefined reference to `gss_import_name' mexas> gssapi.c:(.text+0x3f72): undefined reference to `gss_compare_name' mexas> gssapi.c:(.text+0x3fa2): undefined reference to `gss_release_name' mexas> gssapi.c:(.text+0x4022): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x42e2): undefined reference to `gss_wrap' mexas> gssapi.c:(.text+0x43e2): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x4582): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x46d2): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x48a2): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x4d42): undefined reference to `gss_wrap_size_limit' mexas> gssapi.c:(.text+0x4d92): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x4f82): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE' mexas> gssapi.c:(.text+0x4f90): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE' mexas> gssapi.c:(.text+0x4fa2): undefined reference to `gss_import_name' mexas> gssapi.c:(.text+0x5042): undefined reference to `gss_release_cred' mexas> gssapi.c:(.text+0x5092): undefined reference to `gss_acquire_cred' mexas> gssapi.c:(.text+0x5142): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x52e2): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x5322): undefined reference to `gss_release_name' mexas> gssapi.c:(.text+0x5422): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x54b2): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x5572): undefined reference to `gss_release_buffer' mexas> gssapi.c:(.text+0x5692): undefined reference to `gss_release_buffer' mexas> *** Error code 1 I suspect that you don't have /usr/local/lib/libsasl2.so.2 installed, due to the brokenness of devel/libtool on 10-CURRENT. Please refer the 20110928 entry of ports/UPDATING. Further, you may want to read the thread from http://lists.freebsd.org/pipermail/cvs-ports/2011-October/227399.html Sincerely, -- Hajimu UMEMOTO _at_ Internet Mutual Aid Society Yokohama, Japan ume_at_mahoroba.org ume_at_{,jp.}FreeBSD.org http://www.imasy.org/~ume/Received on Mon Oct 17 2011 - 14:30:25 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC