This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


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

building GDB on Cygwin fails


Hi there,

I am running a Win98 host system and installed Cygwin
successfully. The building of a GCC cross compiler was
also successfully for a DOS based target system using
DJGPP.

Now I want to install GDB on my host(on Cygwin) and
build it for my DJGPP target. By using the latest GDB
(gdb-20000305.tar.bz2) the configure script works
fine. But when I want to build it, I get the following
error message while 'make' is inside the gdb-folder :

bash-2.02$ make
rm -f gdb.exe
gcc -g        -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 
libgdb.a(stack.o): In function `frame_info':
/djgpp/cross/gdb2000/gdb/../../gdb-20000305/gdb/stack.c:952:
undefined reference to `sigtramp_saved_pc'
libgdb.a(blockframe.o): In function
`file_frame_chain_valid':
/djgpp/cross/gdb2000/gdb/../../gdb-20000305/gdb/blockframe.c:48:
undefined reference to `sigtramp_saved_pc'
libgdb.a(blockframe.o): In function `get_prev_frame':
/djgpp/cross/gdb2000/gdb/../../gdb-20000305/gdb/blockframe.c:479:
undefined reference to `sigtramp_saved_pc'
libgdb.a(blockframe.o): In function
`generic_file_frame_chain_valid':
/djgpp/cross/gdb2000/gdb/../../gdb-20000305/gdb/blockframe.c:1276:
undefined reference to `sigtramp_saved_pc'
/djgpp/cross/gdb2000/gdb/../../gdb-20000305/gdb/blockframe.c:1279:
undefined reference to `sigtramp_saved_pc'
/cygdrive/c/CYGNUS/CYGWIN~1/H-I586~1/BIN/../lib/gcc-lib/i586-cygwin32/2.95.2/../../../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_'
/cygdrive/c/CYGNUS/CYGWIN~1/H-I586~1/BIN/../lib/gcc-lib/i586-cygwin32/2.95.2/../../../libtermcap.a(termcap.o):
In function `tgetent':
/home/noer/src/b20/comp-tools/devo/libtermcap/termcap.c:251:
undefined reference to `_ctype_'
/cygdrive/c/CYGNUS/CYGWIN~1/H-I586~1/BIN/../lib/gcc-lib/i586-cygwin32/2.95.2/../../../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: *** [gdb.exe] Error 1
bash-2.02$ 


I really don't know where to search for the fault
***[gdb.exe] Error

Thank you for your help !!

Andreas Kuepper
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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