From owner-freebsd-stable Thu May 31 15:38:21 2001 Delivered-To: freebsd-stable@freebsd.org Received: from bsdone.bsdwins.com (www.bsdwins.com [192.58.184.33]) by hub.freebsd.org (Postfix) with ESMTP id 7751437B423; Thu, 31 May 2001 15:38:14 -0700 (PDT) (envelope-from jwd@bsdwins.com) Received: (from jwd@localhost) by bsdone.bsdwins.com (8.11.3/8.11.0) id f4VMb4697821; Thu, 31 May 2001 18:37:04 -0400 (EDT) (envelope-from jwd) Date: Thu, 31 May 2001 18:37:04 -0400 From: "John W. De Boskey" To: Nick Sayer Cc: jmcoopr@webmail.bmi.net, nsayer@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: "make world" still seems to be broken in kerberosIV--more details from latest build attempt Message-ID: <20010531183704.A97204@bsdwins.com> References: <20010531141334.Q23522@johncoop> <3B16B647.8070403@quack.kfu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B16B647.8070403@quack.kfu.com>; from nsayer@quack.kfu.com on Thu, May 31, 2001 at 02:23:19PM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thank you Nick... that does the trick. This fixes the make release problem I've been having. The patch I used is at http://people.freebsd.org/~jwd/kerb.patch which adds -lpam as you suggested. -John ----- Nick Sayer's Original Message ----- > John Merryweather wrote: > > [...] > > > > I don't see -lpam in there. So, I've checked the Makefiles you > > referenced. -lpam is present in LDADD in the telnetd Makefile and in > > the telnet Makefile. Weird! > > > > For completeness, the error messages that end the build are: > > > > cc -O -pipe -march=pentiumpro -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS > > -DOLD_ENVIRON -DENV_HACK -DAUTHENTICATION -DENCRYPTION > > -I/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet -DINET6 > > -I/usr/src/kerberosIV/libexec/telnetd/../../include -Wall > > -DHAVE_CONFIG_H -I/usr/obj/usr/src/kerberosIV/libexec/telnetd/../../include > > -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" > > -DLIBEXECDIR=\"/usr/libexec\" -I/usr/obj/usr/src/i386/usr/include -o > > telnetd global.o slc.o state.o sys_term.o telnetd.o termstat.o utility.o > > authenc.o -lutil -ltermcap -L/usr/obj/usr/src/kerberosIV/libexec/telnetd/../../lib/libtelnet > > -ltelnet -lcrypto -L/usr/obj/usr/src/kerberosIV/libexec/telnetd/../../lib/libkrb > > -lkrb -lcrypt -lcom_err -lmp > > /usr/obj/usr/src/kerberosIV/libexec/telnetd/../../lib/libtelnet/libtelnet.a(sra.o): > > In function `check_user': > > sra.o(.text+0xc5f): undefined reference to `pam_start' > > sra.o(.text+0xc78): undefined reference to `pam_strerror' > > sra.o(.text+0xc9a): undefined reference to `pam_authenticate' > > sra.o(.text+0xcde): undefined reference to `pam_get_item' > > sra.o(.text+0xd0c): undefined reference to `pam_strerror' > > sra.o(.text+0xd60): undefined reference to `pam_strerror' > > sra.o(.text+0xd7f): undefined reference to `pam_end' > > sra.o(.text+0xd98): undefined reference to `pam_strerror' > > *** Error code 1 > > > > Stop in /usr/src/kerberosIV/libexec/telnetd. > > *** Error code 1 > > > > Stop in /usr/src/kerberosIV/libexec. > > *** Error code 1 > > > > Stop in /usr/src/kerberosIV. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > > > Script done on Thu May 31 13:51:53 2001 > > > > jmc > > > > My appologies for the long message. > > Aha! They need to be added to > /usr/src/kerberosIV/libexec/telnetd/Makefile and > /usr/src/kerberosIV/usr.bin/telnet/Makefile if SRA is enabled. > > If you will please add an LDADD+= -lpam line in each of them and try it out I > would appreciate it. If that fixes it, I will commit the fix. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message