On 10/04/2013 07:49 PM, Peter Maydell wrote: > On 5 October 2013 01:57, Fabien Chouteau <chout...@adacore.com> wrote: > >> @@ -47,7 +48,9 @@ >> #include "hw/xen/xen.h" >> #include "hw/i386/apic_internal.h" >> #endif >> +#include "monitor/monitor_def.h" >> >> +extern const MonitorDef i386_monitor_defs[]; > > Declare this in cpu-qom.h, rather than having an > extern declaration in a .c file. >
I didn't manage to do that. > >> --- a/target-sparc/cpu-qom.h >> +++ b/target-sparc/cpu-qom.h >> @@ -21,7 +21,6 @@ >> #define QEMU_SPARC_CPU_QOM_H >> >> #include "qom/cpu.h" >> -#include "cpu.h" > > ...why have you deleted this #include ? > I thought I added it myself, that's why I removed it. -- Fabien Chouteau