This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problems compiling *anything*


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
y.tab.o general.o make_ cmd.o print_cmd.o  dispose_cmd.o 
execute_cmd.o
variables.o copy_cmd.o error.o ex pr.o flags.o jobs.o subst.o 
hashcmd.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 
bashline.o
siglist.o list.o stringlib.o locale.o findcmd.o redir.o xma lloc.o
-lbuiltins -lreadline -lhistory -lncurses -lglob -ltilde -lmalloc - lsh -
l
user32 
/usr/local/lib/libncurses.a(lib_tputs.o)(.text+0x2a4):lib_tputs.c:
undefined ref erence to `_ctype_'
/usr/local/lib/libncurses.a(lib_tputs.o)(.text+0x32c):lib_tputs.c:
undefined ref erence to `_ctype_' collect2: ld returned 1 exit 
status
make: *** [bash] Error 1


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

Thanks in advance,


Tom Weichmann

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]