Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Apparently-From: Message-ID: <3AD4F29B.8A2D872A@yahoo.com> Date: Wed, 11 Apr 2001 20:11:07 -0400 From: Earnie Boyd Reply-To: Earnie Boyd 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> 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