This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems linking w/Readline!

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.


Do You Yahoo!?
Get your free address at

Want to unsubscribe from this list?
Check out:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]