This is the mail archive of the insight@sourceware.cygnus.com mailing list for the Insight project.


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

Re: Problems when building Insight


You are building using a cygwin snapshot but you probably haven't installed
everything in a consistent location.

This error shows up very very very very very very very very frequently
when people download a cygwin snapshot but do not have all of the
libraries in a consistent place on their system.

I would suggest either 1) downloading the newest cygwin net release and
building everything with that, 2) perusing the cygwin mailing list archives
(reachable via http://sourceware.cygnus.com/cygwin/), or 3) sending a message
to the cygwin mailing list: cygwin@sourceware.cygnus.com.

On Tue, Apr 25, 2000 at 01:39:08AM -0500, Alberto Stapelfeld wrote:
>I sent this message to ecos-discuss mailing list, but I've got no response,
>I would appreciate your help.
>
> ----- Original Message -----
> From: "Alberto Stapelfeld" <astapelfeld@ieee.org>
> To: "eCos discuss" <ecos-discuss@sourceware.cygnus.com>
> Sent: Thursday, April 20, 2000 5:14 PM
> Subject: Problems when building Insight
>
>
> > I'm using the following files :
> >
> > binutils-000416.tar
> > gcc-core-2.95.2.tar
> > gcc-g++-2.95.2.tar
> > insight+dejagnu-weekly-20000412.tar
> > full.exe  (Cygwin)
> > cygwin-20000301.tar.gz
> > ecos-net-gcc-2.95.2-patchset
> >
> > Then I followed the instruction of the doc : "Building the Intel x86
> > development tools for Windows", During the step 6 (Build and install
> > Insight), I get these messages :
> >
> > ....
> > gcc -g -O2       -Wl,--subsystem,console -o gdb.exe main.o libgdb.a
> > ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a
> > ./../intl/libintl.a ../libiberty/libiberty.a `if test -r
> > ../libtermcap/libtermcap.a; then echo ../libtermcap/libtermcap.a; else
> > echo -ltermcap; fi`
> >
> >
> >
> >
>
>../libgui/src/libgui.a -L/tmp/build/gdb/itcl/itcl/win -litcl30 -L/tmp/build/
> >
>
>gdb/itcl/itk/win -litk30 -L/tmp/build/gdb/tix/win/tcl8.0 -ltix4180 -L/tmp/bu
> > ild/gdb/tk/win -ltk80 -L/tmp/build/gdb/tcl/win -ltcl80      -lm -lm
> > ../libiberty/libiberty.a -luser32 -lshell32 -lgdi32 -lcomdlg32 -ladvapi32
> >
>
>g:\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\..\../
> > libtermcap.a(tputs.o): In function `tputs':
> > /home/noer/src/b20/comp-tools/devo/libtermcap/tputs.c:72: undefined
> > reference to `_ctype_'
> > /home/noer/src/b20/comp-tools/devo/libtermcap/tputs.c:75: undefined
> > reference to `_ctype_'
> > /home/noer/src/b20/comp-tools/devo/libtermcap/tputs.c:80: undefined
> > reference to `_ctype_'
> >
>g:\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\..\../
>> libtermcap.a(termcap.o): In function `tgetent':
> > /home/noer/src/b20/comp-tools/devo/libtermcap/termcap.c:251: undefined
> > reference to `_ctype_'
> >
>
>g:\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\..\../
> > libtermcap.a(getcap.o): In function `cgetnext':
> > /home/noer/src/b20/comp-tools/devo/libtermcap/getcap.c:686: undefined
> > reference to `_ctype_'
> > collect2: ld returned 1 exit status
> > make[1]: *** [gdb.exe] Error 1
> > make[1]: Leaving directory `/tmp/build/gdb/gdb'
> > make: *** [all-gdb] Error 2
> > make: Leaving directory `/tmp/build/gdb'
> >
> > What's wrong?
> >
> >
> > Alberto Stapelfeld.

-- 
cgf@cygnus.com                        Cygnus Solutions, a Red Hat company
http://sourcware.cygnus.com/          http://www.redhat.com/

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