Skip Menu |
 

Download (untitled) / with headers
text/plain 3.6KiB
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 <bugs@RT-11.MIT.EDU>; 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 <krb5-bugs@mit.edu>; 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 <swift@alum.mit.edu>
To: krb5-bugs@MIT.EDU
Subject: 1.0.6: tgetent not defined

Show quoted text
>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 <swift@alum.mit.edu>
>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

Show quoted text
>How-To-Repeat:
>Fix:
>Audit-Trail:

From: Ken Raeburn <raeburn@MIT.EDU>
To: Matthew Swift <swift@alum.mit.edu>
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 <swift@alum.mit.edu>
To: Ken Raeburn <raeburn@MIT.EDU>
Cc: krb5-bugs@MIT.EDU
Subject: Re: pending/755: 1.0.6: tgetent not defined
Date: Mon, 27 Sep 1999 15:44:52 -0400

Show quoted text
>>"K" == Ken Raeburn <raeburn@MIT.EDU> writes:

Show quoted text
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:

Show quoted text
>Unformatted: