This is the mail archive of the cygwin-apps@sources.redhat.com 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: libreadline.dll.a missing functions.


Earnie Boyd wrote:
> 
> "Charles S. Wilson" wrote:
> >
> > You had mentioned, Earnie, that there were other undefined functions.
> > Can you give me the whole list?  I suspect that they also fall into the
> > categories above, and that they represent a bug in bash.  Either bash
> > should not call library-internal functions, or readline should export
> > those functions.
> >
> 
> Attached.
> 
>   ------------------------------------------------------------------------
> ../../builtins/mkbuiltins.c: In function `array_add':
> ../../builtins/mkbuiltins.c:353: warning: passing arg 1 of `bcopy' from incompatible pointer type
> ./lib/tilde/libtilde.a(tilde.o)(.text+0xc):tilde.c: multiple definition of `tilde_expand'
> /usr/lib/libreadline.dll.a(d000308.o)(.text+0x0): first defined here
> jobs.o(.text+0x5221):jobs.c: undefined reference to `_rl_set_screen_size'
> jobs.o(.text+0x585d):jobs.c: undefined reference to `_rl_set_screen_size'
> bashline.o(.text+0x418d):bashline.c: undefined reference to `rl_last_func'
> bashline.o(.text+0x41e5):bashline.c: undefined reference to `rl_filename_completion_desired'
> bashline.o(.text+0x46f6):bashline.c: undefined reference to `rl_explicit_arg'
> pcomplete.o(.text+0x33af):pcomplete.c: undefined reference to `rl_filename_completion_desired'
> ./builtins/libbuiltins.a(set.o)(.text+0x116e):set.c: undefined reference to `rl_editing_mode'
> ./builtins/libbuiltins.a(set.o)(.text+0x11e2):set.c: undefined reference to `rl_editing_mode'
> ./builtins/libbuiltins.a(set.o)(.text+0x11fe):set.c: undefined reference to `rl_editing_mode'
> collect2: ld returned 1 exit status
> make: *** [bash] Error 1

Well, I was about to embark on an effort to mark these particular
functions as EXPORTS in the .def file and release a new readling, but AJ
Reins hinted in another message in this thread that the readline
packaged within bash might be different than the standalone version. 
So, it's probably best to just admit defeat (wrt bash) and require that
cygwin-bash be built using the internal readline library.  And not
modify the export table to accomodate bash.

Comments?

--Chuck

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