[23348] in Kerberos
krb5-1.4 make error: undefined reference to `tgetent'
daemon@ATHENA.MIT.EDU (Tom Simons)
Tue Feb 8 21:45:06 2005
Message-ID: <2e4a50a0502081844e85085b@mail.gmail.com>
Date: Tue, 8 Feb 2005 18:44:17 -0800
From: Tom Simons <tom.simons@gmail.com>
To: kerberos@mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Reply-To: Tom Simons <tom.simons@gmail.com>
Errors-To: kerberos-bounces@mit.edu
I'm getting error "undefined reference to `tgetent'" when compiling
krb5-1.4. A google search said to add -libncurses to LIBS in the
Makefile, but there are LOTS of Makefiles in krb5-1.4/src. Is there a
simpler way to get libncurses added to LIB in all Makefiles?
$ ./configure --without-krb4
$ make
. . . .
gcc -L../../../lib -Wl,-rpath -Wl,/usr/local/lib -g -O2 -Wall
-Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow
-pedantic -o telnet authenc.o commands.o main.o network.o ring.o
sys_bsd.o telnet.o terminal.o utilities.o ../libtelnet/libtelnet.a
-ldes425 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lresolv
telnet.o: In function `setupterm':
/home/simonst/krb5-1.4/src/appl/telnet/telnet/telnet.c:783: undefined
reference to `tgetent'
$ grep ^LIBS Makefile
LIBS = -lresolv
$ ll /lib/libncurse*
lrwxrwxrwx 1 root root 17 Jul 25 2002 /lib/libncurses.so.5 ->
libncurses.so.5.2
-rw-r--r-- 1 root root 248132 Mar 29 2002 /lib/libncurses.so.5.2
$ uname -a
Linux addicks 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i686 unknown
$ gcc --version
2.95.4
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos