0
我从http://srp.stanford.edu/source/srp-2.1.2.tar.gz下载了srp-2.1.2源文件。编译Ubuntu 10.04中的srp-2.1.2时出错
类型:的./configure --->一切就OK了
类型:让
在这一点上我一直在链接过程中得到同样的错误。 请参见下面的最后几行:
gcc -O -o telnet authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o tn3270.o utilities.o Xauth.o XdmAuth.o fwdxutil.o parsedpy.o tlsutil.o ../libtelnet/libtelnet.a -lssl -L../../libsrp -lsrp -lcrypto -ldl -lutil -lresolv -lnsl telnet.o: In function `t_setupterm': telnet.c:(.text+0x2030): undefined reference to `tgetent' collect2: ld returned 1 exit status make[3]: *** [telnet] Error 1 make[3]: Leaving directory `/root/srp-2.1.2/telnet/telnet' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/srp-2.1.2/telnet' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/root/srp-2.1.2/telnet' make: *** [all-recursive] Error 1 [email protected]:~/srp-2.1.2#
它不能找到“tgetent的”任何引用。我不知道这意味着什么。谁能帮我 ?
谢谢