delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/11/20:11:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3AD4F29B.8A2D872A@yahoo.com>
Date: Wed, 11 Apr 2001 20:11:07 -0400
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: fairlite AT fairlite DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: Problems linking w/Readline!
References: <20010411195348 DOT A17854 AT iglou DOT com>

Fairlight wrote:
> 
> I have been tinkering with this for a week now.
> 
> I'm trying to compile something linked against readline.  I have the latest
> from the contrib section of the cygwin dist.  Readline 4.1-2.
> 
> I get the following at link time:
> 
> action.o(.text+0x584):action.c: undefined reference to `readline_echoing_p'
> parse.o(.text+0x43):parse.c: undefined reference to `readline_echoing_p'
> rl.o(.text+0x54):rl.c: undefined reference to `_rl_last_c_pos'
> collect2: ld returned 1 exit status
> make: *** [tt++] Error 1
> 
> Why?  Both are defined in readline's source...  So would someone mind
> telling me why it's not working?  It's driving me batty.  I'd be grateful
> for any assistance.
> 

If they exist in private.h then they are not public functions.  See the
/usr/doc/Cygwin/readline-4.1.README for instructions on linking against
the static version.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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