From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Faylor To: Iain Wiseman Cc: Insight Subject: Re: libtermcap linking Date: Thu, 13 Apr 2000 19:49:00 -0000 Message-id: <20000413224857.B16027@cygnus.com> References: X-SW-Source: 2000-q2/msg00075.html If you are using cygwin snapshots then you have to be aware of how to use them. The snapshots are not intended for casual compilers. Please check the cygwin mailing list archives for details on what you are doing wrong. This issue has been rehashed constantly there. cgf On Fri, Apr 14, 2000 at 12:17:42PM +1200, Iain Wiseman wrote: >I am trying to build gdb and receive the following errors. I am using B20.1 >with cygwin-inst-20000410.tar.gz installed over the top. ie. > >insight+dejagnu-weekly-20000412.tar > >cygwin-inst-20000410.tar.gz >cygwin1-20000410.dll.gz > >gcc -g -O2 -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` -lm >../libiberty/libiberty.a -luser32 -limagehlp >f:\CYGWIN~1\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_' >f:\CYGWIN~1\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\ >..\..\../libtermcap.a(te >rmcap.o): In function `tgetent': >/home/noer/src/b20/comp-tools/devo/libtermcap/termcap.c:251: undefined >reference to `_ctype_' >f:\CYGWIN~1\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\ >..\..\../libtermcap.a(ge >tcap.o): In function `cgetnext': >/home/noer/src/b20/comp-tools/devo/libtermcap/getcap.c:686: undefined >reference to `_ctype_' > >Many thanks in advance >------------------------------------------------------------ >Is your argument so weak that it cannot stand debate - Data > >"Most Toys -STNG" > > mailto:bibble@ibm.net >