This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

[Build failure] Cygwin GDB multibuild failure


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?


Pierre Muller
Pascal language support maintainer for GDB




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