[3114] in Kerberos-V5-bugs
pending/755: 1.0.6: tgetent not defined
daemon@ATHENA.MIT.EDU (Matthew Swift)
Thu Sep 23 19:31:29 1999
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: gnats-admin@rt-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, Matthew Swift <swift@alum.mit.edu>
Message-Id: <199909232330.TAA27440@aleph.swift.xxx>
Date: Thu, 23 Sep 1999 19:30:34 -0400
From: Matthew Swift <swift@alum.mit.edu>
To: krb5-bugs@MIT.EDU
>Number: 755
>Category: pending
>Synopsis: 1.0.6: tgetent not defined
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Sep 23 19:31:00 EDT 1999
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
I've tried to build 1.0.6 on a Debian GNU/Linux system, and telnet is
failing to compile because of an undefined reference to tgetent().
The string `tgetent' does not occur in any of the files in my
/usr/include, and the list of occurrences in the kerberos distribution
is below (you will see it does not define it):
./appl/telnet/telnet/telnet.c: * Given a buffer returned by tgetent(), this routine will turn
./appl/telnet/telnet/telnet.c: if (tgetent(termbuf, tname) == 1) {
./appl/telnet/telnetd/ChangeLog: security in tgetent.
./appl/telnet/telnetd/state.c: strcmp(varp, "TERMINFO") && /* with tgetent */
./appl/telnet/telnetd/telnetd-ktd.c: * tgetent() will return 1 if the type is known, and
./appl/telnet/telnetd/telnetd-ktd.c: if (tgetent(buf, s) == 0)
./appl/telnet/telnetd/telnetd.c: * tgetent() will return 1 if the type is known, and
./appl/telnet/telnetd/telnetd.c: if (tgetent(buf, s) == 0)
%%%%%%%%%%%%%%%%
cc -o telnet -L./../../../lib -L./../../../lib authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o utilities.o ../libtelnet/libtelnet.a -lkrb4 -ldes425 -lkrb5 -lcrypto ./../../../lib/libdb.a -lcom_err -lnsl
telnet.o: In function `setupterm':
telnet.o(.text+0xe13): undefined reference to `tgetent'
collect2: ld returned 1 exit status
make[3]: *** [telnet] Error 1