From mboxrd@z Thu Jan 1 00:00:00 1970 From: ultan@cix.compulink.co.uk (Ultan Henry) To: cgf@cygnus.com Cc: ultan@cix.compulink.co.uk, insight@sourceware.cygnus.com Subject: Re: Problems building Insight Date: Mon, 03 Apr 2000 03:54:00 -0000 Message-id: X-SW-Source: 2000-q2/msg00003.html In-Reply-To: < 20000402214432.A25061@cygnus.com > Thanks, I hadn't copied the files from the 'i686..' directory in the Cygwin snapshot into the 'i586..' directory. With the correct directory structure, things were much better! Unfortunately, I still can't compile Insight. The build now fails complaining about '_ctype_' as shown below. I've seen several messages on the Cygwin mailing list about this that say that ctype is exported from the Cygwin1.DLL in recent snapshots and that it is important to make sure all the files are compatible. I've tried again with a clean 'full' b20.1 Cygwin install, Cygwin 20000325 snapshot and Insight 20000318 snapshot but still get the same results. (The Cygwin snapshot is necessary to provide the PSAPI.H and IMAGEHLP.H files, but just adding these files to a clean b20.1 Cygwin install produces other errors). I'm not sure if this is a Cygwin or Insight problem, but any help would be appreciated! gcc -g -O2 -W -Wall -DCYGWIN_ALTTCL -o expect.exe exp_main_exp.o libexpect526.a ../tcl/cygwin/libtcl_cygwin.a -lm -luser32 libexpect526.a(exp_command.o): In function `human_write': /temp/cygnus/insight+dejagnu-20000318/expect/exp_command.c:1726: undefined reference to `_ctype_' /temp/cygnus/insight+dejagnu-20000318/expect/exp_command.c:1729: undefined reference to `_ctype_' libexpect526.a(exp_command.o): In function `exp_new_i_complex': /temp/cygnus/insight+dejagnu-20000318/expect/exp_command.c:1894: undefined reference to `_ctype_' libexpect526.a(exp_command.o): In function `exp_i_parse_fds': /temp/cygnus/insight+dejagnu-20000318/expect/exp_command.c:1949: undefined reference to `_ctype_' /temp/cygnus/insight+dejagnu-20000318/expect/exp_command.c:1949: undefined reference to `_ctype_' libexpect526.a(exp_command.o):/temp/cygnus/insight+dejagnu-20000318/expect /exp_command.c:1952: more undefined references to `_ctype_' follow collect2: ld returned 1 exit status make[1]: *** [expect.exe] Error 1 make: *** [all-expect] Error 2 BASH.EXE-2.02$