This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Build failure] Cygwin GDB multibuild failure


Pierre Muller wrote:
> When I try to build GDB
> with --enable-targets=all --enable-64bit-bfd
> I get the following error:

> ../../purecvs/bfd/plugin.c: In function `load_plugin':
> ../../purecvs/bfd/plugin.c:206: error: structure has no member named
> `d_type'

> 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?

  As far as I can see, POSIX guarantees nothing beyond the presence of d_ino
and d_name[], so use of d_type should probably be protected by some kind of
autoconf test.  I don't know if there already is a suitable one or not.

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]