delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/16/22:20:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 17 Dec 2002 01:03:13 -0300 (E. South America Standard Time)
From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <0 AT pervalidus DOT net>
To: cygwin AT cygwin DOT com
Subject: LFTP: Cygwin and setupterm
Message-ID: <Pine.WNT.4.51.0212170058340.3348@pervalidus>
X-X-Sender: fredlwm AT fastmail DOT fm
MIME-Version: 1.0

Anybody know what's wrong ? I tried to compile LFTP 2.6.3 with
ncurses 5.2-8 and got the following:

/cygdrive/g/Linux/lftp/src/lftp_tinfo.cc: In function `void init_terminfo()':
/cygdrive/g/Linux/lftp/src/lftp_tinfo.cc:50: implicit declaration of function `int setupterm(...)'

There's the following in lftp_tinfo.cc:

#if defined(HAVE_TIGETSTR)
static bool terminfo_ok = true;
static void init_terminfo()
{
   static bool initted = false;
   if(initted) return;
   initted = true;

   int errret=0;
   if(setupterm(NULL, 1, &errret) == ERR)
      terminfo_ok = false;
}
#endif

The same error someone reported some time ago with 2.6.2:

http://www.mail-archive.com/lftp AT uniyar DOT ac DOT ru/msg00888.html

I also e-mailed the lftp-devel mailing-list.

-- 
0 AT pervalidus.{net, {dyndns.}org}


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019