This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
Re: Problems building Insight
- To: cgf at cygnus dot com
- Subject: Re: Problems building Insight
- From: ultan at cix dot compulink dot co dot uk (Ultan Henry)
- Date: Mon, 3 Apr 2000 11:54 +0100 (BST)
- Cc: ultan at cix dot compulink dot co dot uk, insight at sourceware dot cygnus dot com
- Reply-To: ultan at cix dot compulink dot co dot uk
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$