undefined reference to `tgetent'

Kevin Zhang kevin.zhang at mblox.com
Fri Jun 23 13:43:29 EDT 2006


I am compiling krb5-1.4.3  and have the following problem when I did a
"make". Could someone help? Thanks. My OS is redhat 9

Kevin SZ

make[3]: Leaving directory
`/home/kevin.zhang/krb5-1.4.3/src/appl/telnet/libtelnet'
making all in appl/telnet/telnet...
make[3]: Entering directory
`/home/kevin.zhang/krb5-1.4.3/src/appl/telnet/telnet'
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
-lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err -lkrb5support  -lresolv 
telnet.o(.text+0xb2f): In function `setupterm':
/home/kevin.zhang/krb5-1.4.3/src/appl/telnet/telnet/telnet.c:783:
undefined reference to `tgetent'
collect2: ld returned 1 exit status
make[3]: *** [telnet] Error 1
make[3]: Leaving directory
`/home/kevin.zhang/krb5-1.4.3/src/appl/telnet/telnet'
make[2]: *** [all-recurse] Error 1
make[2]: Leaving directory
`/home/kevin.zhang/krb5-1.4.3/src/appl/telnet'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/home/kevin.zhang/krb5-1.4.3/src/appl'
make: *** [all-recurse] Error 1




More information about the Kerberos mailing list