* gdb 5.0
@ 2005-04-14 7:22 Tiziano Tosi
2005-04-14 7:40 ` M.M. Kettenis
0 siblings, 1 reply; 2+ messages in thread
From: Tiziano Tosi @ 2005-04-14 7:22 UTC (permalink / raw)
To: gdb
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:
[root@rh9 gdb-5.0] ./configure --target = arm-elf
.................
.................
[root@rh9 gdb-5.0] make
.................
.................
wrapper.c: In function `sim_open':
wrapper.c:356: warning: assignment makes pointer from integer without a cast
gcc -c
m-load.c -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DMODET
-DNEED_UI_LOOP_HOOK -I. -I. -I../common -I./../common -I../../include -I./
../../include -I../../bfd -I./../../bfd -I../../opcodes -I./../../opcodes -I
../../intl -I./../../intl -g -O2
rm -f libsim.a
ar rc libsim.a callback.o syscall.o targ-map.o armcopro.o armemu26.o
armemu32.o arminit.o armos.o armsupp.o armvirt.o bag.o thumbemu.o wrapper.o
sim-load.o
ranlib libsim.a
gcc -c
n/run.c -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DMODET -
DNEED_UI_LOOP_HOOK -I. -I. -I../common -I./../common -I../../include -I./.
./../include -I../../bfd -I./../../bfd -I../../opcodes -I./../../opcodes -I.
./../intl -I./../../intl -g -O2
../common/run.c:156:8: warning: extra tokens at end of #endif directive
gcc -DHAVE_CONFIG_H -DDEFAULT_INLINE=0 -DMODET -DNEE
D_UI_LOOP_HOOK -I. -I. -I../common -I./../common -I../../include -I./../..
/include -I../../bfd -I./../../bfd -I../../opcodes -I./../../opcodes -I../..
/intl -I./../../intl -g -O2 -o run \
run.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a
../../libiberty/libiberty.a -lnsl
../../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'
../../bfd/libbfd.a(archures.o)(.text+0x305):/usr/local/src/gdb-5.0/bfd/archu
res.c:767: more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
make[2]: *** [run] Error 1
make[2]: Leaving directory `/usr/local/src/gdb-5.0/sim/arm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/gdb-5.0/sim'
make: *** [all-sim] Error 2
[root@rh9 gdb-5.0]#
I don' t understand what kind of error it can be (i' m new to uClinux
developing)
Is it library problem? Patching something ?
Can somebody give me some suggest ?
(if i try to build newest gdb distribuitions i see anothers kind of errors)
Thanks in advance.
Tiziano.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gdb 5.0
2005-04-14 7:22 gdb 5.0 Tiziano Tosi
@ 2005-04-14 7:40 ` M.M. Kettenis
0 siblings, 0 replies; 2+ messages in thread
From: M.M. Kettenis @ 2005-04-14 7:40 UTC (permalink / raw)
To: Tiziano Tosi, gdb
"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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-14 7:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-14 7:22 gdb 5.0 Tiziano Tosi
2005-04-14 7:40 ` M.M. Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox