This is the mail archive of the gdb@sources.redhat.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]
Other format: [Raw text]

Re: gdb 5.0


"Tiziano Tosi" <ttosi@generalmusic.com> wrote:

Hi, all

my platform is:

RH9 (kernel 2.4.20-8), glibc-2.3.2-27.9 (updated)
When i build gdb 5.0 (gdb-5.0.tar.bz2), occured the following error:

../../bfd/libbfd.a(srec.o)(.text+0xd4): In function `srec_bad_byte':
/usr/local/src/gdb-5.0/bfd/srec.c:282: undefined reference to `__ctype_b'
../../bfd/libbfd.a(srec.o)(.text+0x2e7): In function `srec_scan':
/usr/local/src/gdb-5.0/bfd/srec.c:406: undefined reference to `__ctype_b'
../../bfd/libbfd.a(binary.o)(.text+0x14d): In function `mangle_name':
/usr/local/src/gdb-5.0/bfd/binary.c:158: undefined reference to `__ctype_b'
../../bfd/libbfd.a(ihex.o)(.text+0x74): In function `ihex_bad_byte':
/usr/local/src/gdb-5.0/bfd/ihex.c:251: undefined reference to `__ctype_b'
../../bfd/libbfd.a(archive.o)(.text+0x3b2): In function
`_bfd_generic_read_ar_hdr_mag':
/usr/local/src/gdb-5.0/bfd/archive.c:460: undefined reference to `__ctype_b'

Sorry, but your RH9 install is a bit hosed. Looks like your libc is out of sync with its header files. If you upgraded libc on that system at some point in the past, you might try upgrading the "developer" packages. If this is fixed please try to compile a newer gdb; 5.0 is quite old, and many bugs in it have been fixed.

Mark



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