delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/01/19:05:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [64.228.85.88]
X-Originating-Email: [jocelyn_giroux AT hotmail DOT com]
From: "Jocelyn Giroux" <jocelyn_giroux AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Missing symbols when I compile bash-2.05b-9
Date: Tue, 01 Apr 2003 19:05:07 -0500
Mime-Version: 1.0
Message-ID: <F105Uqp2T0apMHi0SYN00002a1c@hotmail.com>
X-OriginalArrivalTime: 02 Apr 2003 00:05:09.0082 (UTC) FILETIME=[85FCABA0:01C2F8AB]
Note-from-DJ: This may be spam

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/

- Raw text -


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