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

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

