Date: Tue, 30 Mar 1999 15:05:35 +0200 (CEST) From: Claude Buisson <ubc@paris.framatome.fr> To: questions@freebsd.org Cc: imp@freebsd.org Subject: problem (ttytype) with socks5 port on 3.1-R Message-ID: <Pine.BSF.3.96.990330145039.11813A-100000@adam.framatome.fr>
next in thread | raw e-mail | index | archive | help
Hi,
Trying to use the socks5 port on a 3.1-RELEASE system, I get:
telnet.o: In function `gettermname':
telnet.o(.text+0xd79): undefined reference to `ttytype'
This can be traced back to
#ifndef HAVE_SETUPTERM
^^^^^^^^^^^^^^
...
#else
#define termbuf ttytype
^^^^^^^
extern char ttytype[];
#endif
in telnet.c
HAVE-SETUPTERM is defined because the configure script find:
checking for setupterm in -ltermcap... no
checking for setupterm in -lcurses... no
checking for setupterm in -lncurses... yes
^^^^^^^^^ ^^^^^^^
but /usr/include/ncurses.h
#if 0 /* MYTINFO not have it */
extern char ttytype[]; /* needed for backward compatibility */
#endif
My current "correction" is to modify the Makefile so as not to built
the telnet client.
Same problem when trying to build the newer socks-v1.0r9.
Claude Buisson
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990330145039.11813A-100000>
