Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@gmail.com>
To: Pierre Muller <muller@ics.u-strasbg.fr>,
	Nick Clifton <nickc@redhat.com>,
	 	Rafael Avila de Espindola <espindola@google.com>
Cc: binutils@sourceware.org, gdb@sourceware.org
Subject: Re: [Build failure] Cygwin GDB multibuild failure
Date: Tue, 23 Jun 2009 01:37:00 -0000	[thread overview]
Message-ID: <daef60380906221837x41c0a9d1la4a0038e1486d78@mail.gmail.com> (raw)
In-Reply-To: <000001c9f389$d74ac340$85e049c0$@u-strasbg.fr>

On Tue, Jun 23, 2009 at 06:36, Pierre Muller<muller@ics.u-strasbg.fr> wrote:
> When I try to build GDB
> with --enable-targets=all --enable-64bit-bfd
> I get the following error:
>
>
> /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../../purecv
> s/bfd -I. -I. -I../../purecvs/bfd -I../../purecvs/bfd/../include
> -DBINDIR='"/u
> sr/local/bin"'  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror
> -gstab
> s+ -O0 -c -o plugin.lo ../../purecvs/bfd/plugin.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../purecvs/bfd -I. -I.
> -I../../p
> urecvs/bfd -I../../purecvs/bfd/../include -DBINDIR=\"/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=src

Thanks,
Hui


  parent reply	other threads:[~2009-06-23  1:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22 22:36 Pierre Muller
2009-06-22 23:02 ` Dave Korn
2009-06-23  1:37 ` Hui Zhu [this message]
2009-06-25  9:20   ` Rafael Espindola
2009-06-25 11:39     ` Dave Korn
2009-06-25 12:33       ` Dave Korn
2009-06-25 15:28         ` Pierre Muller

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=daef60380906221837x41c0a9d1la4a0038e1486d78@mail.gmail.com \
    --to=teawater@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=espindola@google.com \
    --cc=gdb@sourceware.org \
    --cc=muller@ics.u-strasbg.fr \
    --cc=nickc@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