Missing symbols when I compile bash-2.05b-9

Jocelyn Giroux jocelyn_giroux@hotmail.com
Wed Apr 2 00:05:00 GMT 2003


Hi,

I am trying to compile bash and I always get errors at link time. There are 
undefined reference to `_wcscoll' and `_wcwidth' symbol.

I followed the instructions, I did the ./configure, then I called make, but 
there is always missing symbols. Where can I find them ? What am I doing 
wrong ? Is there something else to do prior building this program ?

Regards,

Jo

Here is the output of my make command:

	  ***********************************************************
	  *                                                         *
	  * GNU bash, version 2.05b.0(1)-release (i686-pc-cygwin)
	  *                                                         *
	  ***********************************************************

rm -f bash.exe
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob 
-L./lib/tilde  -L./lib/sh    -g -O2 -o bash.exe shell.o eval.o y.tab.o 
general.o make_cmd.o print_cmd.o  dispose_cmd.o execute_cmd.o variables.o 
copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o 
mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o 
alias.o array.o arrayfunc.o braces.o bracecomp.o bashhist.o bashline.o  
list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o 
syntax.o xmalloc.o -lbuiltins -lsh -lreadline -lhistory -ltermcap -lglob 
-ltilde   -lintl
./lib/readline/libreadline.a(display.o)(.text+0x14a3): In function 
`rl_redisplay':
/usr/src/bash-2.05b-9/lib/readline/display.c:602: undefined reference to 
`_wcwidth'
./lib/readline/libreadline.a(display.o)(.text+0x222b): In function 
`update_line':
/usr/src/bash-2.05b-9/lib/readline/display.c:1080: undefined reference to 
`_wcwidth'
./lib/readline/libreadline.a(display.o)(.text+0x3380): In function 
`_rl_col_width':
/usr/src/bash-2.05b-9/lib/readline/display.c:2186: undefined reference to 
`_wcwidth'
./lib/readline/libreadline.a(mbutil.o)(.text+0xdb): In function 
`_rl_find_next_mbchar_internal':
/usr/src/bash-2.05b-9/lib/readline/mbutil.c:135: undefined reference to 
`_wcwidth'
./lib/readline/libreadline.a(mbutil.o)(.text+0x148):/usr/src/bash-2.05b-9/lib/readline/mbutil.c:117: 
undefined reference to `_wcwidth'
./lib/readline/libreadline.a(mbutil.o)(.text+0x228):/usr/src/bash-2.05b-9/lib/readline/mbutil.c:179: 
more undefined references to `_wcwidth' follow
./lib/glob/libglob.a(smatch.o)(.text+0x2d43): In function `wscompare':
/usr/src/bash-2.05b-9/lib/glob/sm_loop.c:592: undefined reference to 
`_wcscoll'
./lib/glob/libglob.a(smatch.o)(.text+0x175a): In function `rangecmp_wc':
/usr/src/bash-2.05b-9/lib/glob/smatch.c:256: undefined reference to 
`_wcscoll'
collect2: ld returned 1 exit status
make: *** [bash.exe] Error 1


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list