delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/01/20/01:22:06

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <3A692F3D.41E61F8E@ece.gatech.edu>
Date: Sat, 20 Jan 2001 01:25:01 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-apps AT cygwin DOT com
Subject: Re: libreadline.dll.a missing functions.
References: <3A661B21 DOT AA1A4875 AT yahoo DOT com> <3A662B83 DOT C3906A81 AT ece DOT gatech DOT edu> <3A674EC8 DOT 489392B4 AT ece DOT gatech DOT edu> <3A679E0D DOT EA1C4C27 AT yahoo DOT com> <3A67B56E DOT C01AF097 AT ece DOT gatech DOT edu> <3A684102 DOT 261BA9DD AT yahoo DOT com>

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

- Raw text -


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