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: List-Archive: List-Post: List-Help: , 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 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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