From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8928 invoked by alias); 23 Jun 2009 01:37:22 -0000 Received: (qmail 8910 invoked by uid 22791); 23 Jun 2009 01:37:21 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_62,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pz0-f188.google.com (HELO mail-pz0-f188.google.com) (209.85.222.188) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Jun 2009 01:37:14 +0000 Received: by pzk26 with SMTP id 26so201086pzk.12 for ; Mon, 22 Jun 2009 18:37:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.107.5 with SMTP id f5mr2966391wfc.130.1245721032291; Mon, 22 Jun 2009 18:37:12 -0700 (PDT) In-Reply-To: <000001c9f389$d74ac340$85e049c0$@u-strasbg.fr> References: <000001c9f389$d74ac340$85e049c0$@u-strasbg.fr> Date: Tue, 23 Jun 2009 01:37:00 -0000 Message-ID: Subject: Re: [Build failure] Cygwin GDB multibuild failure From: Hui Zhu To: Pierre Muller , Nick Clifton , Rafael Avila de Espindola Cc: binutils@sourceware.org, gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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-06/txt/msg00217.txt.bz2 On Tue, Jun 23, 2009 at 06:36, Pierre Muller wrote: > When I try to build GDB > with --enable-targets=3Dall --enable-64bit-bfd > I get the following error: > > > /bin/sh ./libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. > -I../../purecv > s/bfd -I. -I. -I../../purecvs/bfd -I../../purecvs/bfd/../include > -DBINDIR=3D'"/u > sr/local/bin"' =A0-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werr= or > -gstab > s+ -O0 -c -o plugin.lo ../../purecvs/bfd/plugin.c > libtool: compile: =A0gcc -DHAVE_CONFIG_H -I. -I../../purecvs/bfd -I. -I. > -I../../p > urecvs/bfd -I../../purecvs/bfd/../include -DBINDIR=3D\"/usr/local/bin\" -W > -Wall - > Wstrict-prototypes -Wmissing-prototypes -Werror -gstabs+ -O0 -c > ../../purecvs/bf > d/plugin.c -o plugin.o > ../../purecvs/bfd/plugin.c: In function `load_plugin': > ../../purecvs/bfd/plugin.c:206: error: structure has no member named > `d_type' > ../../purecvs/bfd/plugin.c:206: error: `DT_REG' undeclared (first use in > this fu > nction) > ../../purecvs/bfd/plugin.c:206: error: (Each undeclared identifier is > reported o > nly once > ../../purecvs/bfd/plugin.c:206: error: for each function it appears in.) > ../../purecvs/bfd/plugin.c:206: error: structure has no member named > `d_type' > ../../purecvs/bfd/plugin.c:206: error: `DT_LNK' undeclared (first use in > this fu > nction) > make[2]: *** [plugin.lo] Error 1 > make[2]: Leaving directory `/usr/local/src/gdbcvs/multibuild/bfd' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/gdbcvs/multibuild/bfd' > make: *** [all] Error 2 > > > There is no d_type field for dirent structure on the currently distributed > cygwin. It seems that this field has been added recently > in winsup directory, but is it possible to fix that build failure > nonetheless? > I got this issue too. http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/plugin.c?cvsroot=3Dsrc Thanks, Hui