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: another build breakage


> The build now fails for me in opcodes, I think due to another recent
> change:
>
> make[4]: Entering directory `/home/tromey/gnu/baseline-gdb/build/opcodes'
> /bin/sh ./libtool --tag=CC ? --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes ?-I. -I../../src/opcodes -I../bfd -I../../src/opcodes/../include -I../../src/opcodes/../bfd ? ?-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT arc-dis.lo -MD -MP -MF .deps/arc-dis.Tpo -c -o arc-dis.lo ../../src/opcodes/arc-dis.c
> libtool: compile: ?gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I. -I../../src/opcodes -I../bfd -I../../src/opcodes/../include -I../../src/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT arc-dis.lo -MD -MP -MF .deps/arc-dis.Tpo -c ../../src/opcodes/arc-dis.c -o arc-dis.o
> In file included from ../../src/opcodes/../include/dis-asm.h:36:0,
> ? ? ? ? ? ? ? ? from ../../src/opcodes/arc-dis.c:25:
> ../bfd/bfd.h:36:2: error: #error config.h must be included before this header

It's clearly this change, which added that #error to bfd-in.h:

   http://sourceware.org/ml/binutils-cvs/2012-05/msg00121.html

I found this related bug report:

   http://sourceware.org/bugzilla/show_bug.cgi?id=14072

Nick, is there supposed to be an #include "sysdep.h" in
opcodes/arc-dis.c? From the comment stream on that PR, it sounds like
there are still other problems to be fixed.

-cary


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