From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6579 invoked by alias); 14 Apr 2005 07:22:56 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6519 invoked from network); 14 Apr 2005 07:22:41 -0000 Received: from unknown (HELO tifone.wan.generalmusic) (81.117.33.58) by sourceware.org with SMTP; 14 Apr 2005 07:22:41 -0000 Received: from [10.77.2.219] (helo=tosi) by tifone.wan.generalmusic with smtp (Exim 4.30) id 1DLygP-0007XG-7s for gdb@sources.redhat.com; Thu, 14 Apr 2005 09:22:37 +0200 Message-ID: <00a701c540c3$83f99720$0b0510ac@generalmusicint.com> From: "Tiziano Tosi" To: Subject: gdb 5.0 Date: Thu, 14 Apr 2005 07:22:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Scan-Signature: cef37de09dce1548cd736214ed6116ae X-SW-Source: 2005-04/txt/msg00074.txt.bz2 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.