Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) X-RT-Original-Encoding: iso-8859-1 Content-Length: 3756 From swift@alum.mit.edu Thu Sep 23 19:30:58 1999 Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id TAA19848 for ; Thu, 23 Sep 1999 19:30:53 -0400 Received: from nautilus.shore.net by MIT.EDU with SMTP id AA12779; Thu, 23 Sep 99 19:30:46 EDT Received: from swift.shore.net (aleph.swift.xxx) [206.243.167.24] by nautilus.shore.net with esmtp (Exim) for krb5-bugs@mit.edu id 11UIK1-000270-00; Thu, 23 Sep 1999 19:30:42 -0400 Received: from alum.mit.edu (localhost [127.0.0.1]) by aleph.swift.xxx (8.9.3/8.9.3/Debian/GNU) with ESMTP id TAA27440 for ; Thu, 23 Sep 1999 19:30:37 -0400 Message-Id: <199909232330.TAA27440@aleph.swift.xxx> Date: Thu, 23 Sep 1999 19:30:34 -0400 From: Matthew Swift To: krb5-bugs@MIT.EDU Subject: 1.0.6: tgetent not defined >Number: 755 >Category: krb5-build >Synopsis: 1.0.6: tgetent not defined >Confidential: yes >Severity: serious >Priority: medium >Responsible: raeburn >State: open >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Thu Sep 23 19:31:00 EDT 1999 >Last-Modified: Tue Feb 22 16:44:11 EST 2000 >Originator: Matthew Swift >Organization: >Release: >Environment: >Description: 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 >How-To-Repeat: >Fix: >Audit-Trail: From: Ken Raeburn To: Matthew Swift Cc: krb5-bugs@MIT.EDU Subject: Re: pending/755: 1.0.6: tgetent not defined Date: 27 Sep 1999 15:37:07 -0400 Try including the "termcap" or "curses" or "ncurses" libraries, depending on what you've got on your system. From: Matthew Swift To: Ken Raeburn Cc: krb5-bugs@MIT.EDU Subject: Re: pending/755: 1.0.6: tgetent not defined Date: Mon, 27 Sep 1999 15:44:52 -0400 >>"K" == Ken Raeburn writes: K> Try including the "termcap" or "curses" or "ncurses" libraries, K> depending on what you've got on your system. I found that the kerberos 5 v1.1 beta compiled successfully. If you'd like, I can again download 1.0.6 and try your suggestion, but probably we don't need to follow up this problem. Responsible-Changed-From-To: gnats-admin->raeburn Responsible-Changed-By: raeburn Responsible-Changed-When: Tue Feb 22 16:44:08 2000 Responsible-Changed-Why: >Unformatted: