Return-Path: Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (Postfix) with ESMTP id 760DE3E711; Mon, 23 May 2011 11:07:32 -0400 (EDT) Received: from pch.mit.edu (pch.mit.edu [127.0.0.1]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id p4NF7WOB005389; Mon, 23 May 2011 11:07:32 -0400 Received: from mailhub-dmz-4.mit.edu (MAILHUB-DMZ-4.MIT.EDU [18.7.62.38]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id p4MF083h018497 for ; Sun, 22 May 2011 11:00:08 -0400 Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU [18.7.68.36]) by mailhub-dmz-4.mit.edu (8.13.8/8.9.2) with ESMTP id p4MExmxR007862 for ; Sun, 22 May 2011 11:00:07 -0400 X-Auditid: 12074424-b7bc6ae000005a77-4f-4dd924f6d93e Authentication-Results: symauth.service.identifier Received: from smtp-out.rrz.uni-koeln.de (smtp-out.rrz.uni-koeln.de [134.95.19.53]) by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP id 57.18.23159.6F429DD4; Sun, 22 May 2011 11:00:07 -0400 (EDT) X-Virus-Scanned: amavisd-new at uni-koeln.de Received: from smtp.uni-koeln.de (milter4.rrz.uni-koeln.de [134.95.19.193]) by smtp-out.rrz.uni-koeln.de (8.13.8/8.13.8) with ESMTP id p4MF05Xe008107; Sun, 22 May 2011 17:00:05 +0200 X-Msa-Sip: dialog.rrz.uni-koeln.de [134.95.19.74] Received: from dialog5.rrz.uni-koeln.de (dialog.rrz.uni-koeln.de [134.95.19.74]) by smtp.uni-koeln.de (8.13.8/8.13.8) with ESMTP id p4MF05Re006149; Sun, 22 May 2011 17:00:05 +0200 Date: Sun, 22 May 2011 17:00:05 +0200 (CEST) From: Rainer Laatsch X-X-Sender: a0049@dialog5.rrz.uni-koeln.de To: krb5-bugs@mit.edu Subject: krb5-1.9.1 static compile error +preliminary patch (fwd) Message-ID: User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-BY: MIMEDefang 2.71 on 134.95.19.53 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMKsWRWlGSWpSXmKPExsXSFi9sqvtd5aavQftkJouGh8fZHRg9ms4c ZQ5gjOKySUnNySxLLdK3S+DKOPXtC2PBUe2KM0c+MjYwTlftYuTgkBAwkTh9JaCLkZODUcBI Yve5V6wgtoSAmMSFe+vZQGwhgTuMEl8fp0HEdSQeXt7O3sXIBRTfxSixa/peFoiEocTvk8sY IRLbGSWedy5iAkmwAHXcfXIXbBKbgLbE1dvH2CEatCQO958H2yYiICrx8u8xsEHMAqoSa7Zc B6sRFnCUaL11CszmFfCU2PFmLZgtKqArsenqXyaIuKDEyZlPoHotJc79uc4GMV9XomttM+sE RuFZSMpmISlbwMi0ilE2JbdKNzcxM6c4NVm3ODkxLy+1SNdcLzezRC81pXQTIzCEhdhdVHYw Nh9SOsQowMGoxMP77uN1XyHWxLLiytxDjJIcTEqivCnACBDiS8pPqcxILM6ILyrNSS0+xCjB wawkwtugfcNXiDclsbIqtSgfJiXNwaIkzjtPUt1XSCA9sSQ1OzW1ILUIJsvEwX6IUYaDQ0mC NwFksmBRanpqRVpmTgmyGk4QwQWyhgdoTSxIIW9xQWJucWY6RNEpRkUpcd5wkIQASCKjNA9u ACjt1P////8So6yUMC8jAwODEA/QBUCPI+RBaesVozjQ08K88SBTeDLzSuCmvwJazAS0+GPe NZDFJYkIKakGxo6HXoLv5G5M/L8mJGviB0F+jp/9xzZOZ442yGgVeXkgKPdPxOuXyd+Px64w Tbx7gpXp+sG/V35kb/m1fEbIp2vdEX3b7pzONIvIa15gXSZyKGf+w5eTWdsErpf8zU1QXG1+ XOnkZfaq6302FyVzJNXO+t87rbz8cLWm4k4mmU0rbi/YFOokIKLEUpyRaKjFXFScCAAsslG5 NgMAAA== X-Mailman-Approved-At: Mon, 23 May 2011 11:07:31 -0400 CC: "R. Laatsch" X-Beenthere: krb5-bugs-incoming@mailman.mit.edu X-Mailman-Version: 2.1.6 Precedence: list Sender: krb5-bugs-incoming-bounces@PCH.mit.edu Errors-To: krb5-bugs-incoming-bounces@PCH.mit.edu X-RT-Original-Encoding: us-ascii Content-Length: 5442 ./configure --prefix=/opt/krb5 --enable-static --disable-shared --disable-rpath configure: creating cache ./config.cache checking for gcc... gcc ... config.status: executing PRNG_ALG commands make 2>&1 | tee -a err (cd include && make autoconf.h osconf.h) make[1]: Entering directory `/Data/krb5-1.9.1/src/include' ... gcc -L../lib -g -O2 -o krb5kdc kdc5_err.o dispatch.o do_as_req.o do_tgs_req.o fast_util.o kdc_util.o kdc_preauth.o main.o policy.o extern.o replay.o kdc_authdata.o -lapputils -lkadm5srv_mit -lkdb5 -lkrb5_db2 -lgssrpc -lgssapi_krb5 -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lkeyutils -lresolv -ldl ../lib/libkrb5_db2.a(hash.o): In function `hdestroy': /Data/krb5-1.9.1/src/plugins/kdb/db2/libdb2/hash/hash.c:549: warning: the use of `tmpnam' is dangerous, better use `mkstemp' ../lib/libkdb5.a(kdb_default.o): In function `krb5_def_store_mkey_list': /Data/krb5-1.9.1/src/lib/kdb/kdb_default.c:189: warning: the use of `mktemp' is dangerous, better use `mkstemp' ../lib/libkrb5_db2.a(lockout.o): In function `lookup_lockout_policy': /Data/krb5-1.9.1/src/plugins/kdb/db2/lockout.c:69: undefined reference to `xdr_osa_princ_ent_rec' /Data/krb5-1.9.1/src/plugins/kdb/db2/lockout.c:89: undefined reference to `xdr_osa_princ_ent_rec' collect2: ld returned 1 exit status make[1]: *** [krb5kdc] Error 1 make[1]: Leaving directory `/Data/krb5-1.9.1/src/kdc' make: *** [all-recurse] Error 1 for f in ../../krb5*/*/*patch ; do cat $f >> err ; done ------------------------------------------------------------------------- *** Makefile Sat Dec 25 05:38:39 2010 --- Makefile Sat Dec 25 05:14:09 2010 *************** *** 601,607 **** plugins/kdb/db2 \ plugins/preauth/pkinit \ plugins/preauth/encrypted_challenge \ ! kdc kadmin slave clients appl tests \ config-files gen-manpages WINSUBDIRS=include util lib ccapi windows clients appl BUILDTOP=$(REL). --- 601,607 ---- plugins/kdb/db2 \ plugins/preauth/pkinit \ plugins/preauth/encrypted_challenge \ ! kdc kadmin slave clients appl \ config-files gen-manpages WINSUBDIRS=include util lib ccapi windows clients appl BUILDTOP=$(REL). *** kdc/Makefile Sat Dec 25 05:38:47 2010 --- kdc/Makefile Sat Dec 25 05:34:50 2010 *************** *** 594,600 **** PROG_RPATH=$(KRB5_LIBDIR) DEFS=-DLIBDIR=\"$(KRB5_LIBDIR)\" ! all:: krb5kdc rtest # DEFINES = -DBACKWARD_COMPAT $(KRB4DEF) --- 594,600 ---- PROG_RPATH=$(KRB5_LIBDIR) DEFS=-DLIBDIR=\"$(KRB5_LIBDIR)\" ! all:: krb5kdc #rtest # DEFINES = -DBACKWARD_COMPAT $(KRB4DEF) *************** *** 641,647 **** kdc5_err.o: kdc5_err.h krb5kdc: $(OBJS) $(KADMSRV_DEPLIBS) $(KRB5_BASE_DEPLIBS) $(APPUTILS_DEPLIB) ! $(CC_LINK) -o krb5kdc $(OBJS) $(APPUTILS_LIB) $(KADMSRV_LIBS) $(KRB5_BASE_LIBS) rtest: $(RT_OBJS) $(KDB5_DEPLIBS) $(KADM_COMM_DEPLIBS) $(KRB5_BASE_DEPLIBS) $(CC_LINK) -o rtest $(RT_OBJS) $(KDB5_LIBS) $(KADM_COMM_LIBS) $(KRB5_BASE_LIBS) --- 641,647 ---- kdc5_err.o: kdc5_err.h krb5kdc: $(OBJS) $(KADMSRV_DEPLIBS) $(KRB5_BASE_DEPLIBS) $(APPUTILS_DEPLIB) ! $(CC_LINK) -o krb5kdc $(OBJS) $(APPUTILS_LIB) $(KADMSRV_LIBS) $(KRB5_BASE_LIBS) ../lib/kadm5/srv/libkadm5srv_mit.a ../lib/gssapi/libgssapi_krb5.a rtest: $(RT_OBJS) $(KDB5_DEPLIBS) $(KADM_COMM_DEPLIBS) $(KRB5_BASE_DEPLIBS) $(CC_LINK) -o rtest $(RT_OBJS) $(KDB5_LIBS) $(KADM_COMM_LIBS) $(KRB5_BASE_LIBS) *** slave/Makefile Sat Dec 25 05:38:47 2010 --- slave/Makefile Sat Dec 25 05:24:04 2010 *************** *** 609,618 **** $(CC_LINK) -o kprop $(CLIENTOBJS) $(KRB5_BASE_LIBS) -lutil kpropd: $(SERVEROBJS) $(KDB5_DEPLIB) $(KADMCLNT_DEPLIBS) $(KRB5_BASE_DEPLIBS) $(APPUTILS_DEPLIB) ! $(CC_LINK) -o kpropd $(SERVEROBJS) $(KDB5_LIB) $(KADMCLNT_LIBS) $(KRB5_BASE_LIBS) $(APPUTILS_LIB) -lutil kproplog: $(LOGOBJS) ! $(CC_LINK) -o kproplog $(LOGOBJS) $(KADMSRV_LIBS) $(KRB5_BASE_LIBS) install:: for f in kprop kpropd kproplog; do \ --- 609,618 ---- $(CC_LINK) -o kprop $(CLIENTOBJS) $(KRB5_BASE_LIBS) -lutil kpropd: $(SERVEROBJS) $(KDB5_DEPLIB) $(KADMCLNT_DEPLIBS) $(KRB5_BASE_DEPLIBS) $(APPUTILS_DEPLIB) ! $(CC_LINK) -o kpropd $(SERVEROBJS) $(KDB5_LIB) $(KADMCLNT_LIBS) $(KRB5_BASE_LIBS) $(APPUTILS_LIB) ../lib/kadm5/srv/libkadm5srv_mit.a ../lib/gssapi/libgssapi_krb5.a -lutil kproplog: $(LOGOBJS) ! $(CC_LINK) -o kproplog $(LOGOBJS) $(KADMSRV_LIBS) $(KRB5_BASE_LIBS) ../lib/kadm5/srv/libkadm5srv_mit.a ../lib/gssapi/libgssapi_krb5.a -lkrb5 -lk5crypto -lutil install:: for f in kprop kpropd kproplog; do \ ------------------------------------------------------------------------- patching file Makefile patching file kdc/Makefile patching file slave/Makefile make 2>&1 | tee -a err (cd include && make autoconf.h osconf.h) make[1]: Entering directory `/Data/krb5-1.9.1/src/include' ... making all in gen-manpages... make[1]: Entering directory `/Data/krb5-1.9.1/src/gen-manpages' make[1]: Leaving directory `/Data/krb5-1.9.1/src/gen-manpages' make install DESTDIR=`pwd`/DESTDIR 2>&1 |tee -a err mkdir /Data/krb5-1.9.1/src/DESTDIR ... /usr/bin/install -c krb5-config \ /Data/krb5-1.9.1/src/DESTDIR/opt/krb5/bin/krb5-config /usr/bin/install -c -m 644 ./krb5-config.M /Data/krb5-1.9.1/src/DESTDIR/opt/krb5/man/man1/krb5-config.1 rm -rf /Data/krb5-1.9.1/src/DESTDIR/opt/krb5/var/krb5kdc ## my krb5kdc lives here: ln -s /var/security/krb5kdc /Data/krb5-1.9.1/src/DESTDIR/opt/krb5/var/krb5kdc