another build breakage

Jan Kratochvil jan.kratochvil@redhat.com
Fri May 18 07:45:00 GMT 2012


On Fri, 18 May 2012 07:33:58 +0200, Alan Modra wrote:
> Hopefully this is the last of them.  Committed.

It still does not work for me - Fedora 16 x86_64, some patches have been posted
here.


Thanks,
Jan


cvs -d :ext:jkratoch@sourceware.org:/cvs/src co gdb
cd src; ./configure --enable-targets=all; make -j1
[...]
gcc -g -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1  -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Werror -c -o solib-darwin.o -MT solib-darwin.o -MMD -MP -MF .deps/solib-darwin.Tpo solib-darwin.c
In file included from ../bfd/mach-o.h:26:0,
                 from solib-darwin.c:43:
../bfd/sysdep.h:27:2: error: #error sysdep.h must be included in lieu of config.h
In file included from ../bfd/sysdep.h:30:0,
                 from ../bfd/mach-o.h:26,
                 from solib-darwin.c:43:
../bfd/config.h:7:4: error: #error config.h must be #included before system headers
../bfd/config.h:267:0: error: "PACKAGE" redefined [-Werror]
./config.h:603:0: note: this is the location of the previous definition
In file included from ../bfd/sysdep.h:85:0,
                 from ../bfd/mach-o.h:26,
                 from solib-darwin.c:43:
./../include/fopen-same.h:15:0: error: "FOPEN_RB" redefined [-Werror]
./../include/fopen-bin.h:15:0: note: this is the location of the previous definition
./../include/fopen-same.h:16:0: error: "FOPEN_WB" redefined [-Werror]
./../include/fopen-bin.h:16:0: note: this is the location of the previous definition
./../include/fopen-same.h:17:0: error: "FOPEN_AB" redefined [-Werror]
./../include/fopen-bin.h:17:0: note: this is the location of the previous definition
./../include/fopen-same.h:18:0: error: "FOPEN_RUB" redefined [-Werror]
./../include/fopen-bin.h:18:0: note: this is the location of the previous definition
./../include/fopen-same.h:19:0: error: "FOPEN_WUB" redefined [-Werror]
./../include/fopen-bin.h:19:0: note: this is the location of the previous definition
./../include/fopen-same.h:20:0: error: "FOPEN_AUB" redefined [-Werror]
./../include/fopen-bin.h:20:0: note: this is the location of the previous definition
In file included from ../bfd/mach-o.h:26:0,
                 from solib-darwin.c:43:
../bfd/sysdep.h:190:0: error: "_" redefined [-Werror]
./common/gdb_locale.h:28:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors
make[2]: *** [solib-darwin.o] Error 1



More information about the Binutils mailing list