Date: Thu, 31 May 2001 18:37:04 -0400 From: "John W. De Boskey" <jwd@bsdwins.com> To: Nick Sayer <nsayer@quack.kfu.com> 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> In-Reply-To: <3B16B647.8070403@quack.kfu.com>; from nsayer@quack.kfu.com on Thu, May 31, 2001 at 02:23:19PM -0700 References: <20010531141334.Q23522@johncoop> <3B16B647.8070403@quack.kfu.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010531183704.A97204>
