problems compiling *anything*

Tom Weichmann
Tue Mar 28 00:08:00 GMT 2000

I am fairly new to cygwin, and I am not a C programmer so 
please excuse any ignorance.  I am running B20.1, with a 
updated snapshot on Win98se.  I have downloaded many pre-
compiled binaries which all run great.  I seen to have problems 
compiling source code that has been ported for cygwin.  I am 
working with GCC 2.95.2, Make 3.78.1.  Here is an example 
of my problems.  I am trying to compile bash 2.03 (I got it so 
long ago that I don't remember where I got it from) it configures 
just fine, but when I try to make:

$ make
rm -f bash
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob
-L./lib/tilde - L ./lib/malloc -L./lib/sh    -g -O2 -o bash shell.o 
eval.o general.o make_ cmd.o print_cmd.o  dispose_cmd.o 
variables.o copy_cmd.o error.o ex pr.o flags.o jobs.o subst.o 
hashlib.o mailcheck.o trap.o input.o unwin d_prot.o pathexp.o 
sig.o test.o
version.o alias.o array.o braces.o bracecomp.o b ashhist.o 
siglist.o list.o stringlib.o locale.o findcmd.o redir.o xma lloc.o
-lbuiltins -lreadline -lhistory -lncurses -lglob -ltilde -lmalloc - lsh -
undefined ref erence to `_ctype_'
undefined ref erence to `_ctype_' collect2: ld returned 1 exit 
make: *** [bash] Error 1

I have seen this same '_ctype_' error with other packages as 
I assume that I am missing something somewhere.

Thanks in advance,

Tom Weichmann

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list