Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Tiziano Tosi" <ttosi@generalmusic.com>
To: <gdb@sources.redhat.com>
Subject: gdb 5.0
Date: Thu, 14 Apr 2005 07:22:00 -0000	[thread overview]
Message-ID: <00a701c540c3$83f99720$0b0510ac@generalmusicint.com> (raw)

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.



             reply	other threads:[~2005-04-14  7:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-14  7:22 Tiziano Tosi [this message]
2005-04-14  7:40 ` M.M. Kettenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00a701c540c3$83f99720$0b0510ac@generalmusicint.com' \
    --to=ttosi@generalmusic.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox