Open nmosier opened 5 years ago
To me I think this error happens when trying to compile with GCC 8.2+
If I compile with GCC 6.x the warning is not present.... mmm
It looks like:
gcc/8.2.0/include/dis-asm.h
Doesn't have print_insn_i386_intel defined anymore here, look @
6394c606997f88acfc80de4dff33a4ae2de987b4
Looks like on top of
#include "dis-asm.h"
We will now only need:
#include "disassemble.h"
Do you also see this?
[opdis]$ ./bootstrap [opdis]$ ./configure [opdis]$ make ... opdis/opdis.c: In function ‘opdis_config_from_bfd’: opdis/opdis.c:220:18: error: incompatible type for argument 1 of ‘disassembler’ disassembler(abfd) ); ^~~~ In file included from ./opdis/opdis.h:14, from opdis/opdis.c:14: /usr/include/dis-asm.h:276:63: note: expected ‘enum bfd_architecture’ but argument is of type ‘bfd ’ {aka ‘struct bfd ’} extern disassembler_ftype disassembler (enum bfd_architecture arc,