From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4217 invoked by alias); 25 Apr 2009 05:35:42 -0000 Received: (qmail 4208 invoked by uid 22791); 25 Apr 2009 05:35:41 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from tx2ehsobe002.messaging.microsoft.com (HELO TX2EHSOBE004.bigfish.com) (65.55.88.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 25 Apr 2009 05:35:34 +0000 Received: from mail35-tx2-R.bigfish.com (10.9.14.242) by TX2EHSOBE004.bigfish.com (10.9.40.24) with Microsoft SMTP Server id 8.1.340.0; Sat, 25 Apr 2009 05:35:32 +0000 Received: from mail35-tx2 (localhost.localdomain [127.0.0.1]) by mail35-tx2-R.bigfish.com (Postfix) with ESMTP id 28434C68792 for ; Sat, 25 Apr 2009 05:35:32 +0000 (UTC) X-BigFish: VPS7(zz709fM936eQ5164ih7cf0izz1202hzz2b68kz32i6bh) Received: by mail35-tx2 (MessageSwitch) id 1240637727602145_17268; Sat, 25 Apr 2009 05:35:27 +0000 (UCT) Received: from sohm.kpit.com (sohm.kpit.com [203.197.93.231]) by mail35-tx2.bigfish.com (Postfix) with ESMTP id ED6651688053 for ; Sat, 25 Apr 2009 05:35:26 +0000 (UTC) Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Mingw GDB build fails for M16C target Date: Sat, 25 Apr 2009 13:57:00 -0000 Message-ID: <82C3BC9106BCE149B63464D79D0A22FD0A68110C@sohm.kpit.com> From: Mahesh Basavaraj Shavari To: X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00192.txt.bz2 Hi, I am trying to build a Mingw GDB for M16CM32C target using the following source: gdb-6.8.50.20090327 =20 During make, I get the following error. ------------------------------------------------------------------------ ----------- mv version.c-tmp version.c i386-pc-mingw32msvc-gcc -c -DHAVE_CONFIG_H -DPROFILE=3D1 -DWITH_PROFILE=3D-1 -DDEFAULT_INLINE=3D0 -Wall -DTIMER_A -D__USE_MINGW_FSEEK -I. -I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c -I../common -I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/../common -I../../include -I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/../../include -I../../bfd -I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/../../bfd -I../../opcodes -I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/../../opcodes -I../../intl -g -O2 -D__USE_MINGW_ACCESS version.c i386-pc-mingw32msvc-gcc -c -DHAVE_CONFIG_H -DPROFILE=3D1 -DWITH_PROFILE=3D-1 -DDEFAULT_INLINE=3D0 -Wall -DTIMER_A -D__USE_MINGW_FSEEK -I. -I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c -I../common -I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/../common -I../../include -I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/../../include -I../../bfd -I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/../../bfd -I../../opcodes -I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/../../opcodes -I../../intl -g -O2 -D__USE_MINGW_ACCESS /home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/gdb-if.c /home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/gdb-if.c: In function `m32c_signal_to_host': /home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/gdb-if.c:541: error: `SIGTRAP' undeclared (first use in this function) /home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/gdb-if.c:541: error: (Each undeclared identifier is reported only once /home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20080811/sim/m32c/gdb-if.c:541: error: for each function it appears in.) make[3]: *** [gdb-if.o] Error 1 make[3]: Leaving directory `/home/mahesh/GDB/gdb-6.8/build/m32c-elfbld6.8.50.20080811/sim/m32c' make[2]: *** [all] Error 1 make[2]: Leaving directory `/home/mahesh/GDB/gdb-6.8/build/m32c-elfbld6.8.50.20080811/sim' make[1]: *** [all-sim] Error 2 make[1]: Leaving directory `/home/mahesh/GDB/gdb-6.8/build/m32c-elfbld6.8.50.20080811' make: *** [all] Error 2 ------------------------------------------------------------------------ ----------- =20 M16C target GNU Linux toolchain was built using the following sources. Gcc-4.3.3 Binutils-2.19 Newlib-1.16.0 =20 The native mingw toolchain (i386-pc-mingw32msvc-gcc) for i386 was built=20 using the following source. Gcc version 3.4.5 =20 =20 Any help would be highly appreciated. Thanking you in anticipation. =20 Regards, Mahesh Shavari. =20 ------------------------------------------------------------------------ -----------