From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Iain Wiseman" To: Subject: libtermcap linking Date: Thu, 13 Apr 2000 16:24:00 -0000 Message-id: X-SW-Source: 2000-q2/msg00066.html 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