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]

gdb 5.0


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.



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