make[2]: *** No rule to make target `@printf', needed by `panda/plugins/panda_faros.so'. Stop. make[2]: *** Waiting for unfinished jobs.... In file included from /home/rohan/Desktop/panda/include/exec/cpu-defs.h:26:0, from /home/rohan/Desktop/panda/target/ppc/cpu.h:78, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/host-utils.h:118:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:171:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:206:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:261:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:296:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(4, 7) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:312:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(4, 7) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:325:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:342:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:360:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:378:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:481:3: error: #error Unknown sizeof long # error Unknown sizeof long ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51:0: /home/rohan/Desktop/panda/tcg/tcg.h:207:23: error: missing binary operator before token "(" #elif QEMU_GNUC_PREREQ(4, 5) ^ make[2]: *** No rule to make target `@printf', needed by `panda/plugins/panda_faros.so'. Stop. make[2]: *** Waiting for unfinished jobs.... In file included from /home/rohan/Desktop/panda/include/qemu/bitops.h:16:0, from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/host-utils.h:118:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:171:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:206:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:261:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:296:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(4, 7) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:312:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(4, 7) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:325:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:342:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:360:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:378:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:481:3: error: #error Unknown sizeof long # error Unknown sizeof long ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51:0: /home/rohan/Desktop/panda/tcg/tcg.h:207:23: error: missing binary operator before token "(" #elif QEMU_GNUC_PREREQ(4, 5) ^ make[2]: *** No rule to make target `@printf', needed by `panda/plugins/panda_faros.so'. Stop. make[2]: *** Waiting for unfinished jobs.... In file included from /home/rohan/Desktop/panda/include/qemu/bitops.h:16:0, from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/host-utils.h:118:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:171:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:206:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:261:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:296:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(4, 7) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:312:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(4, 7) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:325:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:342:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:360:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:378:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:481:3: error: #error Unknown sizeof long # error Unknown sizeof long ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51:0: /home/rohan/Desktop/panda/tcg/tcg.h:207:23: error: missing binary operator before token "(" #elif QEMU_GNUC_PREREQ(4, 5) ^ In file included from /home/rohan/Desktop/panda/include/qemu-common.h:15:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/fprintf-fn.h:12:5: error: expected initializer before ‘GCC_FMT_ATTR’ GCC_FMT_ATTR(2, 3); ^ In file included from /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:35:0, from /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:16, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/qapi-types.h:42:5: error: ‘QObject’ does not name a type QObject *value; ^ /home/rohan/Desktop/panda/qapi-types.h:2531:11: error: expected unqualified-id before ‘export’ char *export; ^ /home/rohan/Desktop/panda/qapi-types.h:2531:10: error: expected ‘;’ at end of member declaration char *export; ^ /home/rohan/Desktop/panda/qapi-types.h:2531:11: error: expected unqualified-id before ‘export’ char *export; ^ In file included from /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:35:0, from /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:16, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/qapi-types.h:3275:5: error: ‘QObject’ does not name a type QObject *props; ^ /home/rohan/Desktop/panda/qapi-types.h:4779:5: error: ‘QObject’ does not name a type QObject *q_default; ^ /home/rohan/Desktop/panda/qapi-types.h:5785:5: error: ‘QObject’ does not name a type QObject *props; ^ /home/rohan/Desktop/panda/qapi-types.h:5821:5: error: ‘QObject’ does not name a type QObject *value; ^ In file included from /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:16:0, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘void qobject_init(QObject*, QType)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:56:50: error: ‘assert’ was not declared in this scope assert(QTYPE_NONE < type && type < QTYPE__MAX); ^ /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘void qobject_decref(QObject*)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:81:31: error: ‘assert’ was not declared in this scope assert(!obj || obj->refcnt); ^ /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘QType qobject_type(const QObject*)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:92:60: error: ‘assert’ was not declared in this scope assert(QTYPE_NONE < obj->type && obj->type < QTYPE__MAX); ^ In file included from /home/rohan/Desktop/panda/include/qemu/option.h:30:0, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h: At global scope: /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:76:42: error: ‘Error’ has not been declared QObject *qdict_crumple(const QDict *src, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qemu-common.h:19:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/option.h:41:39: error: ‘Error’ has not been declared uint64_t *ret, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:81:1: error: ‘QemuOpt’ does not name a type QemuOpt *qemu_opt_find(QemuOpts *opts, const char *name); ^ /home/rohan/Desktop/panda/include/qemu/option.h:92:19: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:94:24: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:96:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:99:34: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:101:22: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:105:48: error: ‘Error’ has not been declared int fail_if_exists, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:109:57: error: ‘Error’ has not been declared const char *name, const char *value, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:113:66: error: ‘Error’ has not been declared void qemu_opts_validate(QemuOpts *opts, const QemuOptDesc *desc, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:115:48: error: ‘Error’ has not been declared const char *firstname, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:119:47: error: ‘Error’ has not been declared bool permit_abbrev, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:123:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:125:59: error: ‘Error’ has not been declared void qemu_opts_absorb_qdict(QemuOpts *opts, QDict *qdict, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:127:65: error: ‘Error’ has not been declared typedef int (*qemu_opts_loopfunc)(void *opaque, QemuOpts *opts, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:129:37: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:52:5: error: expected initializer before ‘QEMU_WARN_UNUSED_RESULT’ QEMU_WARN_UNUSED_RESULT; ^ /home/rohan/Desktop/panda/include/qemu-common.h:83:27: error: variable or field ‘cpu_exec_step_atomic’ declared void void cpu_exec_step_atomic(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qemu-common.h:83:27: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qemu-common.h:83:37: error: ‘cpu’ was not declared in this scope void cpu_exec_step_atomic(CPUState *cpu); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:147:35: error: ‘MACAddr’ does not name a type const char *qemu_ether_ntoa(const MACAddr *mac); ^ /home/rohan/Desktop/panda/include/qemu-common.h:147:44: warning: ISO C++ forbids declaration of ‘mac’ with no type [-fpermissive] const char *qemu_ether_ntoa(const MACAddr *mac); ^ In file included from /home/rohan/Desktop/panda/target/ppc/cpu.h:24:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/int128.h: In function ‘Int128 int128_make128(uint64_t, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/int128.h:162:30: warning: narrowing conversion of ‘hi’ from ‘uint64_t {aka long unsigned int}’ to ‘int64_t {aka long int}’ inside { } [-Wnarrowing] return (Int128) { lo, hi }; ^ /home/rohan/Desktop/panda/include/qemu/int128.h: In function ‘uint64_t int128_get64(Int128)’: /home/rohan/Desktop/panda/include/qemu/int128.h:167:17: error: ‘assert’ was not declared in this scope assert(!a.hi); ^ In file included from /home/rohan/Desktop/panda/include/qemu/host-utils.h:29:0, from /home/rohan/Desktop/panda/include/exec/cpu-defs.h:26, from /home/rohan/Desktop/panda/target/ppc/cpu.h:78, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t be16_to_cpu(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t cpu_to_be16(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be16_to_cpus(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be16s(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t be32_to_cpu(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t cpu_to_be32(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be32_to_cpus(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be32s(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t be64_to_cpu(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t cpu_to_be64(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be64_to_cpus(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be64s(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t le16_to_cpu(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t cpu_to_le16(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le16_to_cpus(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le16s(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t le32_to_cpu(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t cpu_to_le32(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le32_to_cpus(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le32s(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t le64_to_cpu(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t cpu_to_le64(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le64_to_cpus(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le64s(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int lduw_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:317:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldsw_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:324:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stw_he_p(void*, uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:330:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldl_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:336:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stl_he_p(void*, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:342:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t ldq_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:348:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stq_he_p(void*, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:354:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int lduw_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:424:22: note: in expansion of macro ‘be_bswap’ return (uint16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:424:22: note: in expansion of macro ‘be_bswap’ return (uint16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldsw_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:429:21: note: in expansion of macro ‘be_bswap’ return (int16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:429:21: note: in expansion of macro ‘be_bswap’ return (int16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldl_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:434:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldl_he_p(ptr), 32); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:434:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldl_he_p(ptr), 32); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t ldq_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:439:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldq_he_p(ptr), 64); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:439:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldq_he_p(ptr), 64); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stw_be_p(void*, uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:444:19: note: in expansion of macro ‘be_bswap’ stw_he_p(ptr, be_bswap(v, 16)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:444:19: note: in expansion of macro ‘be_bswap’ stw_he_p(ptr, be_bswap(v, 16)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stl_be_p(void*, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:449:19: note: in expansion of macro ‘be_bswap’ stl_he_p(ptr, be_bswap(v, 32)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:449:19: note: in expansion of macro ‘be_bswap’ stl_he_p(ptr, be_bswap(v, 32)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stq_be_p(void*, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:454:19: note: in expansion of macro ‘be_bswap’ stq_he_p(ptr, be_bswap(v, 64)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:454:19: note: in expansion of macro ‘be_bswap’ stq_he_p(ptr, be_bswap(v, 64)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘long unsigned int leul_to_cpu(long unsigned int)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:496:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ In file included from /home/rohan/Desktop/panda/target/ppc/cpu.h:78:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-defs.h: At global scope: /home/rohan/Desktop/panda/include/exec/cpu-defs.h:120:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(CPUTLBEntry) != (1 << CPU_TLB_ENTRY_BITS)); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void set_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:37:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void set_bit_atomic(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:50:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void clear_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:63:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void change_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:76:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_set_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:89:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_clear_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:104:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_change_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:119:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_bit(long int, const long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:24:41: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:134:24: note: in expansion of macro ‘BIT_WORD’ return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘long unsigned int find_first_bit(const long unsigned int*, long unsigned int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:180:47: note: in expansion of macro ‘BITS_PER_LONG’ for (result = 0; result < size; result += BITS_PER_LONG) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:183:31: error: ‘ctzl’ was not declared in this scope result += ctzl(tmp); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint32_t extract32(uint32_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:309:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint64_t extract64(uint64_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:328:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int32_t sextract32(uint32_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:350:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int64_t sextract64(uint64_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:375:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint32_t deposit32(uint32_t, int, int, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:403:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint64_t deposit64(uint64_t, int, int, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:429:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘long unsigned int* bitmap_try_new(long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:88:16: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:88:16: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:89:47: error: ‘g_try_malloc0’ was not declared in this scope return (unsigned long *) g_try_malloc0(len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_zero(long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:103:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:106:20: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:107:27: error: ‘memset’ was not declared in this scope memset(dst, 0, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_fill(long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:113:21: note: in expansion of macro ‘BITS_TO_LONGS’ size_t nlongs = BITS_TO_LONGS(nbits); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:113:21: note: in expansion of macro ‘BITS_TO_LONGS’ size_t nlongs = BITS_TO_LONGS(nbits); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:116:31: error: ‘memset’ was not declared in this scope memset(dst, 0xff, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_copy(long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:124:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:127:20: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:128:29: error: ‘memcpy’ was not declared in this scope memcpy(dst, src, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_and(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:135:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_or(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:144:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_xor(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:154:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_andnot(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:164:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_complement(long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:174:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_equal(const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:184:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_empty(const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:193:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_full(const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:202:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_intersects(const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:212:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘long unsigned int* bitmap_zero_extend(long unsigned int*, long int, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:232:20: note: in expansion of macro ‘BITS_TO_LONGS’ long new_len = BITS_TO_LONGS(new_nbits) * sizeof(unsigned long); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:232:20: note: in expansion of macro ‘BITS_TO_LONGS’ long new_len = BITS_TO_LONGS(new_nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:233:69: error: ‘g_realloc’ was not declared in this scope unsigned long *newfoo = (unsigned long *) g_realloc(old, new_len); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/object.h: At global scope: /home/rohan/Desktop/panda/include/qom/object.h:296:39: error: ‘Visitor’ has not been declared Visitor *v, ^ /home/rohan/Desktop/panda/include/qom/object.h:299:39: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:334:5: error: ‘gchar’ does not name a type gchar *name; ^ /home/rohan/Desktop/panda/include/qom/object.h:335:5: error: ‘gchar’ does not name a type gchar *type; ^ /home/rohan/Desktop/panda/include/qom/object.h:336:5: error: ‘gchar’ does not name a type gchar *description; ^ /home/rohan/Desktop/panda/include/qom/object.h:373:5: error: ‘GSList’ does not name a type GSList *interfaces; ^ /home/rohan/Desktop/panda/include/qom/object.h:380:5: error: ‘GHashTable’ does not name a type GHashTable *properties; ^ /home/rohan/Desktop/panda/include/qom/object.h:400:5: error: ‘GHashTable’ does not name a type GHashTable *properties; ^ /home/rohan/Desktop/panda/include/qom/object.h:587:32: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new(const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:638:43: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new_with_props(const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:642:36: error: expected initializer before ‘QEMU_SENTINEL’ ...) QEMU_SENTINEL; ^ /home/rohan/Desktop/panda/include/qom/object.h:654:43: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new_with_propv(const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:700:22: error: ‘Error’ has not been declared Error **errp, ^ /home/rohan/Desktop/panda/include/qom/object.h:701:27: error: expected initializer before ‘QEMU_SENTINEL’ ...) QEMU_SENTINEL; ^ /home/rohan/Desktop/panda/include/qom/object.h:714:22: error: ‘Error’ has not been declared Error **errp, ^ /home/rohan/Desktop/panda/include/qom/object.h:727:60: error: expected ‘,’ or ‘...’ before ‘typename’ void object_initialize(void *obj, size_t size, const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:739:54: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_dynamic_cast(Object *obj, const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:750:61: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_dynamic_cast_assert(Object *obj, const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:803:59: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:822:52: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:854:47: error: expected ‘,’ or ‘...’ before ‘typename’ ObjectClass *object_class_by_name(const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:867:1: error: ‘GSList’ does not name a type GSList *object_class_get_list(const char *implements_type, ^ /home/rohan/Desktop/panda/include/qom/object.h:916:51: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:918:57: error: ‘Error’ has not been declared void object_property_del(Object *obj, const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:925:57: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:936:38: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:938:44: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:942:5: error: ‘GHashTableIter’ does not name a type GHashTableIter iter; ^ /home/rohan/Desktop/panda/include/qom/object.h:999:39: error: ‘Visitor’ has not been declared void object_property_get(Object *obj, Visitor *v, const char *name, ^ /home/rohan/Desktop/panda/include/qom/object.h:1000:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1011:48: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1024:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1035:49: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1048:34: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1059:49: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1071:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1082:48: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1094:33: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1108:42: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1122:56: error: ‘Error’ has not been declared uint16List **list, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1135:39: error: ‘Visitor’ has not been declared void object_property_set(Object *obj, Visitor *v, const char *name, ^ /home/rohan/Desktop/panda/include/qom/object.h:1136:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1148:46: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1161:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1172:38: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1199:1: error: ‘gchar’ does not name a type gchar *object_get_canonical_path_component(Object *obj); ^ /home/rohan/Desktop/panda/include/qom/object.h:1207:1: error: ‘gchar’ does not name a type gchar *object_get_canonical_path(Object *obj); ^ /home/rohan/Desktop/panda/include/qom/object.h:1252:64: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_resolve_path_type(const char *path, const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1265:61: error: ‘gchar’ does not name a type Object *object_resolve_path_component(Object *parent, const gchar *part); ^ /home/rohan/Desktop/panda/include/qom/object.h:1265:68: warning: ISO C++ forbids declaration of ‘part’ with no type [-fpermissive] Object *object_resolve_path_component(Object *parent, const gchar *part); ^ /home/rohan/Desktop/panda/include/qom/object.h:1285:47: error: ‘Error’ has not been declared Object *child, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1300:47: error: ‘Error’ has not been declared Object *, Error **); ^ /home/rohan/Desktop/panda/include/qom/object.h:1333:58: error: ‘Error’ has not been declared Object *val, Error **errp), ^ /home/rohan/Desktop/panda/include/qom/object.h:1335:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1350:53: error: ‘Error’ has not been declared char *(*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1351:66: error: ‘Error’ has not been declared void (*set)(Object *, const char *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1352:30: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1355:59: error: ‘Error’ has not been declared char *(*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1357:48: error: ‘Error’ has not been declared Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1358:36: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1372:53: error: ‘Error’ has not been declared bool (*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1373:59: error: ‘Error’ has not been declared void (*set)(Object *, bool, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1374:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1377:59: error: ‘Error’ has not been declared bool (*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1378:65: error: ‘Error’ has not been declared void (*set)(Object *, bool, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1379:37: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1394:43: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1401:49: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1418:64: error: ‘Error’ has not been declared void (*get)(Object *, struct tm *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1419:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1422:70: error: ‘Error’ has not been declared void (*get)(Object *, struct tm *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1423:35: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1436:54: error: ‘Error’ has not been declared const uint8_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1438:60: error: ‘Error’ has not been declared const uint8_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1451:56: error: ‘Error’ has not been declared const uint16_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1453:62: error: ‘Error’ has not been declared const uint16_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1466:56: error: ‘Error’ has not been declared const uint32_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1468:62: error: ‘Error’ has not been declared const uint32_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1481:56: error: ‘Error’ has not been declared const uint64_t *v, Error **Errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1483:62: error: ‘Error’ has not been declared const uint64_t *v, Error **Errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1503:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1521:53: error: ‘Error’ has not been declared Object *target, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1534:63: error: ‘Error’ has not been declared const char *description, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1537:44: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1592:50: error: expected ‘,’ or ‘...’ before ‘typename’ size_t object_type_get_instance_size(const char *typename); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:9:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/hotplug.h:39:28: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:39:54: error: ‘Error’ has not been declared DeviceState *plugged_dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:74:27: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:75:27: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:83:31: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:84:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:92:37: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:93:37: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:100:29: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:101:29: error: ‘Error’ has not been declared Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:23:0, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:28: error: typedef ‘qdev_initfn’ is initialized (use decltype instead) typedef int (*qdev_initfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:28: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:41: error: ‘dev’ was not declared in this scope typedef int (*qdev_initfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:27: error: typedef ‘qdev_event’ is initialized (use decltype instead) typedef int (*qdev_event)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:27: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:40: error: ‘dev’ was not declared in this scope typedef int (*qdev_event)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:30: error: typedef ‘qdev_resetfn’ is initialized (use decltype instead) typedef void (*qdev_resetfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:30: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:43: error: ‘dev’ was not declared in this scope typedef void (*qdev_resetfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:31: error: typedef ‘DeviceRealize’ is initialized (use decltype instead) typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:31: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:44: error: ‘dev’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:49: error: ‘Error’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:57: error: ‘errp’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:33: error: typedef ‘DeviceUnrealize’ is initialized (use decltype instead) typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:33: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:46: error: ‘dev’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:51: error: ‘Error’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:59: error: ‘errp’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:28: error: typedef ‘BusRealize’ is initialized (use decltype instead) typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:28: error: ‘BusState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:38: error: ‘bus’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:43: error: ‘Error’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:51: error: ‘errp’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:30: error: typedef ‘BusUnrealize’ is initialized (use decltype instead) typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:30: error: ‘BusState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:40: error: ‘bus’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:45: error: ‘Error’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:53: error: ‘errp’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:64:28: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long name[BITS_TO_LONGS(bits)] ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:100:5: note: in expansion of macro ‘DECLARE_BITMAP’ DECLARE_BITMAP(categories, DEVICE_CATEGORY_MAX); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:64:28: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long name[BITS_TO_LONGS(bits)] ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:100:5: note: in expansion of macro ‘DECLARE_BITMAP’ DECLARE_BITMAP(categories, DEVICE_CATEGORY_MAX); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:23:0, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/qdev-core.h:103:5: error: ‘Property’ does not name a type Property *props; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:132:19: error: ‘DeviceState’ has not been declared void (*reset)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:133:5: error: ‘DeviceRealize’ does not name a type DeviceRealize realize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:134:5: error: ‘DeviceUnrealize’ does not name a type DeviceUnrealize unrealize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:140:5: error: ‘qdev_initfn’ does not name a type qdev_initfn init; /* TODO remove, once users are converted to realize */ ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:141:5: error: ‘qdev_event’ does not name a type qdev_event exit; /* TODO remove, once users are converted to unrealize */ ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:172:5: error: ‘BusState’ does not name a type BusState *parent_bus; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:195:23: error: ‘Monitor’ has not been declared void (*print_dev)(Monitor *mon, DeviceState *dev, int indent); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:204:5: error: ‘BusRealize’ does not name a type BusRealize realize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:205:5: error: ‘BusUnrealize’ does not name a type BusUnrealize unrealize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:238:5: error: ‘PropertyInfo’ does not name a type PropertyInfo *info; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:239:5: error: ‘ptrdiff_t’ does not name a type ptrdiff_t offset; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:244:5: error: ‘PropertyInfo’ does not name a type PropertyInfo *arrayinfo; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:275:5: error: ‘Error’ does not name a type Error **errp; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:286:36: error: ‘Error’ has not been declared void qdev_unplug(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:288:53: error: ‘Error’ has not been declared DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:328:62: error: expected ‘,’ or ‘...’ before ‘typename’ void qbus_create_inplace(void *bus, size_t size, const char *typename, ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:330:35: error: expected ‘,’ or ‘...’ before ‘typename’ BusState *qbus_create(const char *typename, DeviceState *parent, const char *name); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:393:1: error: ‘GSList’ does not name a type GSList *qdev_build_hotpluggable_device_list(Object *peripheral); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:396:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:398:50: error: ‘Error’ has not been declared void qbus_set_bus_hotplug_handler(BusState *bus, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:24:0, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/disas/bfd.h:268:3: error: ‘fprintf_function’ does not name a type fprintf_function fprintf_func; ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:29:0, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/thread.h: In function ‘void qemu_spin_lock(QemuSpin*)’: /home/rohan/Desktop/panda/include/qemu/thread.h:80:65: error: ‘unlikely’ was not declared in this scope while (unlikely(__sync_lock_test_and_set(&spin->value, true))) { ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/thread.h:81:16: note: in expansion of macro ‘atomic_read’ while (atomic_read(&spin->value)) { ^ /home/rohan/Desktop/panda/include/qemu/thread.h: In function ‘bool qemu_spin_locked(QemuSpin*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/thread.h:94:12: note: in expansion of macro ‘atomic_read’ return atomic_read(&spin->value); ^ In file included from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:72:37: error: typedef ‘CPUUnassignedAccess’ is initialized (use decltype instead) typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:72:37: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qom/cpu.h:72:47: error: ‘cpu’ was not declared in this scope typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:72:59: error: expected primary-expression before ‘addr’ typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:37: error: expected primary-expression before ‘bool’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:52: error: expected primary-expression before ‘bool’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:66: error: expected primary-expression before ‘int’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:74:37: error: expected primary-expression before ‘unsigned’ unsigned size); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:144:40: error: expected ‘,’ or ‘...’ before ‘typename’ void (*parse_features)(const char *typename, char *str, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:146:19: error: ‘CPUState’ has not been declared void (*reset)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:148:22: error: ‘CPUState’ has not been declared bool (*has_work)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:149:26: error: ‘CPUState’ has not been declared void (*do_interrupt)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:150:5: error: ‘CPUUnassignedAccess’ does not name a type CPUUnassignedAccess do_unassigned_access; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:151:33: error: ‘CPUState’ has not been declared void (*do_unaligned_access)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:154:34: error: ‘CPUState’ has not been declared bool (*virtio_is_big_endian)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:155:28: error: ‘CPUState’ has not been declared int (*memory_rw_debug)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:157:24: error: ‘CPUState’ has not been declared void (*dump_state)(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:157:48: error: ‘fprintf_function’ has not been declared void (*dump_state)(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:159:29: error: ‘CPUState’ has not been declared void (*dump_statistics)(CPUState *cpu, FILE *f, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:160:29: error: ‘fprintf_function’ has not been declared fprintf_function cpu_fprintf, int flags); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:161:28: error: ‘CPUState’ has not been declared int64_t (*get_arch_id)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:162:38: error: ‘CPUState’ does not name a type bool (*get_paging_enabled)(const CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:162:48: warning: ISO C++ forbids declaration of ‘cpu’ with no type [-fpermissive] bool (*get_paging_enabled)(const CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:163:32: error: ‘CPUState’ has not been declared void (*get_memory_mapping)(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:163:47: error: ‘MemoryMappingList’ has not been declared void (*get_memory_mapping)(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:164:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:165:20: error: ‘CPUState’ has not been declared void (*set_pc)(CPUState *cpu, vaddr value); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:166:33: error: ‘CPUState’ has not been declared void (*synchronize_from_tb)(CPUState *cpu, struct TranslationBlock *tb); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:167:29: error: ‘CPUState’ has not been declared int (*handle_mmu_fault)(CPUState *cpu, vaddr address, int rw, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:169:35: error: ‘CPUState’ has not been declared hwaddr (*get_phys_page_debug)(CPUState *cpu, vaddr addr); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:170:41: error: ‘CPUState’ has not been declared hwaddr (*get_phys_page_attrs_debug)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:172:29: error: ‘CPUState’ has not been declared int (*asidx_from_attrs)(CPUState *cpu, MemTxAttrs attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:173:30: error: ‘CPUState’ has not been declared int (*gdb_read_register)(CPUState *cpu, uint8_t *buf, int reg); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:174:31: error: ‘CPUState’ has not been declared int (*gdb_write_register)(CPUState *cpu, uint8_t *buf, int reg); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:175:36: error: ‘CPUState’ has not been declared bool (*debug_check_watchpoint)(CPUState *cpu, CPUWatchpoint *wp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:176:32: error: ‘CPUState’ has not been declared void (*debug_excp_handler)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:178:54: error: ‘CPUState’ has not been declared int (*write_elf64_note)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:180:58: error: ‘CPUState’ has not been declared int (*write_elf64_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:182:54: error: ‘CPUState’ has not been declared int (*write_elf32_note)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:184:58: error: ‘CPUState’ has not been declared int (*write_elf32_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:190:5: error: ‘gchar’ does not name a type gchar * (*gdb_arch_name)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:193:28: error: ‘CPUState’ has not been declared void (*cpu_exec_enter)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:194:27: error: ‘CPUState’ has not been declared void (*cpu_exec_exit)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:195:32: error: ‘CPUState’ has not been declared bool (*cpu_exec_interrupt)(CPUState *cpu, int interrupt_request); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:197:28: error: ‘CPUState’ has not been declared void (*disas_set_info)(CPUState *cpu, disassemble_info *info); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:33: error: typedef ‘run_on_cpu_func’ is initialized (use decltype instead) typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:33: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qom/cpu.h:253:43: error: ‘cpu’ was not declared in this scope typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:64: error: expected primary-expression before ‘data’ typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:331:5: error: ‘sigjmp_buf’ does not name a type sigjmp_buf jmp_env; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:336:5: error: ‘CPUAddressSpace’ does not name a type CPUAddressSpace *cpu_ases; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:338:5: error: ‘AddressSpace’ does not name a type AddressSpace *as; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:339:5: error: ‘MemoryRegion’ does not name a type MemoryRegion *memory; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:430:44: error: ‘MemoryMappingList’ has not been declared void cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:431:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:494:45: error: ‘fprintf_function’ has not been declared void cpu_dump_state(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:506:50: error: ‘fprintf_function’ has not been declared void cpu_dump_statistics(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘hwaddr cpu_get_phys_page_attrs_debug(CPUState*, vaddr, MemTxAttrs*)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:526:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:529:62: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->get_phys_page_attrs_debug(cpu, addr, attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:533:45: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->get_phys_page_debug(cpu, addr); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘int cpu_asidx_from_attrs(CPUState*, MemTxAttrs)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:562:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:565:47: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->asidx_from_attrs(cpu, attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:598:44: error: expected ‘,’ or ‘...’ before ‘typename’ ObjectClass *cpu_class_by_name(const char *typename, const char *cpu_model); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:609:40: error: expected ‘,’ or ‘...’ before ‘typename’ CPUState *cpu_generic_init(const char *typename, const char *cpu_model); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘bool cpu_has_work(CPUState*)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:621:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:623:26: error: ‘g_assert’ was not declared in this scope g_assert(cc->has_work); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:624:28: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->has_work(cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:665:35: error: ‘run_on_cpu_func’ has not been declared void do_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:676:32: error: ‘run_on_cpu_func’ has not been declared void run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:686:38: error: ‘run_on_cpu_func’ has not been declared void async_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:700:43: error: ‘run_on_cpu_func’ has not been declared void async_safe_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘void cpu_set_pc(CPUState*, vaddr)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:814:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:816:25: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing cc->set_pc(cpu, addr); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘bool cpu_breakpoint_test(CPUState*, vaddr, int)’: /home/rohan/Desktop/panda/include/qom/cpu.h:948:50: error: ‘unlikely’ was not declared in this scope if (unlikely(!QTAILQ_EMPTY(&cpu->breakpoints))) { ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:978:1: error: ‘AddressSpace’ does not name a type AddressSpace *cpu_get_address_space(CPUState *cpu, int asidx); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:980:20: error: expected initializer before ‘cpu_abort’ void QEMU_NORETURN cpu_abort(CPUState *cpu, const char *fmt, ...) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:983:40: error: ‘Error’ has not been declared void cpu_exec_realizefn(CPUState *cpu, Error **errp); ^ In file included from /home/rohan/Desktop/panda/target/ppc/cpu.h:79:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:182:5: error: ‘DeviceRealize’ does not name a type DeviceRealize parent_realize; ^ /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:183:5: error: ‘DeviceUnrealize’ does not name a type DeviceUnrealize parent_unrealize; ^ In file included from /home/rohan/Desktop/panda/target/ppc/cpu.h:78:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-defs.h:95:36: error: ‘MIN’ was not declared in this scope NB_MMU_MODES <= 8 ? 3 : 4)) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:97:28: note: in expansion of macro ‘CPU_TLB_BITS’ #define CPU_TLB_SIZE (1 << CPU_TLB_BITS) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:134:41: note: in expansion of macro ‘CPU_TLB_SIZE’ CPUTLBEntry tlb_table[NB_MMU_MODES][CPU_TLB_SIZE]; \ ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:151:5: note: in expansion of macro ‘CPU_COMMON_TLB’ CPU_COMMON_TLB \ ^ /home/rohan/Desktop/panda/target/ppc/cpu.h:979:5: note: in expansion of macro ‘CPU_COMMON’ CPU_COMMON ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:95:36: error: ‘MIN’ was not declared in this scope NB_MMU_MODES <= 8 ? 3 : 4)) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:97:28: note: in expansion of macro ‘CPU_TLB_BITS’ #define CPU_TLB_SIZE (1 << CPU_TLB_BITS) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:136:39: note: in expansion of macro ‘CPU_TLB_SIZE’ CPUIOTLBEntry iotlb[NB_MMU_MODES][CPU_TLB_SIZE]; \ ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:151:5: note: in expansion of macro ‘CPU_COMMON_TLB’ CPU_COMMON_TLB \ ^ /home/rohan/Desktop/panda/target/ppc/cpu.h:979:5: note: in expansion of macro ‘CPU_COMMON’ CPU_COMMON ^ In file included from /home/rohan/Desktop/panda/tcg/tcg.h:29:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/ppc/cpu.h: In function ‘PowerPCCPU* ppc_env_get_cpu(CPUPPCState*)’: /home/rohan/Desktop/panda/target/ppc/cpu.h:1186:40: error: expected primary-expression before ‘,’ token return container_of(env, PowerPCCPU, env); ^ /home/rohan/Desktop/panda/target/ppc/cpu.h:1186:45: error: ‘container_of’ was not declared in this scope return container_of(env, PowerPCCPU, env); ^ /home/rohan/Desktop/panda/target/ppc/cpu.h: At global scope: /home/rohan/Desktop/panda/target/ppc/cpu.h:1217:49: error: ‘fprintf_function’ has not been declared void ppc_cpu_dump_state(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/target/ppc/cpu.h:1220:30: error: ‘fprintf_function’ has not been declared fprintf_function cpu_fprintf, int flags); ^ /home/rohan/Desktop/panda/target/ppc/cpu.h:1252:29: error: ‘fprintf_function’ has not been declared void ppc_cpu_list (FILE *f, fprintf_function cpu_fprintf); ^ In file included from /home/rohan/Desktop/panda/include/exec/cpu-all.h:23:0, from /home/rohan/Desktop/panda/target/ppc/cpu.h:1335, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-common.h:22:5: error: ‘fprintf_function’ does not name a type fprintf_function cpu_fprintf; ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:60:1: error: ‘RAMBlock’ does not name a type RAMBlock *qemu_ram_block_by_name(const char *name); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:61:1: error: ‘RAMBlock’ does not name a type RAMBlock *qemu_ram_block_from_host(void *ptr, bool round_offset, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:25: error: variable or field ‘qemu_ram_set_idstr’ declared void void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:25: error: ‘RAMBlock’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:35: error: ‘block’ was not declared in this scope void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:42: error: expected primary-expression before ‘const’ void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:72: error: expected primary-expression before ‘*’ token void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:73: error: ‘dev’ was not declared in this scope void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:27: error: variable or field ‘qemu_ram_unset_idstr’ declared void void qemu_ram_unset_idstr(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:27: error: ‘RAMBlock’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:37: error: ‘block’ was not declared in this scope void qemu_ram_unset_idstr(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:65:32: error: ‘RAMBlock’ was not declared in this scope const char *qemu_ram_get_idstr(RAMBlock *rb); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:65:42: error: ‘rb’ was not declared in this scope const char *qemu_ram_get_idstr(RAMBlock *rb); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:66:26: error: ‘RAMBlock’ was not declared in this scope size_t qemu_ram_pagesize(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:66:36: error: ‘block’ was not declared in this scope size_t qemu_ram_pagesize(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:30: error: variable or field ‘cpu_register_map_client’ declared void void cpu_register_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:30: error: ‘QEMUBH’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:38: error: ‘bh’ was not declared in this scope void cpu_register_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:32: error: variable or field ‘cpu_unregister_map_client’ declared void void cpu_unregister_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:32: error: ‘QEMUBH’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:40: error: ‘bh’ was not declared in this scope void cpu_unregister_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:36: error: variable or field ‘cpu_physical_memory_write_rom’ declared void void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:36: error: ‘AddressSpace’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:50: error: ‘as’ was not declared in this scope void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:61: error: expected primary-expression before ‘addr’ void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:100:36: error: expected primary-expression before ‘const’ const uint8_t *buf, int len); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:100:56: error: expected primary-expression before ‘int’ const uint8_t *buf, int len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/rcu.h: In function ‘void rcu_read_lock()’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:81:11: note: in expansion of macro ‘atomic_read’ ctr = atomic_read(&rcu_gp_ctr); ^ /home/rohan/Desktop/panda/include/qemu/atomic.h:165:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:82:5: note: in expansion of macro ‘atomic_xchg’ atomic_xchg(&p_rcu_reader->ctr, ctr); ^ In file included from /home/rohan/Desktop/panda/include/exec/ramlist.h:6:0, from /home/rohan/Desktop/panda/include/exec/memory.h:24, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/ppc/cpu.h:1335, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/rcu.h: In function ‘void rcu_read_unlock()’: /home/rohan/Desktop/panda/include/qemu/rcu.h:89:36: error: ‘assert’ was not declared in this scope assert(p_rcu_reader->depth != 0); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:165:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:94:5: note: in expansion of macro ‘atomic_xchg’ atomic_xchg(&p_rcu_reader->ctr, 0); ^ /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:95:18: note: in expansion of macro ‘atomic_read’ if (unlikely(atomic_read(&p_rcu_reader->waiting))) { ^ In file included from /home/rohan/Desktop/panda/include/exec/ramlist.h:6:0, from /home/rohan/Desktop/panda/include/exec/memory.h:24, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/ppc/cpu.h:1335, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/rcu.h:95:53: error: ‘unlikely’ was not declared in this scope if (unlikely(atomic_read(&p_rcu_reader->waiting))) { ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:115:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:96:9: note: in expansion of macro ‘atomic_set’ atomic_set(&p_rcu_reader->waiting, false); ^ In file included from /home/rohan/Desktop/panda/include/exec/memory.h:24:0, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/ppc/cpu.h:1335, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/ramlist.h: At global scope: /home/rohan/Desktop/panda/include/exec/ramlist.h:48:5: error: ‘RAMBlock’ does not name a type RAMBlock *mru_block; ^ In file included from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24:0, from /home/rohan/Desktop/panda/target/ppc/cpu.h:1335, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/memory.h:60:5: error: ‘AddressSpace’ does not name a type AddressSpace *target_as; ^ /home/rohan/Desktop/panda/include/exec/memory.h:235:50: error: ‘MemoryRegionSection’ has not been declared void (*region_add)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:236:50: error: ‘MemoryRegionSection’ has not been declared void (*region_del)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:237:50: error: ‘MemoryRegionSection’ has not been declared void (*region_nop)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:238:49: error: ‘MemoryRegionSection’ has not been declared void (*log_start)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:239:36: error: expected ‘,’ or ‘...’ before ‘new’ int old, int new); ^ /home/rohan/Desktop/panda/include/exec/memory.h:240:48: error: ‘MemoryRegionSection’ has not been declared void (*log_stop)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:241:35: error: expected ‘,’ or ‘...’ before ‘new’ int old, int new); ^ /home/rohan/Desktop/panda/include/exec/memory.h:242:48: error: ‘MemoryRegionSection’ has not been declared void (*log_sync)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:245:51: error: ‘MemoryRegionSection’ has not been declared void (*eventfd_add)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:246:57: error: ‘EventNotifier’ has not been declared bool match_data, uint64_t data, EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:247:51: error: ‘MemoryRegionSection’ has not been declared void (*eventfd_del)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:248:57: error: ‘EventNotifier’ has not been declared bool match_data, uint64_t data, EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:249:58: error: ‘MemoryRegionSection’ has not been declared void (*coalesced_mmio_add)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:251:58: error: ‘MemoryRegionSection’ has not been declared void (*coalesced_mmio_del)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:255:5: error: ‘AddressSpace’ does not name a type AddressSpace *address_space; ^ /home/rohan/Desktop/panda/include/exec/memory.h:383:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:408:40: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:428:39: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:508:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:527:36: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:809:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1028:32: error: ‘EventNotifier’ has not been declared EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1048:32: error: ‘EventNotifier’ has not been declared EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:17: error: variable or field ‘mtree_info’ declared void void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:17: error: ‘fprintf_function’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/memory.h:1254:46: error: expected primary-expression before ‘void’ void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:55: error: expected primary-expression before ‘bool’ void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘MemTxResult address_space_read(AddressSpace*, hwaddr, MemTxAttrs, uint8_t*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1657:37: error: ‘memcpy’ was not declared in this scope memcpy(buf, ptr, len); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘void address_space_read_cached(MemoryRegionCache*, hwaddr, void*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1682:57: error: ‘assert’ was not declared in this scope assert(addr < cache->len && len <= cache->len - addr); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1683:50: error: ‘memcpy’ was not declared in this scope memcpy(buf, (uint8_t *)cache->ptr + addr, len); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘void address_space_write_cached(MemoryRegionCache*, hwaddr, void*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1698:57: error: ‘assert’ was not declared in this scope assert(addr < cache->len && len <= cache->len - addr); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1699:50: error: ‘memcpy’ was not declared in this scope memcpy((uint8_t *)cache->ptr + addr, buf, len); ^ In file included from /home/rohan/Desktop/panda/target/ppc/cpu.h:1335:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-all.h: At global scope: /home/rohan/Desktop/panda/include/exec/cpu-all.h:341:30: error: ‘fprintf_function’ has not been declared void dump_exec_info(FILE *f, fprintf_function cpu_fprintf); ^ /home/rohan/Desktop/panda/include/exec/cpu-all.h:342:33: error: ‘fprintf_function’ has not been declared void dump_opcount_info(FILE *f, fprintf_function cpu_fprintf); ^ In file included from /home/rohan/Desktop/panda/tcg/tcg.h:29:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/ppc/cpu.h:2349:20: error: expected initializer before ‘raise_exception’ void QEMU_NORETURN raise_exception(CPUPPCState *env, uint32_t exception); ^ /home/rohan/Desktop/panda/target/ppc/cpu.h:2350:20: error: expected initializer before ‘raise_exception_ra’ void QEMU_NORETURN raise_exception_ra(CPUPPCState *env, uint32_t exception, ^ /home/rohan/Desktop/panda/target/ppc/cpu.h:2352:20: error: expected initializer before ‘raise_exception_err’ void QEMU_NORETURN raise_exception_err(CPUPPCState *env, uint32_t exception, ^ /home/rohan/Desktop/panda/target/ppc/cpu.h:2354:20: error: expected initializer before ‘raise_exception_err_ra’ void QEMU_NORETURN raise_exception_err_ra(CPUPPCState *env, uint32_t exception, ^ /home/rohan/Desktop/panda/target/ppc/cpu.h: In function ‘int booke206_tlbm_to_tlbn(CPUPPCState*, ppcmas_tlb_t*)’: /home/rohan/Desktop/panda/target/ppc/cpu.h:2393:66: error: ‘cpu_abort’ was not declared in this scope cpu_abort(CPU(ppc_env_get_cpu(env)), "Unknown TLBe: %d\n", id); ^ /home/rohan/Desktop/panda/target/ppc/cpu.h: At global scope: /home/rohan/Desktop/panda/target/ppc/cpu.h:2472:24: error: ‘fprintf_function’ has not been declared void dump_mmu(FILE *f, fprintf_function cpu_fprintf, CPUPPCState *env); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/seqlock.h: In function ‘void seqlock_write_begin(QemuSeqLock*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:115:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h:34:5: note: in expansion of macro ‘atomic_set’ atomic_set(&sl->sequence, sl->sequence + 1); ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h: In function ‘void seqlock_write_end(QemuSeqLock*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:115:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h:45:5: note: in expansion of macro ‘atomic_set’ atomic_set(&sl->sequence, sl->sequence + 1); ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h: In function ‘unsigned int seqlock_read_begin(QemuSeqLock*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h:51:20: note: in expansion of macro ‘atomic_read’ unsigned ret = atomic_read(&sl->sequence); ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h: In function ‘int seqlock_read_retry(const QemuSeqLock*, unsigned int)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h:62:21: note: in expansion of macro ‘atomic_read’ return unlikely(atomic_read(&sl->sequence) != start); ^ In file included from /home/rohan/Desktop/panda/include/qemu/qht.h:10:0, from /home/rohan/Desktop/panda/include/exec/tb-context.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:30, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/seqlock.h:62:56: error: ‘unlikely’ was not declared in this scope return unlikely(atomic_read(&sl->sequence) != start); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51:0: /home/rohan/Desktop/panda/tcg/tcg.h: At global scope: /home/rohan/Desktop/panda/tcg/tcg.h:433:40: error: expected initializer before ‘MAKE_TCGV_I32’ static inline TCGv_i32 QEMU_ARTIFICIAL MAKE_TCGV_I32(intptr_t i) ^ /home/rohan/Desktop/panda/tcg/tcg.h:438:40: error: expected initializer before ‘MAKE_TCGV_I64’ static inline TCGv_i64 QEMU_ARTIFICIAL MAKE_TCGV_I64(intptr_t i) ^ /home/rohan/Desktop/panda/tcg/tcg.h:443:40: error: expected initializer before ‘MAKE_TCGV_PTR’ static inline TCGv_ptr QEMU_ARTIFICIAL MAKE_TCGV_PTR(intptr_t i) ^ /home/rohan/Desktop/panda/tcg/tcg.h:448:40: error: expected initializer before ‘GET_TCGV_I32’ static inline intptr_t QEMU_ARTIFICIAL GET_TCGV_I32(TCGv_i32 t) ^ /home/rohan/Desktop/panda/tcg/tcg.h:453:40: error: expected initializer before ‘GET_TCGV_I64’ static inline intptr_t QEMU_ARTIFICIAL GET_TCGV_I64(TCGv_i64 t) ^ /home/rohan/Desktop/panda/tcg/tcg.h:458:40: error: expected initializer before ‘GET_TCGV_PTR’ static inline intptr_t QEMU_ARTIFICIAL GET_TCGV_PTR(TCGv_ptr t) ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/tcg/tcg.h:612:21: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long l[BITS_TO_LONGS(TCG_MAX_TEMPS)]; ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/tcg/tcg.h:612:21: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long l[BITS_TO_LONGS(TCG_MAX_TEMPS)]; ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51:0: /home/rohan/Desktop/panda/tcg/tcg.h:644:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(NB_OPS > (1 << 8)); ^ /home/rohan/Desktop/panda/tcg/tcg.h:645:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(OPC_BUF_SIZE > (1 << 10)); ^ /home/rohan/Desktop/panda/tcg/tcg.h:646:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(OPPARAM_BUF_SIZE > (1 << 14)); ^ /home/rohan/Desktop/panda/tcg/tcg.h:649:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(TCGOp) > 8); ^ /home/rohan/Desktop/panda/tcg/tcg.h:674:5: error: ‘GHashTable’ does not name a type GHashTable *helpers; ^ /home/rohan/Desktop/panda/tcg/tcg.h: In function ‘void* tcg_malloc(int)’: /home/rohan/Desktop/panda/tcg/tcg.h:779:39: error: ‘unlikely’ was not declared in this scope if (unlikely(ptr_end > s->pool_end)) { ^ /home/rohan/Desktop/panda/tcg/tcg.h: In function ‘TCGv_i32_d* tcg_global_mem_new_i32(TCGv_ptr, intptr_t, const char*)’: /home/rohan/Desktop/panda/tcg/tcg.h:810:29: error: ‘MAKE_TCGV_I32’ was not declared in this scope return MAKE_TCGV_I32(idx); ^ /home/rohan/Desktop/panda/tcg/tcg.h: In function ‘TCGv_i64_d* tcg_global_mem_new_i64(TCGv_ptr, intptr_t, const char*)’: /home/rohan/Desktop/panda/tcg/tcg.h:827:29: error: ‘MAKE_TCGV_I64’ was not declared in this scope return MAKE_TCGV_I64(idx); ^ /home/rohan/Desktop/panda/tcg/tcg.h: At global scope: /home/rohan/Desktop/panda/tcg/tcg.h:853:29: error: ‘fprintf_function’ has not been declared void tcg_dump_info(FILE *f, fprintf_function cpu_fprintf); ^ /home/rohan/Desktop/panda/tcg/tcg.h:854:33: error: ‘fprintf_function’ has not been declared void tcg_dump_op_count(FILE *f, fprintf_function cpu_fprintf); ^ /home/rohan/Desktop/panda/tcg/tcg.h:995:15: error: ‘ptrdiff_t’ does not name a type static inline ptrdiff_t tcg_ptr_byte_diff(void *a, void *b) ^ /home/rohan/Desktop/panda/tcg/tcg.h:1009:15: error: ‘ptrdiff_t’ does not name a type static inline ptrdiff_t tcg_pcrel_diff(TCGContext *s, void *target) ^ /home/rohan/Desktop/panda/tcg/tcg.h: In function ‘size_t tcg_current_code_size(TCGContext*)’: /home/rohan/Desktop/panda/tcg/tcg.h:1024:54: error: ‘tcg_ptr_byte_diff’ was not declared in this scope return tcg_ptr_byte_diff(s->code_ptr, s->code_buf); ^ In file included from /home/rohan/Desktop/panda/include/qemu/timer.h:7:0, from /home/rohan/Desktop/panda/include/block/aio.h:21, from /home/rohan/Desktop/panda/include/block/block.h:4, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/sysemu/cpus.h: At global scope: /home/rohan/Desktop/panda/include/sysemu/cpus.h:12:39: error: ‘Error’ has not been declared void configure_icount(QemuOpts *opts, Error **errp); ^ /home/rohan/Desktop/panda/include/sysemu/cpus.h:19:31: error: ‘fprintf_function’ has not been declared void dump_drift_info(FILE *f, fprintf_function cpu_fprintf); ^ /home/rohan/Desktop/panda/include/sysemu/cpus.h:37:25: error: ‘fprintf_function’ has not been declared void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg); ^ In file included from /home/rohan/Desktop/panda/include/block/aio.h:21:0, from /home/rohan/Desktop/panda/include/block/block.h:4, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/timer.h: In function ‘QEMUTimer* timer_new_tl(QEMUTimerList*, int, void (*)(void*), void*)’: /home/rohan/Desktop/panda/include/qemu/timer.h:529:60: error: ‘g_malloc0’ was not declared in this scope QEMUTimer *ts = (QEMUTimer*)g_malloc0(sizeof(QEMUTimer)); ^ /home/rohan/Desktop/panda/include/qemu/timer.h: At global scope: /home/rohan/Desktop/panda/include/qemu/timer.h:723:16: error: variable or field ‘timer_get’ declared void void timer_get(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:723:16: error: ‘QEMUFile’ was not declared in this scope /home/rohan/Desktop/panda/include/qemu/timer.h:723:26: error: ‘f’ was not declared in this scope void timer_get(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:723:39: error: expected primary-expression before ‘*’ token void timer_get(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:723:40: error: ‘ts’ was not declared in this scope void timer_get(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:730:16: error: variable or field ‘timer_put’ declared void void timer_put(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:730:16: error: ‘QEMUFile’ was not declared in this scope /home/rohan/Desktop/panda/include/qemu/timer.h:730:26: error: ‘f’ was not declared in this scope void timer_put(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:730:39: error: expected primary-expression before ‘*’ token void timer_put(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:730:40: error: ‘ts’ was not declared in this scope void timer_put(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:758:18: error: ‘GPollFD’ was not declared in this scope int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:758:27: error: ‘fds’ was not declared in this scope int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:758:32: error: ‘guint’ was not declared in this scope int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:758:52: error: expected primary-expression before ‘timeout’ int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:758:59: warning: expression list treated as compound expression in initializer [-fpermissive] int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout); ^ /home/rohan/Desktop/panda/include/qemu/timer.h: In function ‘int64_t get_clock_realtime()’: /home/rohan/Desktop/panda/include/qemu/timer.h:810:27: error: ‘gettimeofday’ was not declared in this scope gettimeofday(&tv, NULL); ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:4:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/block/aio.h: At global scope: /home/rohan/Desktop/panda/include/block/aio.h:28:5: error: ‘AioContext’ does not name a type AioContext *(*get_aio_context)(BlockAIOCB *acb); ^ /home/rohan/Desktop/panda/include/block/aio.h:34:5: error: ‘BlockDriverState’ does not name a type BlockDriverState *bs; ^ /home/rohan/Desktop/panda/include/block/aio.h:40:49: error: ‘BlockDriverState’ has not been declared void *qemu_aio_get(const AIOCBInfo *aiocb_info, BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/aio.h:54:5: error: ‘GSource’ does not name a type GSource source; ^ /home/rohan/Desktop/panda/include/block/aio.h:155:29: error: ‘Error’ was not declared in this scope AioContext *aio_context_new(Error **errp); ^ /home/rohan/Desktop/panda/include/block/aio.h:155:37: error: ‘errp’ was not declared in this scope AioContext *aio_context_new(Error **errp); ^ /home/rohan/Desktop/panda/include/block/aio.h:379:1: error: ‘GSource’ does not name a type GSource *aio_get_g_source(AioContext *ctx); ^ /home/rohan/Desktop/panda/include/block/aio.h: In function ‘void aio_enable_external(AioContext*)’: /home/rohan/Desktop/panda/include/block/aio.h:457:41: error: ‘assert’ was not declared in this scope assert(ctx->external_disable_cnt > 0); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/block/aio.h: In function ‘bool aio_external_disabled(AioContext*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/block/aio.h:469:12: note: in expansion of macro ‘atomic_read’ return atomic_read(&ctx->external_disable_cnt); ^ /home/rohan/Desktop/panda/include/block/aio.h: In function ‘bool aio_node_check(AioContext*, bool)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/block/aio.h:482:29: note: in expansion of macro ‘atomic_read’ return !is_external || !atomic_read(&ctx->external_disable_cnt); ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:4:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/block/aio.h: At global scope: /home/rohan/Desktop/panda/include/block/aio.h:522:34: error: ‘Error’ has not been declared Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h: In function ‘size_t iov_from_buf(const iovec*, unsigned int, size_t, const void*, size_t)’: /home/rohan/Desktop/panda/include/qemu/iov.h:50:24: error: invalid use of incomplete type ‘struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:50:25: error: invalid use of incomplete type ‘const struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:50:51: error: invalid use of incomplete type ‘struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:50:52: error: invalid use of incomplete type ‘const struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:51:21: error: invalid use of incomplete type ‘struct iovec’ memcpy(iov[0].iov_base + offset, buf, bytes); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:51:22: error: invalid use of incomplete type ‘const struct iovec’ memcpy(iov[0].iov_base + offset, buf, bytes); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:51:52: error: ‘memcpy’ was not declared in this scope memcpy(iov[0].iov_base + offset, buf, bytes); ^ /home/rohan/Desktop/panda/include/qemu/iov.h: In function ‘size_t iov_to_buf(const iovec*, unsigned int, size_t, void*, size_t)’: /home/rohan/Desktop/panda/include/qemu/iov.h:63:24: error: invalid use of incomplete type ‘struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:63:25: error: invalid use of incomplete type ‘const struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:63:51: error: invalid use of incomplete type ‘struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:63:52: error: invalid use of incomplete type ‘const struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:64:26: error: invalid use of incomplete type ‘struct iovec’ memcpy(buf, iov[0].iov_base + offset, bytes); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:64:27: error: invalid use of incomplete type ‘const struct iovec’ memcpy(buf, iov[0].iov_base + offset, bytes); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:64:52: error: ‘memcpy’ was not declared in this scope memcpy(buf, iov[0].iov_base + offset, bytes); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/hbitmap.h: At global scope: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:27:33: note: in expansion of macro ‘BITS_PER_LONG’ #define HBITMAP_LOG_MAX_SIZE (BITS_PER_LONG == 32 ? 34 : 41) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:34:34: note: in expansion of macro ‘HBITMAP_LOG_MAX_SIZE’ #define HBITMAP_LEVELS ((HBITMAP_LOG_MAX_SIZE / BITS_PER_LEVEL) + 1) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:48:23: note: in expansion of macro ‘HBITMAP_LEVELS’ unsigned long cur[HBITMAP_LEVELS]; ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:21:33: note: in expansion of macro ‘BITS_PER_LONG’ #define BITS_PER_LEVEL (BITS_PER_LONG == 32 ? 5 : 6) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:34:57: note: in expansion of macro ‘BITS_PER_LEVEL’ #define HBITMAP_LEVELS ((HBITMAP_LOG_MAX_SIZE / BITS_PER_LEVEL) + 1) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:48:23: note: in expansion of macro ‘HBITMAP_LEVELS’ unsigned long cur[HBITMAP_LEVELS]; ^ In file included from /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:5:0, from /home/rohan/Desktop/panda/include/block/block.h:9, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/hbitmap.h: In function ‘int64_t hbitmap_iter_next(HBitmapIter*)’: /home/rohan/Desktop/panda/include/qemu/hbitmap.h:303:30: error: ‘HBitmapIter’ has no member named ‘cur’ unsigned long cur = hbi->cur[HBITMAP_LEVELS - 1]; ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:27:33: note: in expansion of macro ‘BITS_PER_LONG’ #define HBITMAP_LOG_MAX_SIZE (BITS_PER_LONG == 32 ? 34 : 41) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:34:34: note: in expansion of macro ‘HBITMAP_LOG_MAX_SIZE’ #define HBITMAP_LEVELS ((HBITMAP_LOG_MAX_SIZE / BITS_PER_LEVEL) + 1) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:303:34: note: in expansion of macro ‘HBITMAP_LEVELS’ unsigned long cur = hbi->cur[HBITMAP_LEVELS - 1]; ^ In file included from /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:5:0, from /home/rohan/Desktop/panda/include/block/block.h:9, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/hbitmap.h:314:10: error: ‘HBitmapIter’ has no member named ‘cur’ hbi->cur[HBITMAP_LEVELS - 1] = cur & (cur - 1); ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:315:61: error: ‘ctzl’ was not declared in this scope item = ((uint64_t)hbi->pos << BITS_PER_LEVEL) + ctzl(cur); ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h: In function ‘size_t hbitmap_iter_next_word(HBitmapIter*, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/hbitmap.h:333:30: error: ‘HBitmapIter’ has no member named ‘cur’ unsigned long cur = hbi->cur[HBITMAP_LEVELS - 1]; ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/ppc/cpu.h:79, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:27:33: note: in expansion of macro ‘BITS_PER_LONG’ #define HBITMAP_LOG_MAX_SIZE (BITS_PER_LONG == 32 ? 34 : 41) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:34:34: note: in expansion of macro ‘HBITMAP_LOG_MAX_SIZE’ #define HBITMAP_LEVELS ((HBITMAP_LOG_MAX_SIZE / BITS_PER_LEVEL) + 1) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:333:34: note: in expansion of macro ‘HBITMAP_LEVELS’ unsigned long cur = hbi->cur[HBITMAP_LEVELS - 1]; ^ In file included from /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:5:0, from /home/rohan/Desktop/panda/include/block/block.h:9, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/hbitmap.h:344:10: error: ‘HBitmapIter’ has no member named ‘cur’ hbi->cur[HBITMAP_LEVELS - 1] = 0; ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:9:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/block/dirty-bitmap.h: At global scope: /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:7:1: error: ‘BdrvDirtyBitmap’ does not name a type BdrvDirtyBitmap *bdrv_create_dirty_bitmap(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:11:36: error: variable or field ‘bdrv_create_meta_dirty_bitmap’ declared void void bdrv_create_meta_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:11:36: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:11:53: error: ‘bitmap’ was not declared in this scope void bdrv_create_meta_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:12:36: error: expected primary-expression before ‘int’ int chunk_size); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:13:37: error: variable or field ‘bdrv_release_meta_dirty_bitmap’ declared void void bdrv_release_meta_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:13:37: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:13:54: error: ‘bitmap’ was not declared in this scope void bdrv_release_meta_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:14:40: error: ‘BlockDriverState’ was not declared in this scope int bdrv_dirty_bitmap_create_successor(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:14:58: error: ‘bs’ was not declared in this scope int bdrv_dirty_bitmap_create_successor(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:15:40: error: ‘BdrvDirtyBitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:15:57: error: ‘bitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:16:40: error: ‘Error’ was not declared in this scope Error **errp); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:16:48: error: ‘errp’ was not declared in this scope Error **errp); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:16:52: warning: expression list treated as compound expression in initializer [-fpermissive] Error **errp); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:17:1: error: ‘BdrvDirtyBitmap’ does not name a type BdrvDirtyBitmap *bdrv_dirty_bitmap_abdicate(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:20:1: error: ‘BdrvDirtyBitmap’ does not name a type BdrvDirtyBitmap *bdrv_reclaim_dirty_bitmap(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:23:1: error: ‘BdrvDirtyBitmap’ does not name a type BdrvDirtyBitmap *bdrv_find_dirty_bitmap(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:25:34: error: variable or field ‘bdrv_dirty_bitmap_make_anon’ declared void void bdrv_dirty_bitmap_make_anon(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:25:34: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:25:51: error: ‘bitmap’ was not declared in this scope void bdrv_dirty_bitmap_make_anon(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:26:32: error: variable or field ‘bdrv_release_dirty_bitmap’ declared void void bdrv_release_dirty_bitmap(BlockDriverState *bs, BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:26:32: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:26:50: error: ‘bs’ was not declared in this scope void bdrv_release_dirty_bitmap(BlockDriverState *bs, BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:26:54: error: ‘BdrvDirtyBitmap’ was not declared in this scope void bdrv_release_dirty_bitmap(BlockDriverState *bs, BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:26:71: error: ‘bitmap’ was not declared in this scope void bdrv_release_dirty_bitmap(BlockDriverState *bs, BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:27:39: error: variable or field ‘bdrv_release_named_dirty_bitmaps’ declared void void bdrv_release_named_dirty_bitmaps(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:27:39: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:27:57: error: ‘bs’ was not declared in this scope void bdrv_release_named_dirty_bitmaps(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:28:32: error: variable or field ‘bdrv_disable_dirty_bitmap’ declared void void bdrv_disable_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:28:32: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:28:49: error: ‘bitmap’ was not declared in this scope void bdrv_disable_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:29:31: error: variable or field ‘bdrv_enable_dirty_bitmap’ declared void void bdrv_enable_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:29:31: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:29:48: error: ‘bitmap’ was not declared in this scope void bdrv_enable_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:30:46: error: ‘BlockDriverState’ was not declared in this scope BlockDirtyInfoList *bdrv_query_dirty_bitmaps(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:30:64: error: ‘bs’ was not declared in this scope BlockDirtyInfoList *bdrv_query_dirty_bitmaps(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:31:46: error: ‘BlockDriverState’ was not declared in this scope uint32_t bdrv_get_default_bitmap_granularity(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:31:64: error: ‘bs’ was not declared in this scope uint32_t bdrv_get_default_bitmap_granularity(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:32:40: error: ‘BdrvDirtyBitmap’ was not declared in this scope uint32_t bdrv_dirty_bitmap_granularity(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:32:57: error: ‘bitmap’ was not declared in this scope uint32_t bdrv_dirty_bitmap_granularity(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:33:45: error: ‘BdrvDirtyBitmap’ was not declared in this scope uint32_t bdrv_dirty_bitmap_meta_granularity(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:33:62: error: ‘bitmap’ was not declared in this scope uint32_t bdrv_dirty_bitmap_meta_granularity(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:34:32: error: ‘BdrvDirtyBitmap’ was not declared in this scope bool bdrv_dirty_bitmap_enabled(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:34:49: error: ‘bitmap’ was not declared in this scope bool bdrv_dirty_bitmap_enabled(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:35:31: error: ‘BdrvDirtyBitmap’ was not declared in this scope bool bdrv_dirty_bitmap_frozen(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:35:48: error: ‘bitmap’ was not declared in this scope bool bdrv_dirty_bitmap_frozen(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:36:42: error: ‘BdrvDirtyBitmap’ does not name a type const char *bdrv_dirty_bitmap_name(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:36:59: warning: ISO C++ forbids declaration of ‘bitmap’ with no type [-fpermissive] const char *bdrv_dirty_bitmap_name(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:37:38: error: ‘BdrvDirtyBitmap’ does not name a type int64_t bdrv_dirty_bitmap_size(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:37:55: warning: ISO C++ forbids declaration of ‘bitmap’ with no type [-fpermissive] int64_t bdrv_dirty_bitmap_size(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:38:44: error: ‘BdrvDirtyBitmap’ was not declared in this scope DirtyBitmapStatus bdrv_dirty_bitmap_status(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:38:61: error: ‘bitmap’ was not declared in this scope DirtyBitmapStatus bdrv_dirty_bitmap_status(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:39:20: error: ‘BlockDriverState’ was not declared in this scope int bdrv_get_dirty(BlockDriverState *bs, BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:39:38: error: ‘bs’ was not declared in this scope int bdrv_get_dirty(BlockDriverState *bs, BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:39:42: error: ‘BdrvDirtyBitmap’ was not declared in this scope int bdrv_get_dirty(BlockDriverState *bs, BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:39:59: error: ‘bitmap’ was not declared in this scope int bdrv_get_dirty(BlockDriverState *bs, BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:40:28: error: expected primary-expression before ‘sector’ int64_t sector); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:40:34: warning: expression list treated as compound expression in initializer [-fpermissive] int64_t sector); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:41:28: error: variable or field ‘bdrv_set_dirty_bitmap’ declared void void bdrv_set_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:41:28: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:41:45: error: ‘bitmap’ was not declared in this scope void bdrv_set_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:42:36: error: expected primary-expression before ‘cur_sector’ int64_t cur_sector, int64_t nr_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:42:56: error: expected primary-expression before ‘nr_sectors’ int64_t cur_sector, int64_t nr_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:43:30: error: variable or field ‘bdrv_reset_dirty_bitmap’ declared void void bdrv_reset_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:43:30: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:43:47: error: ‘bitmap’ was not declared in this scope void bdrv_reset_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:44:38: error: expected primary-expression before ‘cur_sector’ int64_t cur_sector, int64_t nr_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:44:58: error: expected primary-expression before ‘nr_sectors’ int64_t cur_sector, int64_t nr_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:45:32: error: ‘BlockDriverState’ was not declared in this scope int bdrv_dirty_bitmap_get_meta(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:45:50: error: ‘bs’ was not declared in this scope int bdrv_dirty_bitmap_get_meta(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:46:32: error: ‘BdrvDirtyBitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:46:49: error: ‘bitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:46:65: error: expected primary-expression before ‘sector’ BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:47:32: error: expected primary-expression before ‘int’ int nb_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:47:46: warning: expression list treated as compound expression in initializer [-fpermissive] int nb_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:48:35: error: variable or field ‘bdrv_dirty_bitmap_reset_meta’ declared void void bdrv_dirty_bitmap_reset_meta(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:48:35: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:48:53: error: ‘bs’ was not declared in this scope void bdrv_dirty_bitmap_reset_meta(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:49:35: error: ‘BdrvDirtyBitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:49:52: error: ‘bitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:49:68: error: expected primary-expression before ‘sector’ BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:50:35: error: expected primary-expression before ‘int’ int nb_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:51:1: error: ‘BdrvDirtyBitmapIter’ does not name a type BdrvDirtyBitmapIter *bdrv_dirty_meta_iter_new(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:52:1: error: ‘BdrvDirtyBitmapIter’ does not name a type BdrvDirtyBitmapIter *bdrv_dirty_iter_new(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:54:27: error: variable or field ‘bdrv_dirty_iter_free’ declared void void bdrv_dirty_iter_free(BdrvDirtyBitmapIter *iter); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:54:27: error: ‘BdrvDirtyBitmapIter’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:54:48: error: ‘iter’ was not declared in this scope void bdrv_dirty_iter_free(BdrvDirtyBitmapIter *iter); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:55:30: error: ‘BdrvDirtyBitmapIter’ was not declared in this scope int64_t bdrv_dirty_iter_next(BdrvDirtyBitmapIter *iter); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:55:51: error: ‘iter’ was not declared in this scope int64_t bdrv_dirty_iter_next(BdrvDirtyBitmapIter *iter); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:56:26: error: variable or field ‘bdrv_set_dirty_iter’ declared void void bdrv_set_dirty_iter(BdrvDirtyBitmapIter *hbi, int64_t sector_num); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:56:26: error: ‘BdrvDirtyBitmapIter’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:56:47: error: ‘hbi’ was not declared in this scope void bdrv_set_dirty_iter(BdrvDirtyBitmapIter *hbi, int64_t sector_num); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:56:60: error: expected primary-expression before ‘sector_num’ void bdrv_set_dirty_iter(BdrvDirtyBitmapIter *hbi, int64_t sector_num); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:57:30: error: ‘BdrvDirtyBitmap’ was not declared in this scope int64_t bdrv_get_dirty_count(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:57:47: error: ‘bitmap’ was not declared in this scope int64_t bdrv_get_dirty_count(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:58:35: error: ‘BdrvDirtyBitmap’ was not declared in this scope int64_t bdrv_get_meta_dirty_count(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:58:52: error: ‘bitmap’ was not declared in this scope int64_t bdrv_get_meta_dirty_count(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:59:33: error: variable or field ‘bdrv_dirty_bitmap_truncate’ declared void void bdrv_dirty_bitmap_truncate(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:59:33: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:59:51: error: ‘bs’ was not declared in this scope void bdrv_dirty_bitmap_truncate(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:61:53: error: ‘BdrvDirtyBitmap’ does not name a type uint64_t bdrv_dirty_bitmap_serialization_size(const BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:61:70: warning: ISO C++ forbids declaration of ‘bitmap’ with no type [-fpermissive] uint64_t bdrv_dirty_bitmap_serialization_size(const BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:63:54: error: ‘BdrvDirtyBitmap’ does not name a type uint64_t bdrv_dirty_bitmap_serialization_align(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:63:71: warning: ISO C++ forbids declaration of ‘bitmap’ with no type [-fpermissive] uint64_t bdrv_dirty_bitmap_serialization_align(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:64:45: error: ‘BdrvDirtyBitmap’ does not name a type void bdrv_dirty_bitmap_serialize_part(const BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:64:62: warning: ISO C++ forbids declaration of ‘bitmap’ with no type [-fpermissive] void bdrv_dirty_bitmap_serialize_part(const BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:67:41: error: variable or field ‘bdrv_dirty_bitmap_deserialize_part’ declared void void bdrv_dirty_bitmap_deserialize_part(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:67:41: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:67:58: error: ‘bitmap’ was not declared in this scope void bdrv_dirty_bitmap_deserialize_part(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:68:49: error: expected primary-expression before ‘*’ token uint8_t *buf, uint64_t start, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:68:50: error: ‘buf’ was not declared in this scope uint8_t *buf, uint64_t start, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:68:64: error: expected primary-expression before ‘start’ uint8_t *buf, uint64_t start, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:69:50: error: expected primary-expression before ‘count’ uint64_t count, bool finish); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:69:57: error: expected primary-expression before ‘bool’ uint64_t count, bool finish); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:70:43: error: variable or field ‘bdrv_dirty_bitmap_deserialize_zeroes’ declared void void bdrv_dirty_bitmap_deserialize_zeroes(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:70:43: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:70:60: error: ‘bitmap’ was not declared in this scope void bdrv_dirty_bitmap_deserialize_zeroes(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:71:52: error: expected primary-expression before ‘start’ uint64_t start, uint64_t count, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:71:68: error: expected primary-expression before ‘count’ uint64_t start, uint64_t count, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:72:43: error: expected primary-expression before ‘bool’ bool finish); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:73:43: error: variable or field ‘bdrv_dirty_bitmap_deserialize_finish’ declared void void bdrv_dirty_bitmap_deserialize_finish(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:73:43: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:73:60: error: ‘bitmap’ was not declared in this scope void bdrv_dirty_bitmap_deserialize_finish(BdrvDirtyBitmap *bitmap); ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:10:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/block/blockjob.h:44:5: error: ‘BlockBackend’ does not name a type BlockBackend *blk; ^ /home/rohan/Desktop/panda/include/block/blockjob.h:119:5: error: ‘Error’ does not name a type Error *blocker; ^ /home/rohan/Desktop/panda/include/block/blockjob.h:122:5: error: ‘GSList’ does not name a type GSList *nodes; ^ /home/rohan/Desktop/panda/include/block/blockjob.h:178:40: error: ‘BlockDriverState’ has not been declared void block_job_add_bdrv(BlockJob *job, BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/blockjob.h:189:56: error: ‘Error’ has not been declared void block_job_set_speed(BlockJob *job, int64_t speed, Error **errp); ^ /home/rohan/Desktop/panda/include/block/blockjob.h:215:40: error: ‘Error’ has not been declared void block_job_complete(BlockJob *job, Error **errp); ^ /home/rohan/Desktop/panda/include/block/blockjob.h:223:46: error: ‘Error’ has not been declared BlockJobInfo *block_job_query(BlockJob *job, Error **errp); ^ /home/rohan/Desktop/panda/include/block/blockjob.h:301:44: error: ‘Error’ has not been declared int block_job_complete_sync(BlockJob *job, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/monitor/monitor.h:6:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/block/block.h:160:5: error: ‘BlockDriverState’ does not name a type BlockDriverState *bs; ^ /home/rohan/Desktop/panda/include/block/block.h:196:33: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:199:33: error: ‘Error’ has not been declared QemuOpts *opts, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:200:60: error: ‘Error’ has not been declared int bdrv_create_file(const char *filename, QemuOpts *opts, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:201:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_new(void); ^ /home/rohan/Desktop/panda/include/block/block.h:202:18: error: variable or field ‘bdrv_append’ declared void void bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top); ^ /home/rohan/Desktop/panda/include/block/block.h:202:18: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:202:36: error: ‘bs_new’ was not declared in this scope void bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top); ^ /home/rohan/Desktop/panda/include/block/block.h:202:44: error: ‘BlockDriverState’ was not declared in this scope void bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top); ^ /home/rohan/Desktop/panda/include/block/block.h:202:62: error: ‘bs_top’ was not declared in this scope void bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top); ^ /home/rohan/Desktop/panda/include/block/block.h:203:36: error: variable or field ‘bdrv_replace_in_backing_chain’ declared void void bdrv_replace_in_backing_chain(BlockDriverState *old, ^ /home/rohan/Desktop/panda/include/block/block.h:203:36: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:203:54: error: ‘old’ was not declared in this scope void bdrv_replace_in_backing_chain(BlockDriverState *old, ^ /home/rohan/Desktop/panda/include/block/block.h:204:36: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState *new); ^ /home/rohan/Desktop/panda/include/block/block.h:204:57: error: expected type-specifier before ‘)’ token BlockDriverState *new); ^ /home/rohan/Desktop/panda/include/block/block.h:210:28: error: ‘BlockDriverState’ has not been declared BlockDriverState* parent, ^ /home/rohan/Desktop/panda/include/block/block.h:212:45: error: ‘Error’ has not been declared bool allow_none, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:213:26: error: variable or field ‘bdrv_set_backing_hd’ declared void void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd); ^ /home/rohan/Desktop/panda/include/block/block.h:213:26: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:213:44: error: ‘bs’ was not declared in this scope void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd); ^ /home/rohan/Desktop/panda/include/block/block.h:213:48: error: ‘BlockDriverState’ was not declared in this scope void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd); ^ /home/rohan/Desktop/panda/include/block/block.h:213:66: error: ‘backing_hd’ was not declared in this scope void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd); ^ /home/rohan/Desktop/panda/include/block/block.h:214:28: error: ‘BlockDriverState’ was not declared in this scope int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options, ^ /home/rohan/Desktop/panda/include/block/block.h:214:46: error: ‘bs’ was not declared in this scope int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options, ^ /home/rohan/Desktop/panda/include/block/block.h:214:56: error: expected primary-expression before ‘*’ token int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options, ^ /home/rohan/Desktop/panda/include/block/block.h:214:57: error: ‘parent_options’ was not declared in this scope int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options, ^ /home/rohan/Desktop/panda/include/block/block.h:215:28: error: expected primary-expression before ‘const’ const char *bdref_key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:215:51: error: ‘Error’ was not declared in this scope const char *bdref_key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:215:59: error: ‘errp’ was not declared in this scope const char *bdref_key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:215:63: warning: expression list treated as compound expression in initializer [-fpermissive] const char *bdref_key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:216:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_open(const char *filename, const char *reference, ^ /home/rohan/Desktop/panda/include/block/block.h:219:37: error: ‘BlockDriverState’ has not been declared BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:221:71: error: ‘Error’ has not been declared int bdrv_reopen_multiple(AioContext *ctx, BlockReopenQueue *bs_queue, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:17: error: ‘BlockDriverState’ was not declared in this scope int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:35: error: ‘bs’ was not declared in this scope int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:39: error: expected primary-expression before ‘int’ int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:55: error: ‘Error’ was not declared in this scope int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:63: error: ‘errp’ was not declared in this scope int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:67: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:224:50: error: ‘Error’ has not been declared BlockReopenQueue *queue, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:252:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_find_backing_image(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:254:33: error: ‘BlockDriverState’ was not declared in this scope int bdrv_get_backing_file_depth(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:254:51: error: ‘bs’ was not declared in this scope int bdrv_get_backing_file_depth(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:255:28: error: variable or field ‘bdrv_refresh_filename’ declared void void bdrv_refresh_filename(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:255:28: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:255:46: error: ‘bs’ was not declared in this scope void bdrv_refresh_filename(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:256:19: error: ‘BlockDriverState’ was not declared in this scope int bdrv_truncate(BlockDriverState *bs, int64_t offset); ^ /home/rohan/Desktop/panda/include/block/block.h:256:37: error: ‘bs’ was not declared in this scope int bdrv_truncate(BlockDriverState *bs, int64_t offset); ^ /home/rohan/Desktop/panda/include/block/block.h:256:49: error: expected primary-expression before ‘offset’ int bdrv_truncate(BlockDriverState *bs, int64_t offset); ^ /home/rohan/Desktop/panda/include/block/block.h:256:55: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_truncate(BlockDriverState *bs, int64_t offset); ^ /home/rohan/Desktop/panda/include/block/block.h:257:25: error: ‘BlockDriverState’ was not declared in this scope int64_t bdrv_nb_sectors(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:257:43: error: ‘bs’ was not declared in this scope int64_t bdrv_nb_sectors(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:258:24: error: ‘BlockDriverState’ was not declared in this scope int64_t bdrv_getlength(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:258:42: error: ‘bs’ was not declared in this scope int64_t bdrv_getlength(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:259:38: error: ‘BlockDriverState’ was not declared in this scope int64_t bdrv_get_allocated_file_size(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:259:56: error: ‘bs’ was not declared in this scope int64_t bdrv_get_allocated_file_size(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:260:24: error: variable or field ‘bdrv_get_geometry’ declared void void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr); ^ /home/rohan/Desktop/panda/include/block/block.h:260:24: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:260:42: error: ‘bs’ was not declared in this scope void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr); ^ /home/rohan/Desktop/panda/include/block/block.h:260:55: error: expected primary-expression before ‘*’ token void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr); ^ /home/rohan/Desktop/panda/include/block/block.h:260:56: error: ‘nb_sectors_ptr’ was not declared in this scope void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr); ^ /home/rohan/Desktop/panda/include/block/block.h:261:26: error: variable or field ‘bdrv_refresh_limits’ declared void void bdrv_refresh_limits(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:261:26: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:261:44: error: ‘bs’ was not declared in this scope void bdrv_refresh_limits(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:261:48: error: ‘Error’ was not declared in this scope void bdrv_refresh_limits(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:261:56: error: ‘errp’ was not declared in this scope void bdrv_refresh_limits(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:262:17: error: ‘BlockDriverState’ was not declared in this scope int bdrv_commit(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:262:35: error: ‘bs’ was not declared in this scope int bdrv_commit(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:263:30: error: ‘BlockDriverState’ was not declared in this scope int bdrv_change_backing_file(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:263:48: error: ‘bs’ was not declared in this scope int bdrv_change_backing_file(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:264:5: error: expected primary-expression before ‘const’ const char *backing_file, const char *backing_fmt); ^ /home/rohan/Desktop/panda/include/block/block.h:264:31: error: expected primary-expression before ‘const’ const char *backing_file, const char *backing_fmt); ^ /home/rohan/Desktop/panda/include/block/block.h:264:54: warning: expression list treated as compound expression in initializer [-fpermissive] const char *backing_file, const char *backing_fmt); ^ /home/rohan/Desktop/panda/include/block/block.h:266:28: error: ‘BlockDriverState’ was not declared in this scope int bdrv_drop_intermediate(BlockDriverState *active, BlockDriverState *top, ^ /home/rohan/Desktop/panda/include/block/block.h:266:46: error: ‘active’ was not declared in this scope int bdrv_drop_intermediate(BlockDriverState *active, BlockDriverState *top, ^ /home/rohan/Desktop/panda/include/block/block.h:266:54: error: ‘BlockDriverState’ was not declared in this scope int bdrv_drop_intermediate(BlockDriverState *active, BlockDriverState *top, ^ /home/rohan/Desktop/panda/include/block/block.h:266:72: error: ‘top’ was not declared in this scope int bdrv_drop_intermediate(BlockDriverState *active, BlockDriverState *top, ^ /home/rohan/Desktop/panda/include/block/block.h:267:28: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:267:46: error: ‘base’ was not declared in this scope BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:268:28: error: expected primary-expression before ‘const’ const char *backing_file_str); ^ /home/rohan/Desktop/panda/include/block/block.h:268:56: warning: expression list treated as compound expression in initializer [-fpermissive] const char *backing_file_str); ^ /home/rohan/Desktop/panda/include/block/block.h:269:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_find_overlay(BlockDriverState *active, ^ /home/rohan/Desktop/panda/include/block/block.h:271:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_find_base(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:289:16: error: ‘BlockDriverState’ was not declared in this scope int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:289:34: error: ‘bs’ was not declared in this scope int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:289:54: error: expected primary-expression before ‘*’ token int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:289:55: error: ‘res’ was not declared in this scope int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:289:74: error: expected primary-expression before ‘fix’ int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:289:77: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:294:39: error: typedef ‘BlockDriverAmendStatusCB’ is initialized (use decltype instead) typedef void BlockDriverAmendStatusCB(BlockDriverState *bs, int64_t offset, ^ /home/rohan/Desktop/panda/include/block/block.h:294:39: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:294:57: error: ‘bs’ was not declared in this scope typedef void BlockDriverAmendStatusCB(BlockDriverState *bs, int64_t offset, ^ /home/rohan/Desktop/panda/include/block/block.h:294:69: error: expected primary-expression before ‘offset’ typedef void BlockDriverAmendStatusCB(BlockDriverState *bs, int64_t offset, ^ /home/rohan/Desktop/panda/include/block/block.h:295:47: error: expected primary-expression before ‘total_work_size’ int64_t total_work_size, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:295:64: error: expected primary-expression before ‘void’ int64_t total_work_size, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:296:24: error: ‘BlockDriverState’ was not declared in this scope int bdrv_amend_options(BlockDriverState *bs_new, QemuOpts *opts, ^ /home/rohan/Desktop/panda/include/block/block.h:296:42: error: ‘bs_new’ was not declared in this scope int bdrv_amend_options(BlockDriverState *bs_new, QemuOpts *opts, ^ /home/rohan/Desktop/panda/include/block/block.h:296:59: error: expected primary-expression before ‘*’ token int bdrv_amend_options(BlockDriverState *bs_new, QemuOpts *opts, ^ /home/rohan/Desktop/panda/include/block/block.h:296:60: error: ‘opts’ was not declared in this scope int bdrv_amend_options(BlockDriverState *bs_new, QemuOpts *opts, ^ /home/rohan/Desktop/panda/include/block/block.h:297:24: error: ‘BlockDriverAmendStatusCB’ was not declared in this scope BlockDriverAmendStatusCB *status_cb, void *cb_opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:297:50: error: ‘status_cb’ was not declared in this scope BlockDriverAmendStatusCB *status_cb, void *cb_opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:297:61: error: expected primary-expression before ‘void’ BlockDriverAmendStatusCB *status_cb, void *cb_opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:297:76: warning: expression list treated as compound expression in initializer [-fpermissive] BlockDriverAmendStatusCB *status_cb, void *cb_opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:300:39: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_recurse_is_first_non_filter(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:300:57: error: ‘bs’ was not declared in this scope bool bdrv_recurse_is_first_non_filter(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:301:39: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState *candidate); ^ /home/rohan/Desktop/panda/include/block/block.h:301:57: error: ‘candidate’ was not declared in this scope BlockDriverState *candidate); ^ /home/rohan/Desktop/panda/include/block/block.h:301:66: warning: expression list treated as compound expression in initializer [-fpermissive] BlockDriverState *candidate); ^ /home/rohan/Desktop/panda/include/block/block.h:302:31: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_is_first_non_filter(BlockDriverState *candidate); ^ /home/rohan/Desktop/panda/include/block/block.h:302:49: error: ‘candidate’ was not declared in this scope bool bdrv_is_first_non_filter(BlockDriverState *candidate); ^ /home/rohan/Desktop/panda/include/block/block.h:305:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *check_to_replace_node(BlockDriverState *parent_bs, ^ /home/rohan/Desktop/panda/include/block/block.h:315:28: error: ‘BlockDriverState’ was not declared in this scope BlockAIOCB *bdrv_aio_flush(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:315:46: error: ‘bs’ was not declared in this scope BlockAIOCB *bdrv_aio_flush(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:316:48: error: expected primary-expression before ‘*’ token BlockCompletionFunc *cb, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:316:49: error: ‘cb’ was not declared in this scope BlockCompletionFunc *cb, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:316:53: error: expected primary-expression before ‘void’ BlockCompletionFunc *cb, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:316:65: warning: expression list treated as compound expression in initializer [-fpermissive] BlockCompletionFunc *cb, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:321:19: error: ‘BlockDriverState’ was not declared in this scope int bdrv_co_ioctl(BlockDriverState *bs, int req, void *buf); ^ /home/rohan/Desktop/panda/include/block/block.h:321:37: error: ‘bs’ was not declared in this scope int bdrv_co_ioctl(BlockDriverState *bs, int req, void *buf); ^ /home/rohan/Desktop/panda/include/block/block.h:321:41: error: expected primary-expression before ‘int’ int bdrv_co_ioctl(BlockDriverState *bs, int req, void *buf); ^ /home/rohan/Desktop/panda/include/block/block.h:321:50: error: expected primary-expression before ‘void’ int bdrv_co_ioctl(BlockDriverState *bs, int req, void *buf); ^ /home/rohan/Desktop/panda/include/block/block.h:321:59: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_co_ioctl(BlockDriverState *bs, int req, void *buf); ^ /home/rohan/Desktop/panda/include/block/block.h:324:28: error: variable or field ‘bdrv_invalidate_cache’ declared void void bdrv_invalidate_cache(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:324:28: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:324:46: error: ‘bs’ was not declared in this scope void bdrv_invalidate_cache(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:324:50: error: ‘Error’ was not declared in this scope void bdrv_invalidate_cache(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:324:58: error: ‘errp’ was not declared in this scope void bdrv_invalidate_cache(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:325:32: error: variable or field ‘bdrv_invalidate_cache_all’ declared void void bdrv_invalidate_cache_all(Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:325:32: error: ‘Error’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:325:40: error: ‘errp’ was not declared in this scope void bdrv_invalidate_cache_all(Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:329:16: error: ‘BlockDriverState’ was not declared in this scope int bdrv_flush(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:329:34: error: ‘bs’ was not declared in this scope int bdrv_flush(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:330:32: error: ‘BlockDriverState’ was not declared in this scope int coroutine_fn bdrv_co_flush(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:330:50: error: ‘bs’ was not declared in this scope int coroutine_fn bdrv_co_flush(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:333:17: error: variable or field ‘bdrv_drain’ declared void void bdrv_drain(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:333:17: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:333:35: error: ‘bs’ was not declared in this scope void bdrv_drain(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:334:33: error: variable or field ‘bdrv_co_drain’ declared void void coroutine_fn bdrv_co_drain(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:334:33: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:334:51: error: ‘bs’ was not declared in this scope void coroutine_fn bdrv_co_drain(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:368:19: error: ‘BlockDriverState’ was not declared in this scope int bdrv_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:368:37: error: ‘bs’ was not declared in this scope int bdrv_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:368:49: error: expected primary-expression before ‘offset’ int bdrv_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:368:57: error: expected primary-expression before ‘int’ int bdrv_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:368:66: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:369:22: error: ‘BlockDriverState’ was not declared in this scope int bdrv_co_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:369:40: error: ‘bs’ was not declared in this scope int bdrv_co_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:369:52: error: expected primary-expression before ‘offset’ int bdrv_co_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:369:60: error: expected primary-expression before ‘int’ int bdrv_co_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:369:69: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_co_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:370:26: error: ‘BlockDriverState’ was not declared in this scope int bdrv_has_zero_init_1(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:370:44: error: ‘bs’ was not declared in this scope int bdrv_has_zero_init_1(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:371:24: error: ‘BlockDriverState’ was not declared in this scope int bdrv_has_zero_init(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:371:42: error: ‘bs’ was not declared in this scope int bdrv_has_zero_init(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:372:39: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_unallocated_blocks_are_zero(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:372:57: error: ‘bs’ was not declared in this scope bool bdrv_unallocated_blocks_are_zero(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:373:39: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_can_write_zeroes_with_unmap(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:373:57: error: ‘bs’ was not declared in this scope bool bdrv_can_write_zeroes_with_unmap(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:374:31: error: ‘BlockDriverState’ was not declared in this scope int64_t bdrv_get_block_status(BlockDriverState *bs, int64_t sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:374:49: error: ‘bs’ was not declared in this scope int64_t bdrv_get_block_status(BlockDriverState *bs, int64_t sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:374:61: error: expected primary-expression before ‘sector_num’ int64_t bdrv_get_block_status(BlockDriverState *bs, int64_t sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:375:31: error: expected primary-expression before ‘int’ int nb_sectors, int *pnum, ^ /home/rohan/Desktop/panda/include/block/block.h:375:47: error: expected primary-expression before ‘int’ int nb_sectors, int *pnum, ^ /home/rohan/Desktop/panda/include/block/block.h:376:31: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:376:50: error: ‘file’ was not declared in this scope BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:376:54: warning: expression list treated as compound expression in initializer [-fpermissive] BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:377:37: error: ‘BlockDriverState’ was not declared in this scope int64_t bdrv_get_block_status_above(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:377:55: error: ‘bs’ was not declared in this scope int64_t bdrv_get_block_status_above(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:378:37: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:378:55: error: ‘base’ was not declared in this scope BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:379:45: error: expected primary-expression before ‘sector_num’ int64_t sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:380:37: error: expected primary-expression before ‘int’ int nb_sectors, int *pnum, ^ /home/rohan/Desktop/panda/include/block/block.h:380:53: error: expected primary-expression before ‘int’ int nb_sectors, int *pnum, ^ /home/rohan/Desktop/panda/include/block/block.h:381:37: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:381:56: error: ‘file’ was not declared in this scope BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:381:60: warning: expression list treated as compound expression in initializer [-fpermissive] BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:382:23: error: ‘BlockDriverState’ was not declared in this scope int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:382:41: error: ‘bs’ was not declared in this scope int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:382:53: error: expected primary-expression before ‘sector_num’ int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:382:65: error: expected primary-expression before ‘int’ int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:383:23: error: expected primary-expression before ‘int’ int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:383:32: warning: expression list treated as compound expression in initializer [-fpermissive] int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:384:29: error: ‘BlockDriverState’ was not declared in this scope int bdrv_is_allocated_above(BlockDriverState *top, BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:384:47: error: ‘top’ was not declared in this scope int bdrv_is_allocated_above(BlockDriverState *top, BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:384:52: error: ‘BlockDriverState’ was not declared in this scope int bdrv_is_allocated_above(BlockDriverState *top, BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:384:70: error: ‘base’ was not declared in this scope int bdrv_is_allocated_above(BlockDriverState *top, BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:385:37: error: expected primary-expression before ‘sector_num’ int64_t sector_num, int nb_sectors, int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:385:49: error: expected primary-expression before ‘int’ int64_t sector_num, int nb_sectors, int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:385:65: error: expected primary-expression before ‘int’ int64_t sector_num, int nb_sectors, int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:385:74: warning: expression list treated as compound expression in initializer [-fpermissive] int64_t sector_num, int nb_sectors, int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:387:24: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_is_read_only(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:387:42: error: ‘bs’ was not declared in this scope bool bdrv_is_read_only(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:388:17: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_is_sg(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:388:35: error: ‘bs’ was not declared in this scope bool bdrv_is_sg(BlockDriverState *bs); ^ In file included from /home/rohan/Desktop/panda/include/qemu-common.h:15:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/fprintf-fn.h:12:5: error: expected initializer before ‘GCC_FMT_ATTR’ GCC_FMT_ATTR(2, 3); ^ /home/rohan/Desktop/panda/include/block/block.h:389:23: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_is_inserted(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:389:41: error: ‘bs’ was not declared in this scope bool bdrv_is_inserted(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:390:24: error: ‘BlockDriverState’ was not declared in this scope int bdrv_media_changed(BlockDriverState *bs); ^ In file included from /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:35:0, from /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:16, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/qapi-types.h:42:5: error: ‘QObject’ does not name a type QObject *value; ^ /home/rohan/Desktop/panda/include/block/block.h:390:42: error: ‘bs’ was not declared in this scope int bdrv_media_changed(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:391:23: error: variable or field ‘bdrv_lock_medium’ declared void void bdrv_lock_medium(BlockDriverState *bs, bool locked); ^ /home/rohan/Desktop/panda/include/block/block.h:391:23: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:391:41: error: ‘bs’ was not declared in this scope void bdrv_lock_medium(BlockDriverState *bs, bool locked); ^ /home/rohan/Desktop/panda/include/block/block.h:391:45: error: expected primary-expression before ‘bool’ void bdrv_lock_medium(BlockDriverState *bs, bool locked); ^ /home/rohan/Desktop/panda/include/block/block.h:392:17: error: variable or field ‘bdrv_eject’ declared void void bdrv_eject(BlockDriverState *bs, bool eject_flag); ^ /home/rohan/Desktop/panda/include/block/block.h:392:17: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:392:35: error: ‘bs’ was not declared in this scope void bdrv_eject(BlockDriverState *bs, bool eject_flag); ^ /home/rohan/Desktop/panda/include/block/block.h:392:39: error: expected primary-expression before ‘bool’ void bdrv_eject(BlockDriverState *bs, bool eject_flag); ^ /home/rohan/Desktop/panda/include/block/block.h:393:34: error: ‘BlockDriverState’ was not declared in this scope const char *bdrv_get_format_name(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:393:52: error: ‘bs’ was not declared in this scope const char *bdrv_get_format_name(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:394:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_find_node(const char *node_name); ^ /home/rohan/Desktop/panda/include/block/block.h:395:44: error: ‘Error’ was not declared in this scope BlockDeviceInfoList *bdrv_named_nodes_list(Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:395:52: error: ‘errp’ was not declared in this scope BlockDeviceInfoList *bdrv_named_nodes_list(Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:396:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_lookup_bs(const char *device, ^ /home/rohan/Desktop/panda/include/block/block.h:399:26: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); ^ /home/rohan/Desktop/panda/include/block/block.h:399:44: error: ‘top’ was not declared in this scope bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); ^ /home/rohan/Desktop/panda/include/block/block.h:399:49: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); ^ /home/rohan/Desktop/panda/include/block/block.h:399:67: error: ‘base’ was not declared in this scope bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); ^ /home/rohan/Desktop/panda/include/block/block.h:399:71: warning: expression list treated as compound expression in initializer [-fpermissive] bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); ^ /home/rohan/Desktop/panda/include/block/block.h:400:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_next_node(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:407:5: error: ‘BlockBackend’ does not name a type BlockBackend *blk; ^ /home/rohan/Desktop/panda/include/block/block.h:408:5: error: ‘BlockDriverState’ does not name a type BlockDriverState *bs; ^ /home/rohan/Desktop/panda/include/block/block.h:411:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_first(BdrvNextIterator *it); ^ /home/rohan/Desktop/panda/include/block/block.h:412:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_next(BdrvNextIterator *it); ^ /home/rohan/Desktop/panda/include/block/block.h:414:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_next_monitor_owned(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:415:24: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_is_encrypted(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:415:42: error: ‘bs’ was not declared in this scope bool bdrv_is_encrypted(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:416:24: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_key_required(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:416:42: error: ‘bs’ was not declared in this scope bool bdrv_key_required(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:417:18: error: ‘BlockDriverState’ was not declared in this scope int bdrv_set_key(BlockDriverState *bs, const char *key); ^ /home/rohan/Desktop/panda/include/block/block.h:417:36: error: ‘bs’ was not declared in this scope int bdrv_set_key(BlockDriverState *bs, const char *key); ^ /home/rohan/Desktop/panda/include/block/block.h:417:40: error: expected primary-expression before ‘const’ int bdrv_set_key(BlockDriverState *bs, const char *key); ^ /home/rohan/Desktop/panda/include/block/block.h:417:55: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_set_key(BlockDriverState *bs, const char *key); ^ /home/rohan/Desktop/panda/include/block/block.h:418:19: error: variable or field ‘bdrv_add_key’ declared void void bdrv_add_key(BlockDriverState *bs, const char *key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:418:19: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:418:37: error: ‘bs’ was not declared in this scope void bdrv_add_key(BlockDriverState *bs, const char *key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:418:41: error: expected primary-expression before ‘const’ void bdrv_add_key(BlockDriverState *bs, const char *key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:418:58: error: ‘Error’ was not declared in this scope void bdrv_add_key(BlockDriverState *bs, const char *key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:418:66: error: ‘errp’ was not declared in this scope void bdrv_add_key(BlockDriverState *bs, const char *key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:421:38: error: ‘BlockDriverState’ does not name a type const char *bdrv_get_node_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:421:56: warning: ISO C++ forbids declaration of ‘bs’ with no type [-fpermissive] const char *bdrv_get_node_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:422:40: error: ‘BlockDriverState’ does not name a type const char *bdrv_get_device_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:422:58: warning: ISO C++ forbids declaration of ‘bs’ with no type [-fpermissive] const char *bdrv_get_device_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:423:48: error: ‘BlockDriverState’ does not name a type const char *bdrv_get_device_or_node_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:423:66: warning: ISO C++ forbids declaration of ‘bs’ with no type [-fpermissive] const char *bdrv_get_device_or_node_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:424:20: error: ‘BlockDriverState’ was not declared in this scope int bdrv_get_flags(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:424:38: error: ‘bs’ was not declared in this scope int bdrv_get_flags(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:425:19: error: ‘BlockDriverState’ was not declared in this scope int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); ^ /home/rohan/Desktop/panda/include/block/block.h:425:37: error: ‘bs’ was not declared in this scope int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); ^ /home/rohan/Desktop/panda/include/block/block.h:425:57: error: expected primary-expression before ‘*’ token int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); ^ /home/rohan/Desktop/panda/include/block/block.h:425:58: error: ‘bdi’ was not declared in this scope int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); ^ /home/rohan/Desktop/panda/include/block/block.h:425:61: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); ^ /home/rohan/Desktop/panda/include/block/block.h:426:43: error: ‘BlockDriverState’ was not declared in this scope ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:426:61: error: ‘bs’ was not declared in this scope ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:427:37: error: variable or field ‘bdrv_round_sectors_to_clusters’ declared void void bdrv_round_sectors_to_clusters(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:427:37: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:427:55: error: ‘bs’ was not declared in this scope void bdrv_round_sectors_to_clusters(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:428:45: error: expected primary-expression before ‘sector_num’ int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:428:57: error: expected primary-expression before ‘int’ int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:429:45: error: expected primary-expression before ‘*’ token int64_t *cluster_sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:429:46: error: ‘cluster_sector_num’ was not declared in this scope int64_t *cluster_sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:430:37: error: expected primary-expression before ‘int’ int *cluster_nb_sectors); ^ /home/rohan/Desktop/panda/include/block/block.h:431:29: error: variable or field ‘bdrv_round_to_clusters’ declared void void bdrv_round_to_clusters(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:431:29: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:431:47: error: ‘bs’ was not declared in this scope void bdrv_round_to_clusters(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:432:37: error: expected primary-expression before ‘offset’ int64_t offset, unsigned int bytes, ^ /home/rohan/Desktop/panda/include/block/block.h:432:45: error: expected primary-expression before ‘unsigned’ int64_t offset, unsigned int bytes, ^ /home/rohan/Desktop/panda/include/block/block.h:433:37: error: expected primary-expression before ‘*’ token int64_t *cluster_offset, ^ /home/rohan/Desktop/panda/include/block/block.h:433:38: error: ‘cluster_offset’ was not declared in this scope int64_t *cluster_offset, ^ /home/rohan/Desktop/panda/include/block/block.h:434:29: error: expected primary-expression before ‘unsigned’ unsigned int *cluster_bytes); ^ /home/rohan/Desktop/panda/include/block/block.h:436:41: error: ‘BlockDriverState’ was not declared in this scope const char *bdrv_get_encrypted_filename(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:436:59: error: ‘bs’ was not declared in this scope const char *bdrv_get_encrypted_filename(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:437:32: error: variable or field ‘bdrv_get_backing_filename’ declared void void bdrv_get_backing_filename(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:437:32: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:437:50: error: ‘bs’ was not declared in this scope void bdrv_get_backing_filename(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:438:32: error: expected primary-expression before ‘char’ char *filename, int filename_size); ^ /home/rohan/Desktop/panda/include/block/block.h:438:48: error: expected primary-expression before ‘int’ char *filename, int filename_size); ^ /home/rohan/Desktop/panda/include/block/block.h:439:37: error: variable or field ‘bdrv_get_full_backing_filename’ declared void void bdrv_get_full_backing_filename(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:439:37: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:439:55: error: ‘bs’ was not declared in this scope void bdrv_get_full_backing_filename(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:440:37: error: expected primary-expression before ‘char’ char *dest, size_t sz, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:440:56: error: expected primary-expression before ‘sz’ char *dest, size_t sz, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:440:60: error: ‘Error’ was not declared in this scope char *dest, size_t sz, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:440:68: error: ‘errp’ was not declared in this scope char *dest, size_t sz, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:444:51: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:452:24: error: ‘BlockDriverState’ was not declared in this scope int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:452:42: error: ‘bs’ was not declared in this scope int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:452:59: error: expected primary-expression before ‘*’ token int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:452:60: error: ‘qiov’ was not declared in this scope int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:452:74: error: expected primary-expression before ‘pos’ int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:452:77: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:25: error: ‘BlockDriverState’ was not declared in this scope int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:43: error: ‘bs’ was not declared in this scope int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:60: error: expected primary-expression before ‘*’ token int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:61: error: ‘qiov’ was not declared in this scope int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:75: error: expected primary-expression before ‘pos’ int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:78: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:454:23: error: ‘BlockDriverState’ was not declared in this scope int bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:454:41: error: ‘bs’ was not declared in this scope int bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:454:45: error: expected primary-expression before ‘const’ int bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:455:31: error: expected primary-expression before ‘pos’ int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:455:36: error: expected primary-expression before ‘int’ int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:455:44: warning: expression list treated as compound expression in initializer [-fpermissive] int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:457:23: error: ‘BlockDriverState’ was not declared in this scope int bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:457:41: error: ‘bs’ was not declared in this scope int bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:457:53: error: expected primary-expression before ‘*’ token int bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:457:54: error: ‘buf’ was not declared in this scope int bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:458:31: error: expected primary-expression before ‘pos’ int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:458:36: error: expected primary-expression before ‘int’ int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:458:44: warning: expression list treated as compound expression in initializer [-fpermissive] int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:463:22: error: ‘Error’ has not been declared Error **errp, bool quiet); ^ /home/rohan/Desktop/panda/include/block/block.h:467:27: error: ‘BlockDriverState’ was not declared in this scope size_t bdrv_min_mem_align(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:467:45: error: ‘bs’ was not declared in this scope size_t bdrv_min_mem_align(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:469:27: error: ‘BlockDriverState’ was not declared in this scope size_t bdrv_opt_mem_align(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:469:45: error: ‘bs’ was not declared in this scope size_t bdrv_opt_mem_align(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:470:23: error: ‘BlockDriverState’ was not declared in this scope void *qemu_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:470:41: error: ‘bs’ was not declared in this scope void *qemu_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:470:52: error: expected primary-expression before ‘size’ void *qemu_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:470:56: warning: expression list treated as compound expression in initializer [-fpermissive] void *qemu_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:471:24: error: ‘BlockDriverState’ was not declared in this scope void *qemu_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:471:42: error: ‘bs’ was not declared in this scope void *qemu_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:471:53: error: expected primary-expression before ‘size’ void *qemu_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:471:57: warning: expression list treated as compound expression in initializer [-fpermissive] void *qemu_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:472:27: error: ‘BlockDriverState’ was not declared in this scope void *qemu_try_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:472:45: error: ‘bs’ was not declared in this scope void *qemu_try_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:472:56: error: expected primary-expression before ‘size’ void *qemu_try_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:472:60: warning: expression list treated as compound expression in initializer [-fpermissive] void *qemu_try_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:473:28: error: ‘BlockDriverState’ was not declared in this scope void *qemu_try_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:473:46: error: ‘bs’ was not declared in this scope void *qemu_try_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:473:57: error: expected primary-expression before ‘size’ void *qemu_try_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:473:61: warning: expression list treated as compound expression in initializer [-fpermissive] void *qemu_try_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:474:27: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov); ^ /home/rohan/Desktop/panda/include/block/block.h:474:45: error: ‘bs’ was not declared in this scope bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov); ^ /home/rohan/Desktop/panda/include/block/block.h:474:62: error: expected primary-expression before ‘*’ token bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov); ^ /home/rohan/Desktop/panda/include/block/block.h:474:63: error: ‘qiov’ was not declared in this scope bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov); ^ /home/rohan/Desktop/panda/include/block/block.h:474:67: warning: expression list treated as compound expression in initializer [-fpermissive] bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov); ^ /home/rohan/Desktop/panda/include/block/block.h:476:31: error: variable or field ‘bdrv_enable_copy_on_read’ declared void void bdrv_enable_copy_on_read(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:476:31: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:476:49: error: ‘bs’ was not declared in this scope void bdrv_enable_copy_on_read(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:477:32: error: variable or field ‘bdrv_disable_copy_on_read’ declared void void bdrv_disable_copy_on_read(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:477:32: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:477:50: error: ‘bs’ was not declared in this scope void bdrv_disable_copy_on_read(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:479:15: error: variable or field ‘bdrv_ref’ declared void void bdrv_ref(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:479:15: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:479:33: error: ‘bs’ was not declared in this scope void bdrv_ref(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:480:17: error: variable or field ‘bdrv_unref’ declared void void bdrv_unref(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:480:17: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:480:35: error: ‘bs’ was not declared in this scope void bdrv_unref(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:481:23: error: variable or field ‘bdrv_unref_child’ declared void void bdrv_unref_child(BlockDriverState *parent, BdrvChild *child); ^ /home/rohan/Desktop/panda/include/block/block.h:481:23: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/qapi-types.h:2531:11: error: expected unqualified-id before ‘export’ char *export; ^ /home/rohan/Desktop/panda/include/block/block.h:481:41: error: ‘parent’ was not declared in this scope void bdrv_unref_child(BlockDriverState *parent, BdrvChild *child); ^ /home/rohan/Desktop/panda/include/block/block.h:481:59: error: expected primary-expression before ‘*’ token void bdrv_unref_child(BlockDriverState *parent, BdrvChild *child); ^ /home/rohan/Desktop/panda/include/block/block.h:481:60: error: ‘child’ was not declared in this scope void bdrv_unref_child(BlockDriverState *parent, BdrvChild *child); ^ /home/rohan/Desktop/panda/qapi-types.h:2531:10: error: expected ‘;’ at end of member declaration char *export; ^ /home/rohan/Desktop/panda/include/block/block.h:482:30: error: ‘BlockDriverState’ was not declared in this scope BdrvChild *bdrv_attach_child(BlockDriverState *parent_bs, ^ /home/rohan/Desktop/panda/include/block/block.h:482:48: error: ‘parent_bs’ was not declared in this scope BdrvChild *bdrv_attach_child(BlockDriverState *parent_bs, ^ /home/rohan/Desktop/panda/include/block/block.h:483:30: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState *child_bs, ^ /home/rohan/Desktop/panda/qapi-types.h:2531:11: error: expected unqualified-id before ‘export’ char *export; ^ /home/rohan/Desktop/panda/include/block/block.h:483:48: error: ‘child_bs’ was not declared in this scope BlockDriverState *child_bs, ^ /home/rohan/Desktop/panda/include/block/block.h:484:30: error: expected primary-expression before ‘const’ const char *child_name, ^ /home/rohan/Desktop/panda/include/block/block.h:485:30: error: expected primary-expression before ‘const’ const BdrvChildRole *child_role); ^ /home/rohan/Desktop/panda/include/block/block.h:485:61: warning: expression list treated as compound expression in initializer [-fpermissive] const BdrvChildRole *child_role); ^ /home/rohan/Desktop/panda/include/block/block.h:487:25: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:487:43: error: ‘bs’ was not declared in this scope bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:487:59: error: expected primary-expression before ‘op’ bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:487:63: error: ‘Error’ was not declared in this scope bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:487:71: error: ‘errp’ was not declared in this scope bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:487:75: warning: expression list treated as compound expression in initializer [-fpermissive] bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:488:20: error: variable or field ‘bdrv_op_block’ declared void void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:488:20: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:488:38: error: ‘bs’ was not declared in this scope void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:488:54: error: expected primary-expression before ‘op’ void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:488:58: error: ‘Error’ was not declared in this scope void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:488:65: error: ‘reason’ was not declared in this scope void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:489:22: error: variable or field ‘bdrv_op_unblock’ declared void void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:489:22: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:489:40: error: ‘bs’ was not declared in this scope void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:489:56: error: expected primary-expression before ‘op’ void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:489:60: error: ‘Error’ was not declared in this scope void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:489:67: error: ‘reason’ was not declared in this scope void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:490:24: error: variable or field ‘bdrv_op_block_all’ declared void void bdrv_op_block_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:490:24: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:490:42: error: ‘bs’ was not declared in this scope void bdrv_op_block_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:490:46: error: ‘Error’ was not declared in this scope void bdrv_op_block_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:490:53: error: ‘reason’ was not declared in this scope void bdrv_op_block_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:491:26: error: variable or field ‘bdrv_op_unblock_all’ declared void void bdrv_op_unblock_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:491:26: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:491:44: error: ‘bs’ was not declared in this scope void bdrv_op_unblock_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:491:48: error: ‘Error’ was not declared in this scope void bdrv_op_unblock_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:491:55: error: ‘reason’ was not declared in this scope void bdrv_op_unblock_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:492:31: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_op_blocker_is_empty(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:492:49: error: ‘bs’ was not declared in this scope bool bdrv_op_blocker_is_empty(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:501:23: error: variable or field ‘bdrv_debug_event’ declared void void bdrv_debug_event(BlockDriverState *bs, BlkdebugEvent event); ^ /home/rohan/Desktop/panda/include/block/block.h:501:23: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:501:41: error: ‘bs’ was not declared in this scope void bdrv_debug_event(BlockDriverState *bs, BlkdebugEvent event); ^ /home/rohan/Desktop/panda/include/block/block.h:501:59: error: expected primary-expression before ‘event’ void bdrv_debug_event(BlockDriverState *bs, BlkdebugEvent event); ^ /home/rohan/Desktop/panda/include/block/block.h:503:27: error: ‘BlockDriverState’ was not declared in this scope int bdrv_debug_breakpoint(BlockDriverState *bs, const char *event, ^ /home/rohan/Desktop/panda/include/block/block.h:503:45: error: ‘bs’ was not declared in this scope int bdrv_debug_breakpoint(BlockDriverState *bs, const char *event, ^ /home/rohan/Desktop/panda/include/block/block.h:503:49: error: expected primary-expression before ‘const’ int bdrv_debug_breakpoint(BlockDriverState *bs, const char *event, ^ /home/rohan/Desktop/panda/include/block/block.h:504:28: error: expected primary-expression before ‘const’ const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:504:43: warning: expression list treated as compound expression in initializer [-fpermissive] const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:505:34: error: ‘BlockDriverState’ was not declared in this scope int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:505:52: error: ‘bs’ was not declared in this scope int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:505:56: error: expected primary-expression before ‘const’ int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:505:71: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:506:23: error: ‘BlockDriverState’ was not declared in this scope int bdrv_debug_resume(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:506:41: error: ‘bs’ was not declared in this scope int bdrv_debug_resume(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:506:45: error: expected primary-expression before ‘const’ int bdrv_debug_resume(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:506:60: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_debug_resume(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:507:30: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:507:48: error: ‘bs’ was not declared in this scope bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:507:52: error: expected primary-expression before ‘const’ bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:507:67: warning: expression list treated as compound expression in initializer [-fpermissive] bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:514:34: error: ‘BlockDriverState’ was not declared in this scope AioContext *bdrv_get_aio_context(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:514:52: error: ‘bs’ was not declared in this scope AioContext *bdrv_get_aio_context(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:524:27: error: variable or field ‘bdrv_set_aio_context’ declared void void bdrv_set_aio_context(BlockDriverState *bs, AioContext *new_context); ^ /home/rohan/Desktop/panda/include/block/block.h:524:27: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:524:45: error: ‘bs’ was not declared in this scope void bdrv_set_aio_context(BlockDriverState *bs, AioContext *new_context); ^ /home/rohan/Desktop/panda/include/block/block.h:524:60: error: expected primary-expression before ‘*’ token void bdrv_set_aio_context(BlockDriverState *bs, AioContext *new_context); ^ /home/rohan/Desktop/panda/include/block/block.h:524:61: error: ‘new_context’ was not declared in this scope void bdrv_set_aio_context(BlockDriverState *bs, AioContext *new_context); ^ /home/rohan/Desktop/panda/include/block/block.h:525:27: error: ‘BlockDriverState’ was not declared in this scope int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz); ^ /home/rohan/Desktop/panda/include/block/block.h:525:45: error: ‘bs’ was not declared in this scope int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz); ^ /home/rohan/Desktop/panda/include/block/block.h:525:60: error: expected primary-expression before ‘*’ token int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz); ^ /home/rohan/Desktop/panda/include/block/block.h:525:61: error: ‘bsz’ was not declared in this scope int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz); ^ /home/rohan/Desktop/panda/include/block/block.h:525:64: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz); ^ /home/rohan/Desktop/panda/include/block/block.h:526:25: error: ‘BlockDriverState’ was not declared in this scope int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo); ^ /home/rohan/Desktop/panda/include/block/block.h:526:43: error: ‘bs’ was not declared in this scope int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo); ^ /home/rohan/Desktop/panda/include/block/block.h:526:58: error: expected primary-expression before ‘*’ token int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo); ^ /home/rohan/Desktop/panda/include/block/block.h:526:59: error: ‘geo’ was not declared in this scope int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo); ^ /home/rohan/Desktop/panda/include/block/block.h:526:62: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo); ^ /home/rohan/Desktop/panda/include/block/block.h:528:19: error: variable or field ‘bdrv_io_plug’ declared void void bdrv_io_plug(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:528:19: error: ‘BlockDriverState’ was not declared in this scope sktop/panda/include/qapi/qmp/qdict.h:16, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/qapi-types.h:3275:5: error: ‘QObject’ does not name a type QObject *props; ^ /home/rohan/Desktop/panda/include/block/block.h:528:37: error: ‘bs’ was not declared in this scope void bdrv_io_plug(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:529:21: error: variable or field ‘bdrv_io_unplug’ declared void void bdrv_io_unplug(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:529:21: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:529:39: error: ‘bs’ was not declared in this scope void bdrv_io_unplug(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:541:25: error: variable or field ‘bdrv_drained_begin’ declared void void bdrv_drained_begin(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:541:25: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:541:43: error: ‘bs’ was not declared in this scope void bdrv_drained_begin(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:548:23: error: variable or field ‘bdrv_drained_end’ declared void void bdrv_drained_end(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:548:23: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:548:41: error: ‘bs’ was not declared in this scope void bdrv_drained_end(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:550:21: error: variable or field ‘bdrv_add_child’ declared void void bdrv_add_child(BlockDriverState *parent, BlockDriverState *child, ^ /home/rohan/Desktop/panda/include/block/block.h:550:21: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:550:39: error: ‘parent’ was not declared in this scope void bdrv_add_child(BlockDriverState *parent, BlockDriverState *child, ^ /home/rohan/Desktop/panda/include/block/block.h:550:47: error: ‘BlockDriverState’ was not declared in this scope void bdrv_add_child(BlockDriverState *parent, BlockDriverState *child, ^ /home/rohan/Desktop/panda/include/block/block.h:550:65: error: ‘child’ was not declared in this scope void bdrv_add_child(BlockDriverState *parent, BlockDriverState *child, ^ /home/rohan/Desktop/panda/include/block/block.h:551:21: error: ‘Error’ was not declared in this scope Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:551:29: error: ‘errp’ was not declared in this scope Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:21: error: variable or field ‘bdrv_del_child’ declared void void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:21: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:552:39: error: ‘parent’ was not declared in this scope void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:57: error: expected primary-expression before ‘*’ token void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:58: error: ‘child’ was not declared in this scope void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:65: error: ‘Error’ was not declared in this scope void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:73: error: ‘errp’ was not declared in this scope void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/monitor/monitor.h:7:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/readline.h:8:26: error: typedef ‘GCC_FMT_ATTR’ is initialized (use decltype instead) typedef void GCC_FMT_ATTR(2, 3) ReadLinePrintfFunc(void *opaque, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:41:5: error: ‘ReadLinePrintfFunc’ does not name a type ReadLinePrintfFunc *printf_func; ^ /home/rohan/Desktop/panda/include/qemu/readline.h:58:30: error: ‘ReadLinePrintfFunc’ was not declared in this scope ReadLineState *readline_init(ReadLinePrintfFunc *printf_func, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:58:50: error: ‘printf_func’ was not declared in this scope ReadLineState *readline_init(ReadLinePrintfFunc *printf_func, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:59:48: error: expected primary-expression before ‘*’ token ReadLineFlushFunc *flush_func, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:59:49: error: ‘flush_func’ was not declared in this scope ReadLineFlushFunc *flush_func, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:60:30: error: expected primary-expression before ‘void’ void *opaque, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:61:53: error: expected primary-expression before ‘*’ token ReadLineCompletionFunc *completion_finder); ^ /home/rohan/Desktop/panda/include/qemu/readline.h:61:54: error: ‘completion_finder’ was not declared in this scope ReadLineCompletionFunc *completion_finder); ^ /home/rohan/Desktop/panda/include/qemu/readline.h:61:71: warning: expression list treated as compound expression in initializer [-fpermissive] ReadLineCompletionFunc *completion_finder); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56:0: /home/rohan/Desktop/panda/include/monitor/monitor.h:9:8: error: ‘Monitor’ does not name a type extern Monitor *cur_mon; ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:19:19: error: variable or field ‘monitor_init’ declared void void monitor_init(Chardev *chr, int flags); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:19:19: error: ‘Chardev’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:19:28: error: ‘chr’ was not declared in this scope void monitor_init(Chardev *chr, int flags); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:19:33: error: expected primary-expression before ‘int’ void monitor_init(Chardev *chr, int flags); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:22:21: error: ‘Monitor’ was not declared in this scope int monitor_suspend(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:22:30: error: ‘mon’ was not declared in this scope int monitor_suspend(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:23:21: error: variable or field ‘monitor_resume’ declared void void monitor_resume(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:23:21: error: ‘Monitor’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:23:30: error: ‘mon’ was not declared in this scope void monitor_resume(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:25:33: error: ‘Monitor’ was not declared in this scope int monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:25:42: error: ‘mon’ was not declared in this scope int monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:25:47: error: ‘BlockDriverState’ was not declared in this scope int monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:25:65: error: ‘bs’ was not declared in this scope int monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:26:53: error: expected primary-expression before ‘*’ token BlockCompletionFunc *completion_cb, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:26:54: error: ‘completion_cb’ was not declared in this scope BlockCompletionFunc *completion_cb, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:27:33: error: expected primary-expression before ‘void’ void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:27:45: warning: expression list treated as compound expression in initializer [-fpermissive] void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:28:35: error: ‘Monitor’ was not declared in this scope int monitor_read_block_device_key(Monitor *mon, const char *device, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:28:44: error: ‘mon’ was not declared in this scope int monitor_read_block_device_key(Monitor *mon, const char *device, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:28:49: error: expected primary-expression before ‘const’ int monitor_read_block_device_key(Monitor *mon, const char *device, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:29:55: error: expected primary-expression before ‘*’ token BlockCompletionFunc *completion_cb, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:29:56: error: ‘completion_cb’ was not declared in this scope BlockCompletionFunc *completion_cb, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:30:35: error: expected primary-expression before ‘void’ void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:30:47: warning: expression list treated as compound expression in initializer [-fpermissive] void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:20: error: ‘Monitor’ was not declared in this scope int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:29: error: ‘mon’ was not declared in this scope int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:34: error: expected primary-expression before ‘const’ int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:54: error: ‘Error’ was not declared in this scope int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:62: error: ‘errp’ was not declared in this scope int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:66: warning: expression list treated as compound expression in initializer [-fpermissive] int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:22: error: ‘Monitor’ was not declared in this scope int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:31: error: ‘mon’ was not declared in this scope int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:36: error: expected primary-expression before ‘const’ int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:56: error: ‘Error’ was not declared in this scope int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:64: error: ‘errp’ was not declared in this scope int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:68: warning: expression list treated as compound expression in initializer [-fpermissive] int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:35:22: error: variable or field ‘monitor_vprintf’ declared void void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap) ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:35:22: error: ‘Monitor’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:35:31: error: ‘mon’ was not declared in this scope void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap) ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:35:36: error: expected primary-expression before ‘const’ void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap) ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:35:61: error: expected primary-expression before ‘ap’ void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap) ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:37:21: error: variable or field ‘monitor_printf’ declared void void monitor_printf(Monitor *mon, const char *fmt, ...) GCC_FMT_ATTR(2, 3); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:37:21: error: ‘Monitor’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:37:30: error: ‘mon’ was not declared in this scope void monitor_printf(Monitor *mon, const char *fmt, ...) GCC_FMT_ATTR(2, 3); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:37:35: error: expected primary-expression before ‘const’ void monitor_printf(Monitor *mon, const char *fmt, ...) GCC_FMT_ATTR(2, 3); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:37:52: error: expected primary-expression before ‘...’ token void monitor_printf(Monitor *mon, const char *fmt, ...) GCC_FMT_ATTR(2, 3); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:38:57: error: expected initializer before ‘GCC_FMT_ATTR’ int monitor_fprintf(FILE *stream, const char *fmt, ...) GCC_FMT_ATTR(2, 3); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:39:20: error: variable or field ‘monitor_flush’ declared void void monitor_flush(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:39:20: error: ‘Monitor’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:39:29: error: ‘mon’ was not declared in this scope void monitor_flush(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:43:27: error: variable or field ‘monitor_read_command’ declared void void monitor_read_command(Monitor *mon, int show_prompt); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:43:27: error: ‘Monitor’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:43:36: error: ‘mon’ was not declared in this scope void monitor_read_command(Monitor *mon, int show_prompt); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:43:41: error: expected primary-expression before ‘int’ void monitor_read_command(Monitor *mon, int show_prompt); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:44:27: error: ‘Monitor’ was not declared in this scope int monitor_read_password(Monitor *mon, ReadLineFunc *readline_func, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:44:36: error: ‘mon’ was not declared in this scope int monitor_read_password(Monitor *mon, ReadLineFunc *readline_func, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:44:54: error: expected primary-expression before ‘*’ token int monitor_read_password(Monitor *mon, ReadLineFunc *readline_func, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:44:55: error: ‘readline_func’ was not declared in this scope int monitor_read_password(Monitor *mon, ReadLineFunc *readline_func, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:45:27: error: expected primary-expression before ‘void’ void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:45:39: warning: expression list treated as compound expression in initializer [-fpermissive] void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:49:33: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/qapi-types.h:4779:5: error: ‘QObject’ does not name a type QObject *q_default; ^ /home/rohan/Desktop/panda/qapi-types.h:5785:5: error: ‘QObject’ does not name a type QObject *props; ^ /home/rohan/Desktop/panda/qapi-types.h:5821:5: error: ‘QObject’ does not name a type QObject *value; ^ In file included from /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:16:0, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘void qobject_init(QObject*, QType)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:56:50: error: ‘assert’ was not declared in this scope assert(QTYPE_NONE < type && type < QTYPE__MAX); ^ /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘void qobject_decref(QObject*)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:81:31: error: ‘assert’ was not declared in this scope assert(!obj || obj->refcnt); ^ /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘QType qobject_type(const QObject*)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:92:60: error: ‘assert’ was not declared in this scope assert(QTYPE_NONE < obj->type && obj->type < QTYPE__MAX); ^ In file included from /home/rohan/Desktop/panda/include/qemu/option.h:30:0, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h: At global scope: /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:76:42: error: ‘Error’ has not been declared QObject *qdict_crumple(const QDict *src, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qemu-common.h:19:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/option.h:41:39: error: ‘Error’ has not been declared uint64_t *ret, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:81:1: error: ‘QemuOpt’ does not name a type QemuOpt *qemu_opt_find(QemuOpts *opts, const char *name); ^ /home/rohan/Desktop/panda/include/qemu/option.h:92:19: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:94:24: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:96:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:99:34: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:101:22: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:105:48: error: ‘Error’ has not been declared int fail_if_exists, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:109:57: error: ‘Error’ has not been declared const char *name, const char *value, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:113:66: error: ‘Error’ has not been declared void qemu_opts_validate(QemuOpts *opts, const QemuOptDesc *desc, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:115:48: error: ‘Error’ has not been declared const char *firstname, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:119:47: error: ‘Error’ has not been declared bool permit_abbrev, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:123:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:125:59: error: ‘Error’ has not been declared void qemu_opts_absorb_qdict(QemuOpts *opts, QDict *qdict, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:127:65: error: ‘Error’ has not been declared typedef int (*qemu_opts_loopfunc)(void *opaque, QemuOpts *opts, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:129:37: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:52:5: error: expected initializer before ‘QEMU_WARN_UNUSED_RESULT’ QEMU_WARN_UNUSED_RESULT; ^ /home/rohan/Desktop/panda/include/qemu-common.h:83:27: error: variable or field ‘cpu_exec_step_atomic’ declared void void cpu_exec_step_atomic(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qemu-common.h:83:27: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qemu-common.h:83:37: error: ‘cpu’ was not declared in this scope void cpu_exec_step_atomic(CPUState *cpu); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:147:35: error: ‘MACAddr’ does not name a type const char *qemu_ether_ntoa(const MACAddr *mac); ^ /home/rohan/Desktop/panda/include/qemu-common.h:147:44: warning: ISO C++ forbids declaration of ‘mac’ with no type [-fpermissive] const char *qemu_ether_ntoa(const MACAddr *mac); ^ In file included from /home/rohan/Desktop/panda/include/qemu/host-utils.h:29:0, from /home/rohan/Desktop/panda/include/qemu/bitops.h:16, from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t be16_to_cpu(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t cpu_to_be16(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be16_to_cpus(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be16s(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t be32_to_cpu(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t cpu_to_be32(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be32_to_cpus(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be32s(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t be64_to_cpu(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t cpu_to_be64(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be64_to_cpus(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be64s(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t le16_to_cpu(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t cpu_to_le16(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le16_to_cpus(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le16s(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t le32_to_cpu(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t cpu_to_le32(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le32_to_cpus(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le32s(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t le64_to_cpu(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t cpu_to_le64(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le64_to_cpus(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le64s(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int lduw_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:317:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldsw_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:324:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stw_he_p(void*, uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:330:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldl_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:336:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stl_he_p(void*, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:342:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t ldq_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:348:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stq_he_p(void*, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:354:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int lduw_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:424:22: note: in expansion of macro ‘be_bswap’ return (uint16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:424:22: note: in expansion of macro ‘be_bswap’ return (uint16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldsw_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:429:21: note: in expansion of macro ‘be_bswap’ return (int16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:429:21: note: in expansion of macro ‘be_bswap’ return (int16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldl_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:434:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldl_he_p(ptr), 32); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:434:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldl_he_p(ptr), 32); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t ldq_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:439:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldq_he_p(ptr), 64); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:439:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldq_he_p(ptr), 64); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stw_be_p(void*, uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:444:19: note: in expansion of macro ‘be_bswap’ stw_he_p(ptr, be_bswap(v, 16)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:444:19: note: in expansion of macro ‘be_bswap’ stw_he_p(ptr, be_bswap(v, 16)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stl_be_p(void*, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:449:19: note: in expansion of macro ‘be_bswap’ stl_he_p(ptr, be_bswap(v, 32)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:449:19: note: in expansion of macro ‘be_bswap’ stl_he_p(ptr, be_bswap(v, 32)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stq_be_p(void*, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:454:19: note: in expansion of macro ‘be_bswap’ stq_he_p(ptr, be_bswap(v, 64)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:454:19: note: in expansion of macro ‘be_bswap’ stq_he_p(ptr, be_bswap(v, 64)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘long unsigned int leul_to_cpu(long unsigned int)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:496:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void set_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:37:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void set_bit_atomic(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:50:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void clear_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:63:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void change_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:76:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_set_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:89:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_clear_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:104:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_change_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:119:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_bit(long int, const long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:24:41: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:134:24: note: in expansion of macro ‘BIT_WORD’ return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘long unsigned int find_first_bit(const long unsigned int*, long unsigned int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:180:47: note: in expansion of macro ‘BITS_PER_LONG’ for (result = 0; result < size; result += BITS_PER_LONG) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:183:31: error: ‘ctzl’ was not declared in this scope result += ctzl(tmp); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint32_t extract32(uint32_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:309:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint64_t extract64(uint64_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:328:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int32_t sextract32(uint32_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:350:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int64_t sextract64(uint64_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:375:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint32_t deposit32(uint32_t, int, int, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:403:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint64_t deposit64(uint64_t, int, int, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:429:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘long unsigned int* bitmap_try_new(long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:88:16: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:88:16: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:89:47: error: ‘g_try_malloc0’ was not declared in this scope return (unsigned long *) g_try_malloc0(len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_zero(long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:103:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:106:20: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:107:27: error: ‘memset’ was not declared in this scope memset(dst, 0, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_fill(long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:113:21: note: in expansion of macro ‘BITS_TO_LONGS’ size_t nlongs = BITS_TO_LONGS(nbits); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:113:21: note: in expansion of macro ‘BITS_TO_LONGS’ size_t nlongs = BITS_TO_LONGS(nbits); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:116:31: error: ‘memset’ was not declared in this scope memset(dst, 0xff, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_copy(long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:124:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:127:20: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:128:29: error: ‘memcpy’ was not declared in this scope memcpy(dst, src, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_and(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:135:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_or(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:144:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_xor(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:154:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_andnot(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:164:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_complement(long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:174:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_equal(const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:184:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_empty(const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:193:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_full(const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:202:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_intersects(const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:212:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘long unsigned int* bitmap_zero_extend(long unsigned int*, long int, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:232:20: note: in expansion of macro ‘BITS_TO_LONGS’ long new_len = BITS_TO_LONGS(new_nbits) * sizeof(unsigned long); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:232:20: note: in expansion of macro ‘BITS_TO_LONGS’ long new_len = BITS_TO_LONGS(new_nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:233:69: error: ‘g_realloc’ was not declared in this scope unsigned long *newfoo = (unsigned long *) g_realloc(old, new_len); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/object.h: At global scope: /home/rohan/Desktop/panda/include/qom/object.h:296:39: error: ‘Visitor’ has not been declared Visitor *v, ^ /home/rohan/Desktop/panda/include/qom/object.h:299:39: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:334:5: error: ‘gchar’ does not name a type gchar *name; ^ /home/rohan/Desktop/panda/include/qom/object.h:335:5: error: ‘gchar’ does not name a type gchar *type; ^ /home/rohan/Desktop/panda/include/qom/object.h:336:5: error: ‘gchar’ does not name a type gchar *description; ^ /home/rohan/Desktop/panda/include/qom/object.h:373:5: error: ‘GSList’ does not name a type GSList *interfaces; ^ /home/rohan/Desktop/panda/include/qom/object.h:380:5: error: ‘GHashTable’ does not name a type GHashTable *properties; ^ /home/rohan/Desktop/panda/include/qom/object.h:400:5: error: ‘GHashTable’ does not name a type GHashTable *properties; ^ /home/rohan/Desktop/panda/include/qom/object.h:587:32: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new(const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:638:43: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new_with_props(const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:642:36: error: expected initializer before ‘QEMU_SENTINEL’ ...) QEMU_SENTINEL; ^ /home/rohan/Desktop/panda/include/qom/object.h:654:43: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new_with_propv(const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:700:22: error: ‘Error’ has not been declared Error **errp, ^ /home/rohan/Desktop/panda/include/qom/object.h:701:27: error: expected initializer before ‘QEMU_SENTINEL’ ...) QEMU_SENTINEL; ^ /home/rohan/Desktop/panda/include/qom/object.h:714:22: error: ‘Error’ has not been declared Error **errp, ^ /home/rohan/Desktop/panda/include/qom/object.h:727:60: error: expected ‘,’ or ‘...’ before ‘typename’ void object_initialize(void *obj, size_t size, const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:739:54: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_dynamic_cast(Object *obj, const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:750:61: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_dynamic_cast_assert(Object *obj, const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:803:59: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:822:52: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:854:47: error: expected ‘,’ or ‘...’ before ‘typename’ ObjectClass *object_class_by_name(const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:867:1: error: ‘GSList’ does not name a type GSList *object_class_get_list(const char *implements_type, ^ /home/rohan/Desktop/panda/include/qom/object.h:916:51: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:918:57: error: ‘Error’ has not been declared void object_property_del(Object *obj, const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:925:57: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:936:38: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:938:44: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:942:5: error: ‘GHashTableIter’ does not name a type GHashTableIter iter; ^ /home/rohan/Desktop/panda/include/qom/object.h:999:39: error: ‘Visitor’ has not been declared void object_property_get(Object *obj, Visitor *v, const char *name, ^ /home/rohan/Desktop/panda/include/qom/object.h:1000:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1011:48: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1024:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1035:49: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1048:34: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1059:49: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1071:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1082:48: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1094:33: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1108:42: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1122:56: error: ‘Error’ has not been declared uint16List **list, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1135:39: error: ‘Visitor’ has not been declared void object_property_set(Object *obj, Visitor *v, const char *name, ^ /home/rohan/Desktop/panda/include/qom/object.h:1136:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1148:46: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1161:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1172:38: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1199:1: error: ‘gchar’ does not name a type gchar *object_get_canonical_path_component(Object *obj); ^ /home/rohan/Desktop/panda/include/qom/object.h:1207:1: error: ‘gchar’ does not name a type gchar *object_get_canonical_path(Object *obj); ^ /home/rohan/Desktop/panda/include/qom/object.h:1252:64: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_resolve_path_type(const char *path, const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1265:61: error: ‘gchar’ does not name a type Object *object_resolve_path_component(Object *parent, const gchar *part); ^ /home/rohan/Desktop/panda/include/qom/object.h:1265:68: warning: ISO C++ forbids declaration of ‘part’ with no type [-fpermissive] Object *object_resolve_path_component(Object *parent, const gchar *part); ^ /home/rohan/Desktop/panda/include/qom/object.h:1285:47: error: ‘Error’ has not been declared Object *child, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1300:47: error: ‘Error’ has not been declared Object *, Error **); ^ /home/rohan/Desktop/panda/include/qom/object.h:1333:58: error: ‘Error’ has not been declared Object *val, Error **errp), ^ /home/rohan/Desktop/panda/include/qom/object.h:1335:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1350:53: error: ‘Error’ has not been declared char *(*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1351:66: error: ‘Error’ has not been declared void (*set)(Object *, const char *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1352:30: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1355:59: error: ‘Error’ has not been declared char *(*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1357:48: error: ‘Error’ has not been declared Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1358:36: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1372:53: error: ‘Error’ has not been declared bool (*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1373:59: error: ‘Error’ has not been declared void (*set)(Object *, bool, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1374:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1377:59: error: ‘Error’ has not been declared bool (*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1378:65: error: ‘Error’ has not been declared void (*set)(Object *, bool, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1379:37: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1394:43: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1401:49: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1418:64: error: ‘Error’ has not been declared void (*get)(Object *, struct tm *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1419:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1422:70: error: ‘Error’ has not been declared void (*get)(Object *, struct tm *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1423:35: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1436:54: error: ‘Error’ has not been declared const uint8_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1438:60: error: ‘Error’ has not been declared const uint8_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1451:56: error: ‘Error’ has not been declared const uint16_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1453:62: error: ‘Error’ has not been declared const uint16_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1466:56: error: ‘Error’ has not been declared const uint32_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1468:62: error: ‘Error’ has not been declared const uint32_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1481:56: error: ‘Error’ has not been declared const uint64_t *v, Error **Errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1483:62: error: ‘Error’ has not been declared const uint64_t *v, Error **Errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1503:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1521:53: error: ‘Error’ has not been declared Object *target, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1534:63: error: ‘Error’ has not been declared const char *description, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1537:44: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1592:50: error: expected ‘,’ or ‘...’ before ‘typename’ size_t object_type_get_instance_size(const char *typename); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:9:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/hotplug.h:39:28: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:39:54: error: ‘Error’ has not been declared DeviceState *plugged_dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:74:27: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:75:27: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:83:31: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:84:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:92:37: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:93:37: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:100:29: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:101:29: error: ‘Error’ has not been declared Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:28: error: typedef ‘qdev_initfn’ is initialized (use decltype instead) typedef int (*qdev_initfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:28: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:41: error: ‘dev’ was not declared in this scope typedef int (*qdev_initfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:27: error: typedef ‘qdev_event’ is initialized (use decltype instead) typedef int (*qdev_event)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:27: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:40: error: ‘dev’ was not declared in this scope typedef int (*qdev_event)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:30: error: typedef ‘qdev_resetfn’ is initialized (use decltype instead) typedef void (*qdev_resetfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:30: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:43: error: ‘dev’ was not declared in this scope typedef void (*qdev_resetfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:31: error: typedef ‘DeviceRealize’ is initialized (use decltype instead) typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:31: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:44: error: ‘dev’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:49: error: ‘Error’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:57: error: ‘errp’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:33: error: typedef ‘DeviceUnrealize’ is initialized (use decltype instead) typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:33: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:46: error: ‘dev’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:51: error: ‘Error’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:59: error: ‘errp’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:28: error: typedef ‘BusRealize’ is initialized (use decltype instead) typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:28: error: ‘BusState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:38: error: ‘bus’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:43: error: ‘Error’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:51: error: ‘errp’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:30: error: typedef ‘BusUnrealize’ is initialized (use decltype instead) typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:30: error: ‘BusState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:40: error: ‘bus’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:45: error: ‘Error’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:53: error: ‘errp’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:64:28: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long name[BITS_TO_LONGS(bits)] ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:100:5: note: in expansion of macro ‘DECLARE_BITMAP’ DECLARE_BITMAP(categories, DEVICE_CATEGORY_MAX); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:64:28: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long name[BITS_TO_LONGS(bits)] ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:100:5: note: in expansion of macro ‘DECLARE_BITMAP’ DECLARE_BITMAP(categories, DEVICE_CATEGORY_MAX); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/qdev-core.h:103:5: error: ‘Property’ does not name a type Property *props; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:132:19: error: ‘DeviceState’ has not been declared void (*reset)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:133:5: error: ‘DeviceRealize’ does not name a type DeviceRealize realize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:134:5: error: ‘DeviceUnrealize’ does not name a type DeviceUnrealize unrealize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:140:5: error: ‘qdev_initfn’ does not name a type qdev_initfn init; /* TODO remove, once users are converted to realize */ ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:141:5: error: ‘qdev_event’ does not name a type qdev_event exit; /* TODO remove, once users are converted to unrealize */ ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:172:5: error: ‘BusState’ does not name a type BusState *parent_bus; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:195:23: error: ‘Monitor’ has not been declared void (*print_dev)(Monitor *mon, DeviceState *dev, int indent); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:204:5: error: ‘BusRealize’ does not name a type BusRealize realize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:205:5: error: ‘BusUnrealize’ does not name a type BusUnrealize unrealize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:238:5: error: ‘PropertyInfo’ does not name a type PropertyInfo *info; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:239:5: error: ‘ptrdiff_t’ does not name a type ptrdiff_t offset; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:244:5: error: ‘PropertyInfo’ does not name a type PropertyInfo *arrayinfo; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:275:5: error: ‘Error’ does not name a type Error **errp; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:286:36: error: ‘Error’ has not been declared void qdev_unplug(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:288:53: error: ‘Error’ has not been declared DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:328:62: error: expected ‘,’ or ‘...’ before ‘typename’ void qbus_create_inplace(void *bus, size_t size, const char *typename, ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:330:35: error: expected ‘,’ or ‘...’ before ‘typename’ BusState *qbus_create(const char *typename, DeviceState *parent, const char *name); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:393:1: error: ‘GSList’ does not name a type GSList *qdev_build_hotpluggable_device_list(Object *peripheral); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:396:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:398:50: error: ‘Error’ has not been declared void qbus_set_bus_hotplug_handler(BusState *bus, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:24:0, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/disas/bfd.h:268:3: error: ‘fprintf_function’ does not name a type fprintf_function fprintf_func; ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:29:0, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/thread.h: In function ‘void qemu_spin_lock(QemuSpin*)’: /home/rohan/Desktop/panda/include/qemu/thread.h:80:65: error: ‘unlikely’ was not declared in this scope while (unlikely(__sync_lock_test_and_set(&spin->value, true))) { ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/thread.h:81:16: note: in expansion of macro ‘atomic_read’ while (atomic_read(&spin->value)) { ^ /home/rohan/Desktop/panda/include/qemu/thread.h: In function ‘bool qemu_spin_locked(QemuSpin*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/thread.h:94:12: note: in expansion of macro ‘atomic_read’ return atomic_read(&spin->value); ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:72:37: error: typedef ‘CPUUnassignedAccess’ is initialized (use decltype instead) typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:72:37: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qom/cpu.h:72:47: error: ‘cpu’ was not declared in this scope typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:72:59: error: expected primary-expression before ‘addr’ typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:37: error: expected primary-expression before ‘bool’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:52: error: expected primary-expression before ‘bool’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:66: error: expected primary-expression before ‘int’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:74:37: error: expected primary-expression before ‘unsigned’ unsigned size); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:144:40: error: expected ‘,’ or ‘...’ before ‘typename’ void (*parse_features)(const char *typename, char *str, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:146:19: error: ‘CPUState’ has not been declared void (*reset)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:148:22: error: ‘CPUState’ has not been declared bool (*has_work)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:149:26: error: ‘CPUState’ has not been declared void (*do_interrupt)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:150:5: error: ‘CPUUnassignedAccess’ does not name a type CPUUnassignedAccess do_unassigned_access; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:151:33: error: ‘CPUState’ has not been declared void (*do_unaligned_access)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:154:34: error: ‘CPUState’ has not been declared bool (*virtio_is_big_endian)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:155:28: error: ‘CPUState’ has not been declared int (*memory_rw_debug)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:157:24: error: ‘CPUState’ has not been declared void (*dump_state)(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:157:48: error: ‘fprintf_function’ has not been declared void (*dump_state)(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:159:29: error: ‘CPUState’ has not been declared void (*dump_statistics)(CPUState *cpu, FILE *f, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:160:29: error: ‘fprintf_function’ has not been declared fprintf_function cpu_fprintf, int flags); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:161:28: error: ‘CPUState’ has not been declared int64_t (*get_arch_id)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:162:38: error: ‘CPUState’ does not name a type bool (*get_paging_enabled)(const CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:162:48: warning: ISO C++ forbids declaration of ‘cpu’ with no type [-fpermissive] bool (*get_paging_enabled)(const CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:163:32: error: ‘CPUState’ has not been declared void (*get_memory_mapping)(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:163:47: error: ‘MemoryMappingList’ has not been declared void (*get_memory_mapping)(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:164:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:165:20: error: ‘CPUState’ has not been declared void (*set_pc)(CPUState *cpu, vaddr value); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:166:33: error: ‘CPUState’ has not been declared void (*synchronize_from_tb)(CPUState *cpu, struct TranslationBlock *tb); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:167:29: error: ‘CPUState’ has not been declared int (*handle_mmu_fault)(CPUState *cpu, vaddr address, int rw, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:169:35: error: ‘CPUState’ has not been declared hwaddr (*get_phys_page_debug)(CPUState *cpu, vaddr addr); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:170:41: error: ‘CPUState’ has not been declared hwaddr (*get_phys_page_attrs_debug)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:172:29: error: ‘CPUState’ has not been declared int (*asidx_from_attrs)(CPUState *cpu, MemTxAttrs attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:173:30: error: ‘CPUState’ has not been declared int (*gdb_read_register)(CPUState *cpu, uint8_t *buf, int reg); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:174:31: error: ‘CPUState’ has not been declared int (*gdb_write_register)(CPUState *cpu, uint8_t *buf, int reg); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:175:36: error: ‘CPUState’ has not been declared bool (*debug_check_watchpoint)(CPUState *cpu, CPUWatchpoint *wp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:176:32: error: ‘CPUState’ has not been declared void (*debug_excp_handler)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:178:54: error: ‘CPUState’ has not been declared int (*write_elf64_note)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:180:58: error: ‘CPUState’ has not been declared int (*write_elf64_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:182:54: error: ‘CPUState’ has not been declared int (*write_elf32_note)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:184:58: error: ‘CPUState’ has not been declared int (*write_elf32_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:190:5: error: ‘gchar’ does not name a type gchar * (*gdb_arch_name)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:193:28: error: ‘CPUState’ has not been declared void (*cpu_exec_enter)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:194:27: error: ‘CPUState’ has not been declared void (*cpu_exec_exit)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:195:32: error: ‘CPUState’ has not been declared bool (*cpu_exec_interrupt)(CPUState *cpu, int interrupt_request); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:197:28: error: ‘CPUState’ has not been declared void (*disas_set_info)(CPUState *cpu, disassemble_info *info); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:33: error: typedef ‘run_on_cpu_func’ is initialized (use decltype instead) typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:33: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qom/cpu.h:253:43: error: ‘cpu’ was not declared in this scope typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:64: error: expected primary-expression before ‘data’ typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:331:5: error: ‘sigjmp_buf’ does not name a type sigjmp_buf jmp_env; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:336:5: error: ‘CPUAddressSpace’ does not name a type CPUAddressSpace *cpu_ases; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:338:5: error: ‘AddressSpace’ does not name a type AddressSpace *as; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:339:5: error: ‘MemoryRegion’ does not name a type MemoryRegion *memory; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:430:44: error: ‘MemoryMappingList’ has not been declared void cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:431:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:494:45: error: ‘fprintf_function’ has not been declared void cpu_dump_state(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:506:50: error: ‘fprintf_function’ has not been declared void cpu_dump_statistics(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘hwaddr cpu_get_phys_page_attrs_debug(CPUState*, vaddr, MemTxAttrs*)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:526:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:529:62: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->get_phys_page_attrs_debug(cpu, addr, attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:533:45: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->get_phys_page_debug(cpu, addr); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘int cpu_asidx_from_attrs(CPUState*, MemTxAttrs)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:562:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:565:47: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->asidx_from_attrs(cpu, attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:598:44: error: expected ‘,’ or ‘...’ before ‘typename’ ObjectClass *cpu_class_by_name(const char *typename, const char *cpu_model); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:609:40: error: expected ‘,’ or ‘...’ before ‘typename’ CPUState *cpu_generic_init(const char *typename, const char *cpu_model); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘bool cpu_has_work(CPUState*)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:621:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:623:26: error: ‘g_assert’ was not declared in this scope g_assert(cc->has_work); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:624:28: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->has_work(cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:665:35: error: ‘run_on_cpu_func’ has not been declared void do_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:676:32: error: ‘run_on_cpu_func’ has not been declared void run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:686:38: error: ‘run_on_cpu_func’ has not been declared void async_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:700:43: error: ‘run_on_cpu_func’ has not been declared void async_safe_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘void cpu_set_pc(CPUState*, vaddr)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:814:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:816:25: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing cc->set_pc(cpu, addr); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘bool cpu_breakpoint_test(CPUState*, vaddr, int)’: /home/rohan/Desktop/panda/include/qom/cpu.h:948:50: error: ‘unlikely’ was not declared in this scope if (unlikely(!QTAILQ_EMPTY(&cpu->breakpoints))) { ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:978:1: error: ‘AddressSpace’ does not name a type AddressSpace *cpu_get_address_space(CPUState *cpu, int asidx); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:980:20: error: expected initializer before ‘cpu_abort’ void QEMU_NORETURN cpu_abort(CPUState *cpu, const char *fmt, ...) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:983:40: error: ‘Error’ has not been declared void cpu_exec_realizefn(CPUState *cpu, Error **errp); ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu.h:24:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/i386/cpu-qom.h:72:5: error: ‘DeviceRealize’ does not name a type DeviceRealize parent_realize; ^ /home/rohan/Desktop/panda/target/i386/cpu-qom.h:73:5: error: ‘DeviceUnrealize’ does not name a type DeviceUnrealize parent_unrealize; ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu.h:50:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-defs.h:120:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(CPUTLBEntry) != (1 << CPU_TLB_ENTRY_BITS)); ^ In file included from /home/rohan/Desktop/panda/tcg/tcg.h:29:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/i386/cpu.h:960:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, avx_state) != 0x240); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:961:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveAVX) != 0x100); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:962:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, bndreg_state) != 0x3c0); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:963:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveBNDREG) != 0x40); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:964:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, bndcsr_state) != 0x400); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:965:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveBNDCSR) != 0x40); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:966:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, opmask_state) != 0x440); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:967:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveOpmask) != 0x40); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:968:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, zmm_hi256_state) != 0x480); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:969:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveZMM_Hi256) != 0x200); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:970:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, hi16_zmm_state) != 0x680); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:971:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveHi16_ZMM) != 0x400); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:972:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, pkru_state) != 0xA80); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:973:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSavePKRU) != 0x8); ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu.h:50:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-defs.h:95:36: error: ‘MIN’ was not declared in this scope NB_MMU_MODES <= 8 ? 3 : 4)) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:97:28: note: in expansion of macro ‘CPU_TLB_BITS’ #define CPU_TLB_SIZE (1 << CPU_TLB_BITS) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:134:41: note: in expansion of macro ‘CPU_TLB_SIZE’ CPUTLBEntry tlb_table[NB_MMU_MODES][CPU_TLB_SIZE]; \ ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:151:5: note: in expansion of macro ‘CPU_COMMON_TLB’ CPU_COMMON_TLB \ ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1130:5: note: in expansion of macro ‘CPU_COMMON’ CPU_COMMON ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:95:36: error: ‘MIN’ was not declared in this scope NB_MMU_MODES <= 8 ? 3 : 4)) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:97:28: note: in expansion of macro ‘CPU_TLB_BITS’ #define CPU_TLB_SIZE (1 << CPU_TLB_BITS) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:136:39: note: in expansion of macro ‘CPU_TLB_SIZE’ CPUIOTLBEntry iotlb[NB_MMU_MODES][CPU_TLB_SIZE]; \ ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:151:5: note: in expansion of macro ‘CPU_COMMON_TLB’ CPU_COMMON_TLB \ ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1130:5: note: in expansion of macro ‘CPU_COMMON’ CPU_COMMON ^ In file included from /home/rohan/Desktop/panda/tcg/tcg.h:29:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/i386/cpu.h: In function ‘X86CPU* x86_env_get_cpu(CPUX86State*)’: /home/rohan/Desktop/panda/target/i386/cpu.h:1276:36: error: expected primary-expression before ‘,’ token return container_of(env, X86CPU, env); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1276:41: error: ‘container_of’ was not declared in this scope return container_of(env, X86CPU, env); ^ /home/rohan/Desktop/panda/target/i386/cpu.h: At global scope: /home/rohan/Desktop/panda/target/i386/cpu.h:1303:48: error: ‘MemoryMappingList’ has not been declared void x86_cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1304:33: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1306:48: error: ‘fprintf_function’ has not been declared void x86_cpu_dump_state(CPUState *cs, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1318:28: error: ‘fprintf_function’ has not been declared void x86_cpu_list(FILE *f, fprintf_function cpu_fprintf); ^ In file included from /home/rohan/Desktop/panda/include/exec/cpu-all.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-common.h:22:5: error: ‘fprintf_function’ does not name a type fprintf_function cpu_fprintf; ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:60:1: error: ‘RAMBlock’ does not name a type RAMBlock *qemu_ram_block_by_name(const char *name); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:61:1: error: ‘RAMBlock’ does not name a type RAMBlock *qemu_ram_block_from_host(void *ptr, bool round_offset, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:25: error: variable or field ‘qemu_ram_set_idstr’ declared void void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:25: error: ‘RAMBlock’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:35: error: ‘block’ was not declared in this scope void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:42: error: expected primary-expression before ‘const’ void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:72: error: expected primary-expression before ‘*’ token void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:73: error: ‘dev’ was not declared in this scope void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:27: error: variable or field ‘qemu_ram_unset_idstr’ declared void void qemu_ram_unset_idstr(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:27: error: ‘RAMBlock’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:37: error: ‘block’ was not declared in this scope void qemu_ram_unset_idstr(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:65:32: error: ‘RAMBlock’ was not declared in this scope const char *qemu_ram_get_idstr(RAMBlock *rb); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:65:42: error: ‘rb’ was not declared in this scope const char *qemu_ram_get_idstr(RAMBlock *rb); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:66:26: error: ‘RAMBlock’ was not declared in this scope size_t qemu_ram_pagesize(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:66:36: error: ‘block’ was not declared in this scope size_t qemu_ram_pagesize(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:30: error: variable or field ‘cpu_register_map_client’ declared void void cpu_register_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:30: error: ‘QEMUBH’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:38: error: ‘bh’ was not declared in this scope void cpu_register_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:32: error: variable or field ‘cpu_unregister_map_client’ declared void void cpu_unregister_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:32: error: ‘QEMUBH’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:40: error: ‘bh’ was not declared in this scope void cpu_unregister_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:36: error: variable or field ‘cpu_physical_memory_write_rom’ declared void void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:36: error: ‘AddressSpace’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:50: error: ‘as’ was not declared in this scope void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:61: error: expected primary-expression before ‘addr’ void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:100:36: error: expected primary-expression before ‘const’ const uint8_t *buf, int len); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:100:56: error: expected primary-expression before ‘int’ const uint8_t *buf, int len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/rcu.h: In function ‘void rcu_read_lock()’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:81:11: note: in expansion of macro ‘atomic_read’ ctr = atomic_read(&rcu_gp_ctr); ^ /home/rohan/Desktop/panda/include/qemu/atomic.h:165:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:82:5: note: in expansion of macro ‘atomic_xchg’ atomic_xchg(&p_rcu_reader->ctr, ctr); ^ In file included from /home/rohan/Desktop/panda/include/exec/ramlist.h:6:0, from /home/rohan/Desktop/panda/include/exec/memory.h:24, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/rcu.h: In function ‘void rcu_read_unlock()’: /home/rohan/Desktop/panda/include/qemu/rcu.h:89:36: error: ‘assert’ was not declared in this scope assert(p_rcu_reader->depth != 0); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:165:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:94:5: note: in expansion of macro ‘atomic_xchg’ atomic_xchg(&p_rcu_reader->ctr, 0); ^ /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:95:18: note: in expansion of macro ‘atomic_read’ if (unlikely(atomic_read(&p_rcu_reader->waiting))) { ^ In file included from /home/rohan/Desktop/panda/include/exec/ramlist.h:6:0, from /home/rohan/Desktop/panda/include/exec/memory.h:24, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/rcu.h:95:53: error: ‘unlikely’ was not declared in this scope if (unlikely(atomic_read(&p_rcu_reader->waiting))) { ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:115:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:96:9: note: in expansion of macro ‘atomic_set’ atomic_set(&p_rcu_reader->waiting, false); ^ In file included from /home/rohan/Desktop/panda/include/exec/memory.h:24:0, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/ramlist.h: At global scope: /home/rohan/Desktop/panda/include/exec/ramlist.h:48:5: error: ‘RAMBlock’ does not name a type RAMBlock *mru_block; ^ In file included from /home/rohan/Desktop/panda/include/exec/memory.h:26:0, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/int128.h: In function ‘Int128 int128_make128(uint64_t, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/int128.h:162:30: warning: narrowing conversion of ‘hi’ from ‘uint64_t {aka long unsigned int}’ to ‘int64_t {aka long int}’ inside { } [-Wnarrowing] return (Int128) { lo, hi }; ^ /home/rohan/Desktop/panda/include/qemu/int128.h: In function ‘uint64_t int128_get64(Int128)’: /home/rohan/Desktop/panda/include/qemu/int128.h:167:17: error: ‘assert’ was not declared in this scope assert(!a.hi); ^ In file included from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/memory.h: At global scope: /home/rohan/Desktop/panda/include/exec/memory.h:60:5: error: ‘AddressSpace’ does not name a type AddressSpace *target_as; ^ /home/rohan/Desktop/panda/include/exec/memory.h:235:50: error: ‘MemoryRegionSection’ has not been declared void (*region_add)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:236:50: error: ‘MemoryRegionSection’ has not been declared void (*region_del)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:237:50: error: ‘MemoryRegionSection’ has not been declared void (*region_nop)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:238:49: error: ‘MemoryRegionSection’ has not been declared void (*log_start)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:239:36: error: expected ‘,’ or ‘...’ before ‘new’ int old, int new); ^ /home/rohan/Desktop/panda/include/exec/memory.h:240:48: error: ‘MemoryRegionSection’ has not been declared void (*log_stop)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:241:35: error: expected ‘,’ or ‘...’ before ‘new’ int old, int new); ^ /home/rohan/Desktop/panda/include/exec/memory.h:242:48: error: ‘MemoryRegionSection’ has not been declared void (*log_sync)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:245:51: error: ‘MemoryRegionSection’ has not been declared void (*eventfd_add)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:246:57: error: ‘EventNotifier’ has not been declared bool match_data, uint64_t data, EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:247:51: error: ‘MemoryRegionSection’ has not been declared void (*eventfd_del)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:248:57: error: ‘EventNotifier’ has not been declared bool match_data, uint64_t data, EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:249:58: error: ‘MemoryRegionSection’ has not been declared void (*coalesced_mmio_add)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:251:58: error: ‘MemoryRegionSection’ has not been declared void (*coalesced_mmio_del)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:255:5: error: ‘AddressSpace’ does not name a type AddressSpace *address_space; ^ /home/rohan/Desktop/panda/include/exec/memory.h:383:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:408:40: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:428:39: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:508:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:527:36: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:809:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1028:32: error: ‘EventNotifier’ has not been declared EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1048:32: error: ‘EventNotifier’ has not been declared EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:17: error: variable or field ‘mtree_info’ declared void void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:17: error: ‘fprintf_function’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/memory.h:1254:46: error: expected primary-expression before ‘void’ void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:55: error: expected primary-expression before ‘bool’ void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘MemTxResult address_space_read(AddressSpace*, hwaddr, MemTxAttrs, uint8_t*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1657:37: error: ‘memcpy’ was not declared in this scope memcpy(buf, ptr, len); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘void address_space_read_cached(MemoryRegionCache*, hwaddr, void*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1682:57: error: ‘assert’ was not declared in this scope assert(addr < cache->len && len <= cache->len - addr); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1683:50: error: ‘memcpy’ was not declared in this scope memcpy(buf, (uint8_t *)cache->ptr + addr, len); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘void address_space_write_cached(MemoryRegionCache*, hwaddr, void*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1698:57: error: ‘assert’ was not declared in this scope assert(addr < cache->len && len <= cache->len - addr); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1699:50: error: ‘memcpy’ was not declared in this scope memcpy((uint8_t *)cache->ptr + addr, buf, len); ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu.h:1536:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-all.h: At global scope: /home/rohan/Desktop/panda/include/exec/cpu-all.h:341:30: error: ‘fprintf_function’ has not been declared void dump_exec_info(FILE *f, fprintf_function cpu_fprintf); ^ /home/rohan/Desktop/panda/include/exec/cpu-all.h:342:33: error: ‘fprintf_function’ has not been declared void dump_opcount_info(FILE *f, fprintf_function cpu_fprintf); ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu.h:1537:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/i386/svm.h:133:20: error: variable ‘QEMU_PACKED vmcb_control_area’ has initializer but incomplete type struct QEMU_PACKED vmcb_control_area { ^ /home/rohan/Desktop/panda/target/i386/svm.h:134:11: error: expected primary-expression before ‘intercept_cr_read’ uint16_t intercept_cr_read; ^ /home/rohan/Desktop/panda/target/i386/svm.h:134:11: error: expected ‘}’ before ‘intercept_cr_read’ /home/rohan/Desktop/panda/target/i386/svm.h:134:11: error: expected ‘,’ or ‘;’ before ‘intercept_cr_read’ /home/rohan/Desktop/panda/target/i386/svm.h:163:1: error: expected declaration before ‘}’ token }; ^ make[2]: *** No rule to make target `@printf', needed by `panda/plugins/panda_faros.so'. Stop. make[2]: *** Waiting for unfinished jobs.... In file included from /home/rohan/Desktop/panda/panda/include/panda/plugin.h:737:0, from /home/rohan/Desktop/panda/panda/plugins/taint2/taint2.h:23, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:57: /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:69:42: error: redefinition of ‘void (* ppp_on_file_byte_read_cb [256])(CPUState*, target_ulong, uint32_t)’ cb_name##_t ppp_##cb_name##_cb[PPP_MAX_CB]; \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:95:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:69:13: error: ‘void (* ppp_on_file_byte_read_cb [256])(CPUState*, target_ulong, uint32_t)’ previously declared here cb_name##_t ppp_##cb_name##_cb[PPP_MAX_CB]; \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:75:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:70:5: error: redefinition of ‘int ppp_on_file_byte_read_num_cb’ int ppp_##cb_name##_num_cb = 0; \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:95:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:70:5: error: ‘int ppp_on_file_byte_read_num_cb’ previously defined here int ppp_##cb_name##_num_cb = 0; \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:75:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp: In function ‘void ppp_add_cb_on_file_byte_read(on_file_byte_read_t)’: /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:72:6: error: redefinition of ‘void ppp_add_cb_on_file_byte_read(on_file_byte_read_t)’ void ppp_add_cb_##cb_name(cb_name##_t fptr) { \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:95:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:72:6: error: ‘void ppp_add_cb_on_file_byte_read(on_file_byte_read_t)’ previously defined here void ppp_add_cb_##cb_name(cb_name##_t fptr) { \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:75:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp: In function ‘void ppp_add_cb_on_file_byte_read_slot(on_file_byte_read_t, int)’: /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:78:6: error: redefinition of ‘void ppp_add_cb_on_file_byte_read_slot(on_file_byte_read_t, int)’ void ppp_add_cb_##cb_name##_slot(cb_name##_t fptr, int slot_num) { \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:95:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:78:6: error: ‘void ppp_add_cb_on_file_byte_read_slot(on_file_byte_read_t, int)’ previously defined here void ppp_add_cb_##cb_name##_slot(cb_name##_t fptr, int slot_num) { \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:75:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ make[2]: *** [panda/plugins/faros/faros.o] Error 1 make[1]: *** [plugin-faros] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** [panda/plugins/faros/faros.o] Error 1 make[1]: *** [plugin-faros] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /home/rohan/Desktop/panda/include/qemu/bitops.h:16:0, from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/host-utils.h:118:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:171:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:206:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:261:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:296:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(4, 7) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:312:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(4, 7) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:325:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:342:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:360:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:378:21: error: missing binary operator before token "(" #if QEMU_GNUC_PREREQ(3, 4) ^ /home/rohan/Desktop/panda/include/qemu/host-utils.h:481:3: error: #error Unknown sizeof long # error Unknown sizeof long ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51:0: /home/rohan/Desktop/panda/tcg/tcg.h:207:23: error: missing binary operator before token "(" #elif QEMU_GNUC_PREREQ(4, 5) ^ make: *** [subdir-i386-softmmu] Error 2 make: *** Waiting for unfinished jobs.... In file included from /home/rohan/Desktop/panda/include/qemu-common.h:15:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/fprintf-fn.h:12:5: error: expected initializer before ‘GCC_FMT_ATTR’ GCC_FMT_ATTR(2, 3); ^ In file included from /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:35:0, from /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:16, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/qapi-types.h:42:5: error: ‘QObject’ does not name a type QObject *value; ^ /home/rohan/Desktop/panda/qapi-types.h:2531:11: error: expected unqualified-id before ‘export’ char *export; ^ /home/rohan/Desktop/panda/qapi-types.h:2531:10: error: expected ‘;’ at end of member declaration char *export; ^ /home/rohan/Desktop/panda/qapi-types.h:2531:11: error: expected unqualified-id before ‘export’ char *export; ^ In file included from /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:35:0, from /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:16, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/qapi-types.h:3275:5: error: ‘QObject’ does not name a type QObject *props; ^ /home/rohan/Desktop/panda/qapi-types.h:4779:5: error: ‘QObject’ does not name a type QObject *q_default; ^ /home/rohan/Desktop/panda/qapi-types.h:5785:5: error: ‘QObject’ does not name a type QObject *props; ^ /home/rohan/Desktop/panda/qapi-types.h:5821:5: error: ‘QObject’ does not name a type QObject *value; ^ In file included from /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:16:0, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘void qobject_init(QObject*, QType)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:56:50: error: ‘assert’ was not declared in this scope assert(QTYPE_NONE < type && type < QTYPE__MAX); ^ /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘void qobject_decref(QObject*)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:81:31: error: ‘assert’ was not declared in this scope assert(!obj || obj->refcnt); ^ /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘QType qobject_type(const QObject*)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:92:60: error: ‘assert’ was not declared in this scope assert(QTYPE_NONE < obj->type && obj->type < QTYPE__MAX); ^ In file included from /home/rohan/Desktop/panda/include/qemu/option.h:30:0, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h: At global scope: /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:76:42: error: ‘Error’ has not been declared QObject *qdict_crumple(const QDict *src, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qemu-common.h:19:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/option.h:41:39: error: ‘Error’ has not been declared uint64_t *ret, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:81:1: error: ‘QemuOpt’ does not name a type QemuOpt *qemu_opt_find(QemuOpts *opts, const char *name); ^ /home/rohan/Desktop/panda/include/qemu/option.h:92:19: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:94:24: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:96:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:99:34: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:101:22: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:105:48: error: ‘Error’ has not been declared int fail_if_exists, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:109:57: error: ‘Error’ has not been declared const char *name, const char *value, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:113:66: error: ‘Error’ has not been declared void qemu_opts_validate(QemuOpts *opts, const QemuOptDesc *desc, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:115:48: error: ‘Error’ has not been declared const char *firstname, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:119:47: error: ‘Error’ has not been declared bool permit_abbrev, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:123:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:125:59: error: ‘Error’ has not been declared void qemu_opts_absorb_qdict(QemuOpts *opts, QDict *qdict, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:127:65: error: ‘Error’ has not been declared typedef int (*qemu_opts_loopfunc)(void *opaque, QemuOpts *opts, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:129:37: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:52:5: error: expected initializer before ‘QEMU_WARN_UNUSED_RESULT’ QEMU_WARN_UNUSED_RESULT; ^ /home/rohan/Desktop/panda/include/qemu-common.h:83:27: error: variable or field ‘cpu_exec_step_atomic’ declared void void cpu_exec_step_atomic(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qemu-common.h:83:27: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qemu-common.h:83:37: error: ‘cpu’ was not declared in this scope void cpu_exec_step_atomic(CPUState *cpu); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:147:35: error: ‘MACAddr’ does not name a type const char *qemu_ether_ntoa(const MACAddr *mac); ^ /home/rohan/Desktop/panda/include/qemu-common.h:147:44: warning: ISO C++ forbids declaration of ‘mac’ with no type [-fpermissive] const char *qemu_ether_ntoa(const MACAddr *mac); ^ In file included from /home/rohan/Desktop/panda/include/qemu/host-utils.h:29:0, from /home/rohan/Desktop/panda/include/qemu/bitops.h:16, from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t be16_to_cpu(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t cpu_to_be16(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be16_to_cpus(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be16s(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t be32_to_cpu(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t cpu_to_be32(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be32_to_cpus(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be32s(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t be64_to_cpu(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t cpu_to_be64(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be64_to_cpus(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be64s(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t le16_to_cpu(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t cpu_to_le16(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le16_to_cpus(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le16s(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t le32_to_cpu(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t cpu_to_le32(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le32_to_cpus(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le32s(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t le64_to_cpu(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t cpu_to_le64(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le64_to_cpus(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le64s(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int lduw_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:317:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldsw_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:324:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stw_he_p(void*, uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:330:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldl_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:336:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stl_he_p(void*, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:342:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t ldq_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:348:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stq_he_p(void*, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:354:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int lduw_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:424:22: note: in expansion of macro ‘be_bswap’ return (uint16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:424:22: note: in expansion of macro ‘be_bswap’ return (uint16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldsw_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:429:21: note: in expansion of macro ‘be_bswap’ return (int16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:429:21: note: in expansion of macro ‘be_bswap’ return (int16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldl_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:434:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldl_he_p(ptr), 32); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:434:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldl_he_p(ptr), 32); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t ldq_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:439:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldq_he_p(ptr), 64); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:439:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldq_he_p(ptr), 64); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stw_be_p(void*, uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:444:19: note: in expansion of macro ‘be_bswap’ stw_he_p(ptr, be_bswap(v, 16)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:444:19: note: in expansion of macro ‘be_bswap’ stw_he_p(ptr, be_bswap(v, 16)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stl_be_p(void*, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:449:19: note: in expansion of macro ‘be_bswap’ stl_he_p(ptr, be_bswap(v, 32)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:449:19: note: in expansion of macro ‘be_bswap’ stl_he_p(ptr, be_bswap(v, 32)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stq_be_p(void*, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:454:19: note: in expansion of macro ‘be_bswap’ stq_he_p(ptr, be_bswap(v, 64)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:454:19: note: in expansion of macro ‘be_bswap’ stq_he_p(ptr, be_bswap(v, 64)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘long unsigned int leul_to_cpu(long unsigned int)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:496:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void set_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:37:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void set_bit_atomic(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:50:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void clear_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:63:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void change_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:76:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_set_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:89:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_clear_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:104:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_change_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:119:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_bit(long int, const long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:24:41: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:134:24: note: in expansion of macro ‘BIT_WORD’ return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘long unsigned int find_first_bit(const long unsigned int*, long unsigned int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:180:47: note: in expansion of macro ‘BITS_PER_LONG’ for (result = 0; result < size; result += BITS_PER_LONG) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:183:31: error: ‘ctzl’ was not declared in this scope result += ctzl(tmp); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint32_t extract32(uint32_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:309:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint64_t extract64(uint64_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:328:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int32_t sextract32(uint32_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:350:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int64_t sextract64(uint64_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:375:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint32_t deposit32(uint32_t, int, int, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:403:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint64_t deposit64(uint64_t, int, int, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:429:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘long unsigned int* bitmap_try_new(long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:88:16: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:88:16: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:89:47: error: ‘g_try_malloc0’ was not declared in this scope return (unsigned long *) g_try_malloc0(len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_zero(long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:103:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:106:20: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:107:27: error: ‘memset’ was not declared in this scope memset(dst, 0, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_fill(long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:113:21: note: in expansion of macro ‘BITS_TO_LONGS’ size_t nlongs = BITS_TO_LONGS(nbits); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:113:21: note: in expansion of macro ‘BITS_TO_LONGS’ size_t nlongs = BITS_TO_LONGS(nbits); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:116:31: error: ‘memset’ was not declared in this scope memset(dst, 0xff, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_copy(long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:124:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:127:20: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:128:29: error: ‘memcpy’ was not declared in this scope memcpy(dst, src, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_and(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:135:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_or(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:144:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_xor(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:154:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_andnot(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:164:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_complement(long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:174:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_equal(const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:184:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_empty(const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:193:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_full(const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:202:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_intersects(const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:212:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘long unsigned int* bitmap_zero_extend(long unsigned int*, long int, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:232:20: note: in expansion of macro ‘BITS_TO_LONGS’ long new_len = BITS_TO_LONGS(new_nbits) * sizeof(unsigned long); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:232:20: note: in expansion of macro ‘BITS_TO_LONGS’ long new_len = BITS_TO_LONGS(new_nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:233:69: error: ‘g_realloc’ was not declared in this scope unsigned long *newfoo = (unsigned long *) g_realloc(old, new_len); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/object.h: At global scope: /home/rohan/Desktop/panda/include/qom/object.h:296:39: error: ‘Visitor’ has not been declared Visitor *v, ^ /home/rohan/Desktop/panda/include/qom/object.h:299:39: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:334:5: error: ‘gchar’ does not name a type gchar *name; ^ /home/rohan/Desktop/panda/include/qom/object.h:335:5: error: ‘gchar’ does not name a type gchar *type; ^ /home/rohan/Desktop/panda/include/qom/object.h:336:5: error: ‘gchar’ does not name a type gchar *description; ^ /home/rohan/Desktop/panda/include/qom/object.h:373:5: error: ‘GSList’ does not name a type GSList *interfaces; ^ /home/rohan/Desktop/panda/include/qom/object.h:380:5: error: ‘GHashTable’ does not name a type GHashTable *properties; ^ /home/rohan/Desktop/panda/include/qom/object.h:400:5: error: ‘GHashTable’ does not name a type GHashTable *properties; ^ /home/rohan/Desktop/panda/include/qom/object.h:587:32: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new(const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:638:43: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new_with_props(const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:642:36: error: expected initializer before ‘QEMU_SENTINEL’ ...) QEMU_SENTINEL; ^ /home/rohan/Desktop/panda/include/qom/object.h:654:43: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new_with_propv(const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:700:22: error: ‘Error’ has not been declared Error **errp, ^ /home/rohan/Desktop/panda/include/qom/object.h:701:27: error: expected initializer before ‘QEMU_SENTINEL’ ...) QEMU_SENTINEL; ^ /home/rohan/Desktop/panda/include/qom/object.h:714:22: error: ‘Error’ has not been declared Error **errp, ^ /home/rohan/Desktop/panda/include/qom/object.h:727:60: error: expected ‘,’ or ‘...’ before ‘typename’ void object_initialize(void *obj, size_t size, const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:739:54: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_dynamic_cast(Object *obj, const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:750:61: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_dynamic_cast_assert(Object *obj, const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:803:59: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:822:52: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:854:47: error: expected ‘,’ or ‘...’ before ‘typename’ ObjectClass *object_class_by_name(const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:867:1: error: ‘GSList’ does not name a type GSList *object_class_get_list(const char *implements_type, ^ /home/rohan/Desktop/panda/include/qom/object.h:916:51: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:918:57: error: ‘Error’ has not been declared void object_property_del(Object *obj, const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:925:57: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:936:38: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:938:44: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:942:5: error: ‘GHashTableIter’ does not name a type GHashTableIter iter; ^ /home/rohan/Desktop/panda/include/qom/object.h:999:39: error: ‘Visitor’ has not been declared void object_property_get(Object *obj, Visitor *v, const char *name, ^ /home/rohan/Desktop/panda/include/qom/object.h:1000:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1011:48: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1024:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1035:49: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1048:34: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1059:49: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1071:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1082:48: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1094:33: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1108:42: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1122:56: error: ‘Error’ has not been declared uint16List **list, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1135:39: error: ‘Visitor’ has not been declared void object_property_set(Object *obj, Visitor *v, const char *name, ^ /home/rohan/Desktop/panda/include/qom/object.h:1136:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1148:46: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1161:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1172:38: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1199:1: error: ‘gchar’ does not name a type gchar *object_get_canonical_path_component(Object *obj); ^ /home/rohan/Desktop/panda/include/qom/object.h:1207:1: error: ‘gchar’ does not name a type gchar *object_get_canonical_path(Object *obj); ^ /home/rohan/Desktop/panda/include/qom/object.h:1252:64: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_resolve_path_type(const char *path, const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1265:61: error: ‘gchar’ does not name a type Object *object_resolve_path_component(Object *parent, const gchar *part); ^ /home/rohan/Desktop/panda/include/qom/object.h:1265:68: warning: ISO C++ forbids declaration of ‘part’ with no type [-fpermissive] Object *object_resolve_path_component(Object *parent, const gchar *part); ^ /home/rohan/Desktop/panda/include/qom/object.h:1285:47: error: ‘Error’ has not been declared Object *child, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1300:47: error: ‘Error’ has not been declared Object *, Error **); ^ /home/rohan/Desktop/panda/include/qom/object.h:1333:58: error: ‘Error’ has not been declared Object *val, Error **errp), ^ /home/rohan/Desktop/panda/include/qom/object.h:1335:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1350:53: error: ‘Error’ has not been declared char *(*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1351:66: error: ‘Error’ has not been declared void (*set)(Object *, const char *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1352:30: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1355:59: error: ‘Error’ has not been declared char *(*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1357:48: error: ‘Error’ has not been declared Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1358:36: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1372:53: error: ‘Error’ has not been declared bool (*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1373:59: error: ‘Error’ has not been declared void (*set)(Object *, bool, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1374:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1377:59: error: ‘Error’ has not been declared bool (*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1378:65: error: ‘Error’ has not been declared void (*set)(Object *, bool, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1379:37: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1394:43: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1401:49: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1418:64: error: ‘Error’ has not been declared void (*get)(Object *, struct tm *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1419:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1422:70: error: ‘Error’ has not been declared void (*get)(Object *, struct tm *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1423:35: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1436:54: error: ‘Error’ has not been declared const uint8_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1438:60: error: ‘Error’ has not been declared const uint8_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1451:56: error: ‘Error’ has not been declared const uint16_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1453:62: error: ‘Error’ has not been declared const uint16_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1466:56: error: ‘Error’ has not been declared const uint32_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1468:62: error: ‘Error’ has not been declared const uint32_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1481:56: error: ‘Error’ has not been declared const uint64_t *v, Error **Errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1483:62: error: ‘Error’ has not been declared const uint64_t *v, Error **Errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1503:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1521:53: error: ‘Error’ has not been declared Object *target, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1534:63: error: ‘Error’ has not been declared const char *description, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1537:44: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1592:50: error: expected ‘,’ or ‘...’ before ‘typename’ size_t object_type_get_instance_size(const char *typename); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:9:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/hotplug.h:39:28: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:39:54: error: ‘Error’ has not been declared DeviceState *plugged_dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:74:27: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:75:27: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:83:31: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:84:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:92:37: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:93:37: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:100:29: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:101:29: error: ‘Error’ has not been declared Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:28: error: typedef ‘qdev_initfn’ is initialized (use decltype instead) typedef int (*qdev_initfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:28: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:41: error: ‘dev’ was not declared in this scope typedef int (*qdev_initfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:27: error: typedef ‘qdev_event’ is initialized (use decltype instead) typedef int (*qdev_event)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:27: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:40: error: ‘dev’ was not declared in this scope typedef int (*qdev_event)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:30: error: typedef ‘qdev_resetfn’ is initialized (use decltype instead) typedef void (*qdev_resetfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:30: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:43: error: ‘dev’ was not declared in this scope typedef void (*qdev_resetfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:31: error: typedef ‘DeviceRealize’ is initialized (use decltype instead) typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:31: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:44: error: ‘dev’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:49: error: ‘Error’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:57: error: ‘errp’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:33: error: typedef ‘DeviceUnrealize’ is initialized (use decltype instead) typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:33: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:46: error: ‘dev’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:51: error: ‘Error’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:59: error: ‘errp’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:28: error: typedef ‘BusRealize’ is initialized (use decltype instead) typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:28: error: ‘BusState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:38: error: ‘bus’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:43: error: ‘Error’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:51: error: ‘errp’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:30: error: typedef ‘BusUnrealize’ is initialized (use decltype instead) typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:30: error: ‘BusState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:40: error: ‘bus’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:45: error: ‘Error’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:53: error: ‘errp’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:64:28: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long name[BITS_TO_LONGS(bits)] ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:100:5: note: in expansion of macro ‘DECLARE_BITMAP’ DECLARE_BITMAP(categories, DEVICE_CATEGORY_MAX); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:64:28: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long name[BITS_TO_LONGS(bits)] ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:100:5: note: in expansion of macro ‘DECLARE_BITMAP’ DECLARE_BITMAP(categories, DEVICE_CATEGORY_MAX); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/qdev-core.h:103:5: error: ‘Property’ does not name a type Property *props; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:132:19: error: ‘DeviceState’ has not been declared void (*reset)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:133:5: error: ‘DeviceRealize’ does not name a type DeviceRealize realize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:134:5: error: ‘DeviceUnrealize’ does not name a type DeviceUnrealize unrealize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:140:5: error: ‘qdev_initfn’ does not name a type qdev_initfn init; /* TODO remove, once users are converted to realize */ ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:141:5: error: ‘qdev_event’ does not name a type qdev_event exit; /* TODO remove, once users are converted to unrealize */ ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:172:5: error: ‘BusState’ does not name a type BusState *parent_bus; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:195:23: error: ‘Monitor’ has not been declared void (*print_dev)(Monitor *mon, DeviceState *dev, int indent); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:204:5: error: ‘BusRealize’ does not name a type BusRealize realize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:205:5: error: ‘BusUnrealize’ does not name a type BusUnrealize unrealize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:238:5: error: ‘PropertyInfo’ does not name a type PropertyInfo *info; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:239:5: error: ‘ptrdiff_t’ does not name a type ptrdiff_t offset; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:244:5: error: ‘PropertyInfo’ does not name a type PropertyInfo *arrayinfo; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:275:5: error: ‘Error’ does not name a type Error **errp; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:286:36: error: ‘Error’ has not been declared void qdev_unplug(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:288:53: error: ‘Error’ has not been declared DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:328:62: error: expected ‘,’ or ‘...’ before ‘typename’ void qbus_create_inplace(void *bus, size_t size, const char *typename, ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:330:35: error: expected ‘,’ or ‘...’ before ‘typename’ BusState *qbus_create(const char *typename, DeviceState *parent, const char *name); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:393:1: error: ‘GSList’ does not name a type GSList *qdev_build_hotpluggable_device_list(Object *peripheral); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:396:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:398:50: error: ‘Error’ has not been declared void qbus_set_bus_hotplug_handler(BusState *bus, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:24:0, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/disas/bfd.h:268:3: error: ‘fprintf_function’ does not name a type fprintf_function fprintf_func; ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:29:0, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/thread.h: In function ‘void qemu_spin_lock(QemuSpin*)’: /home/rohan/Desktop/panda/include/qemu/thread.h:80:65: error: ‘unlikely’ was not declared in this scope while (unlikely(__sync_lock_test_and_set(&spin->value, true))) { ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/thread.h:81:16: note: in expansion of macro ‘atomic_read’ while (atomic_read(&spin->value)) { ^ /home/rohan/Desktop/panda/include/qemu/thread.h: In function ‘bool qemu_spin_locked(QemuSpin*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/thread.h:94:12: note: in expansion of macro ‘atomic_read’ return atomic_read(&spin->value); ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:72:37: error: typedef ‘CPUUnassignedAccess’ is initialized (use decltype instead) typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:72:37: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qom/cpu.h:72:47: error: ‘cpu’ was not declared in this scope typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:72:59: error: expected primary-expression before ‘addr’ typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:37: error: expected primary-expression before ‘bool’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:52: error: expected primary-expression before ‘bool’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:66: error: expected primary-expression before ‘int’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:74:37: error: expected primary-expression before ‘unsigned’ unsigned size); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:144:40: error: expected ‘,’ or ‘...’ before ‘typename’ void (*parse_features)(const char *typename, char *str, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:146:19: error: ‘CPUState’ has not been declared void (*reset)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:148:22: error: ‘CPUState’ has not been declared bool (*has_work)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:149:26: error: ‘CPUState’ has not been declared void (*do_interrupt)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:150:5: error: ‘CPUUnassignedAccess’ does not name a type CPUUnassignedAccess do_unassigned_access; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:151:33: error: ‘CPUState’ has not been declared void (*do_unaligned_access)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:154:34: error: ‘CPUState’ has not been declared bool (*virtio_is_big_endian)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:155:28: error: ‘CPUState’ has not been declared int (*memory_rw_debug)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:157:24: error: ‘CPUState’ has not been declared void (*dump_state)(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:157:48: error: ‘fprintf_function’ has not been declared void (*dump_state)(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:159:29: error: ‘CPUState’ has not been declared void (*dump_statistics)(CPUState *cpu, FILE *f, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:160:29: error: ‘fprintf_function’ has not been declared fprintf_function cpu_fprintf, int flags); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:161:28: error: ‘CPUState’ has not been declared int64_t (*get_arch_id)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:162:38: error: ‘CPUState’ does not name a type bool (*get_paging_enabled)(const CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:162:48: warning: ISO C++ forbids declaration of ‘cpu’ with no type [-fpermissive] bool (*get_paging_enabled)(const CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:163:32: error: ‘CPUState’ has not been declared void (*get_memory_mapping)(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:163:47: error: ‘MemoryMappingList’ has not been declared void (*get_memory_mapping)(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:164:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:165:20: error: ‘CPUState’ has not been declared void (*set_pc)(CPUState *cpu, vaddr value); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:166:33: error: ‘CPUState’ has not been declared void (*synchronize_from_tb)(CPUState *cpu, struct TranslationBlock *tb); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:167:29: error: ‘CPUState’ has not been declared int (*handle_mmu_fault)(CPUState *cpu, vaddr address, int rw, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:169:35: error: ‘CPUState’ has not been declared hwaddr (*get_phys_page_debug)(CPUState *cpu, vaddr addr); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:170:41: error: ‘CPUState’ has not been declared hwaddr (*get_phys_page_attrs_debug)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:172:29: error: ‘CPUState’ has not been declared int (*asidx_from_attrs)(CPUState *cpu, MemTxAttrs attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:173:30: error: ‘CPUState’ has not been declared int (*gdb_read_register)(CPUState *cpu, uint8_t *buf, int reg); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:174:31: error: ‘CPUState’ has not been declared int (*gdb_write_register)(CPUState *cpu, uint8_t *buf, int reg); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:175:36: error: ‘CPUState’ has not been declared bool (*debug_check_watchpoint)(CPUState *cpu, CPUWatchpoint *wp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:176:32: error: ‘CPUState’ has not been declared void (*debug_excp_handler)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:178:54: error: ‘CPUState’ has not been declared int (*write_elf64_note)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:180:58: error: ‘CPUState’ has not been declared int (*write_elf64_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:182:54: error: ‘CPUState’ has not been declared int (*write_elf32_note)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:184:58: error: ‘CPUState’ has not been declared int (*write_elf32_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:190:5: error: ‘gchar’ does not name a type gchar * (*gdb_arch_name)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:193:28: error: ‘CPUState’ has not been declared void (*cpu_exec_enter)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:194:27: error: ‘CPUState’ has not been declared void (*cpu_exec_exit)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:195:32: error: ‘CPUState’ has not been declared bool (*cpu_exec_interrupt)(CPUState *cpu, int interrupt_request); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:197:28: error: ‘CPUState’ has not been declared void (*disas_set_info)(CPUState *cpu, disassemble_info *info); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:33: error: typedef ‘run_on_cpu_func’ is initialized (use decltype instead) typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:33: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qom/cpu.h:253:43: error: ‘cpu’ was not declared in this scope typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:64: error: expected primary-expression before ‘data’ typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:331:5: error: ‘sigjmp_buf’ does not name a type sigjmp_buf jmp_env; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:336:5: error: ‘CPUAddressSpace’ does not name a type CPUAddressSpace *cpu_ases; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:338:5: error: ‘AddressSpace’ does not name a type AddressSpace *as; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:339:5: error: ‘MemoryRegion’ does not name a type MemoryRegion *memory; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:430:44: error: ‘MemoryMappingList’ has not been declared void cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:431:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:494:45: error: ‘fprintf_function’ has not been declared void cpu_dump_state(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:506:50: error: ‘fprintf_function’ has not been declared void cpu_dump_statistics(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘hwaddr cpu_get_phys_page_attrs_debug(CPUState*, vaddr, MemTxAttrs*)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:526:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:529:62: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->get_phys_page_attrs_debug(cpu, addr, attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:533:45: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->get_phys_page_debug(cpu, addr); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘int cpu_asidx_from_attrs(CPUState*, MemTxAttrs)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:562:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:565:47: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->asidx_from_attrs(cpu, attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:598:44: error: expected ‘,’ or ‘...’ before ‘typename’ ObjectClass *cpu_class_by_name(const char *typename, const char *cpu_model); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:609:40: error: expected ‘,’ or ‘...’ before ‘typename’ CPUState *cpu_generic_init(const char *typename, const char *cpu_model); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘bool cpu_has_work(CPUState*)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:621:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:623:26: error: ‘g_assert’ was not declared in this scope g_assert(cc->has_work); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:624:28: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->has_work(cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:665:35: error: ‘run_on_cpu_func’ has not been declared void do_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:676:32: error: ‘run_on_cpu_func’ has not been declared void run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:686:38: error: ‘run_on_cpu_func’ has not been declared void async_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:700:43: error: ‘run_on_cpu_func’ has not been declared void async_safe_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘void cpu_set_pc(CPUState*, vaddr)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:814:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:816:25: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing cc->set_pc(cpu, addr); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘bool cpu_breakpoint_test(CPUState*, vaddr, int)’: /home/rohan/Desktop/panda/include/qom/cpu.h:948:50: error: ‘unlikely’ was not declared in this scope if (unlikely(!QTAILQ_EMPTY(&cpu->breakpoints))) { ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:978:1: error: ‘AddressSpace’ does not name a type AddressSpace *cpu_get_address_space(CPUState *cpu, int asidx); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:980:20: error: expected initializer before ‘cpu_abort’ void QEMU_NORETURN cpu_abort(CPUState *cpu, const char *fmt, ...) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:983:40: error: ‘Error’ has not been declared void cpu_exec_realizefn(CPUState *cpu, Error **errp); ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu.h:24:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/i386/cpu-qom.h:72:5: error: ‘DeviceRealize’ does not name a type DeviceRealize parent_realize; ^ /home/rohan/Desktop/panda/target/i386/cpu-qom.h:73:5: error: ‘DeviceUnrealize’ does not name a type DeviceUnrealize parent_unrealize; ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu.h:50:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-defs.h:120:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(CPUTLBEntry) != (1 << CPU_TLB_ENTRY_BITS)); ^ In file included from /home/rohan/Desktop/panda/tcg/tcg.h:29:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/i386/cpu.h:960:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, avx_state) != 0x240); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:961:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveAVX) != 0x100); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:962:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, bndreg_state) != 0x3c0); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:963:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveBNDREG) != 0x40); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:964:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, bndcsr_state) != 0x400); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:965:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveBNDCSR) != 0x40); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:966:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, opmask_state) != 0x440); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:967:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveOpmask) != 0x40); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:968:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, zmm_hi256_state) != 0x480); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:969:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveZMM_Hi256) != 0x200); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:970:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, hi16_zmm_state) != 0x680); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:971:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSaveHi16_ZMM) != 0x400); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:972:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(offsetof(X86XSaveArea, pkru_state) != 0xA80); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:973:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(XSavePKRU) != 0x8); ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu.h:50:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-defs.h:95:36: error: ‘MIN’ was not declared in this scope NB_MMU_MODES <= 8 ? 3 : 4)) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:97:28: note: in expansion of macro ‘CPU_TLB_BITS’ #define CPU_TLB_SIZE (1 << CPU_TLB_BITS) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:134:41: note: in expansion of macro ‘CPU_TLB_SIZE’ CPUTLBEntry tlb_table[NB_MMU_MODES][CPU_TLB_SIZE]; \ ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:151:5: note: in expansion of macro ‘CPU_COMMON_TLB’ CPU_COMMON_TLB \ ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1130:5: note: in expansion of macro ‘CPU_COMMON’ CPU_COMMON ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:95:36: error: ‘MIN’ was not declared in this scope NB_MMU_MODES <= 8 ? 3 : 4)) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:97:28: note: in expansion of macro ‘CPU_TLB_BITS’ #define CPU_TLB_SIZE (1 << CPU_TLB_BITS) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:136:39: note: in expansion of macro ‘CPU_TLB_SIZE’ CPUIOTLBEntry iotlb[NB_MMU_MODES][CPU_TLB_SIZE]; \ ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:151:5: note: in expansion of macro ‘CPU_COMMON_TLB’ CPU_COMMON_TLB \ ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1130:5: note: in expansion of macro ‘CPU_COMMON’ CPU_COMMON ^ In file included from /home/rohan/Desktop/panda/tcg/tcg.h:29:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/i386/cpu.h: In function ‘X86CPU* x86_env_get_cpu(CPUX86State*)’: /home/rohan/Desktop/panda/target/i386/cpu.h:1276:36: error: expected primary-expression before ‘,’ token return container_of(env, X86CPU, env); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1276:41: error: ‘container_of’ was not declared in this scope return container_of(env, X86CPU, env); ^ /home/rohan/Desktop/panda/target/i386/cpu.h: At global scope: /home/rohan/Desktop/panda/target/i386/cpu.h:1303:48: error: ‘MemoryMappingList’ has not been declared void x86_cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1304:33: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1306:48: error: ‘fprintf_function’ has not been declared void x86_cpu_dump_state(CPUState *cs, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/target/i386/cpu.h:1318:28: error: ‘fprintf_function’ has not been declared void x86_cpu_list(FILE *f, fprintf_function cpu_fprintf); ^ In file included from /home/rohan/Desktop/panda/include/exec/cpu-all.h:23:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-common.h:22:5: error: ‘fprintf_function’ does not name a type fprintf_function cpu_fprintf; ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:60:1: error: ‘RAMBlock’ does not name a type RAMBlock *qemu_ram_block_by_name(const char *name); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:61:1: error: ‘RAMBlock’ does not name a type RAMBlock *qemu_ram_block_from_host(void *ptr, bool round_offset, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:25: error: variable or field ‘qemu_ram_set_idstr’ declared void void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:25: error: ‘RAMBlock’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:35: error: ‘block’ was not declared in this scope void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:42: error: expected primary-expression before ‘const’ void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:72: error: expected primary-expression before ‘*’ token void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:73: error: ‘dev’ was not declared in this scope void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:27: error: variable or field ‘qemu_ram_unset_idstr’ declared void void qemu_ram_unset_idstr(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:27: error: ‘RAMBlock’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:37: error: ‘block’ was not declared in this scope void qemu_ram_unset_idstr(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:65:32: error: ‘RAMBlock’ was not declared in this scope const char *qemu_ram_get_idstr(RAMBlock *rb); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:65:42: error: ‘rb’ was not declared in this scope const char *qemu_ram_get_idstr(RAMBlock *rb); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:66:26: error: ‘RAMBlock’ was not declared in this scope size_t qemu_ram_pagesize(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:66:36: error: ‘block’ was not declared in this scope size_t qemu_ram_pagesize(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:30: error: variable or field ‘cpu_register_map_client’ declared void void cpu_register_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:30: error: ‘QEMUBH’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:38: error: ‘bh’ was not declared in this scope void cpu_register_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:32: error: variable or field ‘cpu_unregister_map_client’ declared void void cpu_unregister_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:32: error: ‘QEMUBH’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:40: error: ‘bh’ was not declared in this scope void cpu_unregister_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:36: error: variable or field ‘cpu_physical_memory_write_rom’ declared void void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:36: error: ‘AddressSpace’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:50: error: ‘as’ was not declared in this scope void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:61: error: expected primary-expression before ‘addr’ void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:100:36: error: expected primary-expression before ‘const’ const uint8_t *buf, int len); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:100:56: error: expected primary-expression before ‘int’ const uint8_t *buf, int len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/rcu.h: In function ‘void rcu_read_lock()’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:81:11: note: in expansion of macro ‘atomic_read’ ctr = atomic_read(&rcu_gp_ctr); ^ /home/rohan/Desktop/panda/include/qemu/atomic.h:165:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:82:5: note: in expansion of macro ‘atomic_xchg’ atomic_xchg(&p_rcu_reader->ctr, ctr); ^ In file included from /home/rohan/Desktop/panda/include/exec/ramlist.h:6:0, from /home/rohan/Desktop/panda/include/exec/memory.h:24, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/rcu.h: In function ‘void rcu_read_unlock()’: /home/rohan/Desktop/panda/include/qemu/rcu.h:89:36: error: ‘assert’ was not declared in this scope assert(p_rcu_reader->depth != 0); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:165:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:94:5: note: in expansion of macro ‘atomic_xchg’ atomic_xchg(&p_rcu_reader->ctr, 0); ^ /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:95:18: note: in expansion of macro ‘atomic_read’ if (unlikely(atomic_read(&p_rcu_reader->waiting))) { ^ In file included from /home/rohan/Desktop/panda/include/exec/ramlist.h:6:0, from /home/rohan/Desktop/panda/include/exec/memory.h:24, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/rcu.h:95:53: error: ‘unlikely’ was not declared in this scope if (unlikely(atomic_read(&p_rcu_reader->waiting))) { ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:115:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:96:9: note: in expansion of macro ‘atomic_set’ atomic_set(&p_rcu_reader->waiting, false); ^ In file included from /home/rohan/Desktop/panda/include/exec/memory.h:24:0, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/ramlist.h: At global scope: /home/rohan/Desktop/panda/include/exec/ramlist.h:48:5: error: ‘RAMBlock’ does not name a type RAMBlock *mru_block; ^ In file included from /home/rohan/Desktop/panda/include/exec/memory.h:26:0, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/int128.h: In function ‘Int128 int128_make128(uint64_t, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/int128.h:162:30: warning: narrowing conversion of ‘hi’ from ‘uint64_t {aka long unsigned int}’ to ‘int64_t {aka long int}’ inside { } [-Wnarrowing] return (Int128) { lo, hi }; ^ /home/rohan/Desktop/panda/include/qemu/int128.h: In function ‘uint64_t int128_get64(Int128)’: /home/rohan/Desktop/panda/include/qemu/int128.h:167:17: error: ‘assert’ was not declared in this scope assert(!a.hi); ^ In file included from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24:0, from /home/rohan/Desktop/panda/target/i386/cpu.h:1536, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/memory.h: At global scope: /home/rohan/Desktop/panda/include/exec/memory.h:60:5: error: ‘AddressSpace’ does not name a type AddressSpace *target_as; ^ /home/rohan/Desktop/panda/include/exec/memory.h:235:50: error: ‘MemoryRegionSection’ has not been declared void (*region_add)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:236:50: error: ‘MemoryRegionSection’ has not been declared void (*region_del)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:237:50: error: ‘MemoryRegionSection’ has not been declared void (*region_nop)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:238:49: error: ‘MemoryRegionSection’ has not been declared void (*log_start)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:239:36: error: expected ‘,’ or ‘...’ before ‘new’ int old, int new); ^ /home/rohan/Desktop/panda/include/exec/memory.h:240:48: error: ‘MemoryRegionSection’ has not been declared void (*log_stop)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:241:35: error: expected ‘,’ or ‘...’ before ‘new’ int old, int new); ^ /home/rohan/Desktop/panda/include/exec/memory.h:242:48: error: ‘MemoryRegionSection’ has not been declared void (*log_sync)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:245:51: error: ‘MemoryRegionSection’ has not been declared void (*eventfd_add)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:246:57: error: ‘EventNotifier’ has not been declared bool match_data, uint64_t data, EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:247:51: error: ‘MemoryRegionSection’ has not been declared void (*eventfd_del)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:248:57: error: ‘EventNotifier’ has not been declared bool match_data, uint64_t data, EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:249:58: error: ‘MemoryRegionSection’ has not been declared void (*coalesced_mmio_add)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:251:58: error: ‘MemoryRegionSection’ has not been declared void (*coalesced_mmio_del)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:255:5: error: ‘AddressSpace’ does not name a type AddressSpace *address_space; ^ /home/rohan/Desktop/panda/include/exec/memory.h:383:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:408:40: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:428:39: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:508:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:527:36: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:809:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1028:32: error: ‘EventNotifier’ has not been declared EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1048:32: error: ‘EventNotifier’ has not been declared EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:17: error: variable or field ‘mtree_info’ declared void void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:17: error: ‘fprintf_function’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/memory.h:1254:46: error: expected primary-expression before ‘void’ void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:55: error: expected primary-expression before ‘bool’ void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘MemTxResult address_space_read(AddressSpace*, hwaddr, MemTxAttrs, uint8_t*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1657:37: error: ‘memcpy’ was not declared in this scope memcpy(buf, ptr, len); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘void address_space_read_cached(MemoryRegionCache*, hwaddr, void*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1682:57: error: ‘assert’ was not declared in this scope assert(addr < cache->len && len <= cache->len - addr); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1683:50: error: ‘memcpy’ was not declared in this scope memcpy(buf, (uint8_t *)cache->ptr + addr, len); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘void address_space_write_cached(MemoryRegionCache*, hwaddr, void*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1698:57: error: ‘assert’ was not declared in this scope assert(addr < cache->len && len <= cache->len - addr); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1699:50: error: ‘memcpy’ was not declared in this scope memcpy((uint8_t *)cache->ptr + addr, buf, len); ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu.h:1536:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-all.h: At global scope: /home/rohan/Desktop/panda/include/exec/cpu-all.h:341:30: error: ‘fprintf_function’ has not been declared void dump_exec_info(FILE *f, fprintf_function cpu_fprintf); ^ /home/rohan/Desktop/panda/include/exec/cpu-all.h:342:33: error: ‘fprintf_function’ has not been declared void dump_opcount_info(FILE *f, fprintf_function cpu_fprintf); ^ In file included from /home/rohan/Desktop/panda/target/i386/cpu.h:1537:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/i386/svm.h:133:20: error: variable ‘QEMU_PACKED vmcb_control_area’ has initializer but incomplete type struct QEMU_PACKED vmcb_control_area { ^ /home/rohan/Desktop/panda/target/i386/svm.h:134:11: error: expected primary-expression before ‘intercept_cr_read’ uint16_t intercept_cr_read; ^ /home/rohan/Desktop/panda/target/i386/svm.h:134:11: error: expected ‘}’ before ‘intercept_cr_read’ /home/rohan/Desktop/panda/target/i386/svm.h:134:11: error: expected ‘,’ or ‘;’ before ‘intercept_cr_read’ /home/rohan/Desktop/panda/target/i386/svm.h:163:1: error: expected declaration before ‘}’ token }; ^ make[2]: *** [panda/plugins/faros/faros.o] Error 1 make[1]: *** [plugin-faros] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /home/rohan/Desktop/panda/include/qemu-common.h:15:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/fprintf-fn.h:12:5: error: expected initializer before ‘GCC_FMT_ATTR’ GCC_FMT_ATTR(2, 3); ^ In file included from /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:35:0, from /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:16, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/qapi-types.h:42:5: error: ‘QObject’ does not name a type QObject *value; ^ /home/rohan/Desktop/panda/qapi-types.h:2531:11: error: expected unqualified-id before ‘export’ char *export; ^ /home/rohan/Desktop/panda/qapi-types.h:2531:10: error: expected ‘;’ at end of member declaration char *export; ^ /home/rohan/Desktop/panda/qapi-types.h:2531:11: error: expected unqualified-id before ‘export’ char *export; ^ In file included from /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:35:0, from /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:16, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/qapi-types.h:3275:5: error: ‘QObject’ does not name a type QObject *props; ^ /home/rohan/Desktop/panda/qapi-types.h:4779:5: error: ‘QObject’ does not name a type QObject *q_default; ^ /home/rohan/Desktop/panda/qapi-types.h:5785:5: error: ‘QObject’ does not name a type QObject *props; ^ /home/rohan/Desktop/panda/qapi-types.h:5821:5: error: ‘QObject’ does not name a type QObject *value; ^ In file included from /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:16:0, from /home/rohan/Desktop/panda/include/qemu/option.h:30, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘void qobject_init(QObject*, QType)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:56:50: error: ‘assert’ was not declared in this scope assert(QTYPE_NONE < type && type < QTYPE__MAX); ^ /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘void qobject_decref(QObject*)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:81:31: error: ‘assert’ was not declared in this scope assert(!obj || obj->refcnt); ^ /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h: In function ‘QType qobject_type(const QObject*)’: /home/rohan/Desktop/panda/include/qapi/qmp/qobject.h:92:60: error: ‘assert’ was not declared in this scope assert(QTYPE_NONE < obj->type && obj->type < QTYPE__MAX); ^ In file included from /home/rohan/Desktop/panda/include/qemu/option.h:30:0, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h: At global scope: /home/rohan/Desktop/panda/include/qapi/qmp/qdict.h:76:42: error: ‘Error’ has not been declared QObject *qdict_crumple(const QDict *src, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qemu-common.h:19:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/option.h:41:39: error: ‘Error’ has not been declared uint64_t *ret, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:81:1: error: ‘QemuOpt’ does not name a type QemuOpt *qemu_opt_find(QemuOpts *opts, const char *name); ^ /home/rohan/Desktop/panda/include/qemu/option.h:92:19: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:94:24: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:96:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:99:34: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:101:22: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:105:48: error: ‘Error’ has not been declared int fail_if_exists, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:109:57: error: ‘Error’ has not been declared const char *name, const char *value, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:113:66: error: ‘Error’ has not been declared void qemu_opts_validate(QemuOpts *opts, const QemuOptDesc *desc, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:115:48: error: ‘Error’ has not been declared const char *firstname, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:119:47: error: ‘Error’ has not been declared bool permit_abbrev, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:123:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:125:59: error: ‘Error’ has not been declared void qemu_opts_absorb_qdict(QemuOpts *opts, QDict *qdict, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:127:65: error: ‘Error’ has not been declared typedef int (*qemu_opts_loopfunc)(void *opaque, QemuOpts *opts, Error **errp); ^ /home/rohan/Desktop/panda/include/qemu/option.h:129:37: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:52:5: error: expected initializer before ‘QEMU_WARN_UNUSED_RESULT’ QEMU_WARN_UNUSED_RESULT; ^ /home/rohan/Desktop/panda/include/qemu-common.h:83:27: error: variable or field ‘cpu_exec_step_atomic’ declared void void cpu_exec_step_atomic(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qemu-common.h:83:27: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qemu-common.h:83:37: error: ‘cpu’ was not declared in this scope void cpu_exec_step_atomic(CPUState *cpu); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:147:35: error: ‘MACAddr’ does not name a type const char *qemu_ether_ntoa(const MACAddr *mac); ^ /home/rohan/Desktop/panda/include/qemu-common.h:147:44: warning: ISO C++ forbids declaration of ‘mac’ with no type [-fpermissive] const char *qemu_ether_ntoa(const MACAddr *mac); ^ In file included from /home/rohan/Desktop/panda/target/arm/cpu.h:23:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:36:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(CP_REG_SIZE_SHIFT, KVM_REG_SIZE_SHIFT); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:37:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(CP_REG_SIZE_MASK, KVM_REG_SIZE_MASK); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:38:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(CP_REG_SIZE_U32, KVM_REG_SIZE_U32); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:39:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(CP_REG_SIZE_U64, KVM_REG_SIZE_U64); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:40:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(CP_REG_ARM, KVM_REG_ARM); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:41:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(CP_REG_ARCH_MASK, KVM_REG_ARCH_MASK); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:50:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_1_FN_CPU_SUSPEND, KVM_PSCI_FN_CPU_SUSPEND); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:51:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_1_FN_CPU_OFF, KVM_PSCI_FN_CPU_OFF); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:52:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_1_FN_CPU_ON, KVM_PSCI_FN_CPU_ON); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:53:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_1_FN_MIGRATE, KVM_PSCI_FN_MIGRATE); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:80:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_2_FN_CPU_SUSPEND, PSCI_0_2_FN_CPU_SUSPEND); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:81:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_2_FN_CPU_OFF, PSCI_0_2_FN_CPU_OFF); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:82:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_2_FN_CPU_ON, PSCI_0_2_FN_CPU_ON); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:83:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_2_FN_MIGRATE, PSCI_0_2_FN_MIGRATE); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:84:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_2_FN64_CPU_SUSPEND, PSCI_0_2_FN64_CPU_SUSPEND); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:85:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_2_FN64_CPU_ON, PSCI_0_2_FN64_CPU_ON); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:86:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_2_FN64_MIGRATE, PSCI_0_2_FN64_MIGRATE); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:96:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_2_RET_TOS_MIGRATION_NOT_REQUIRED, PSCI_0_2_TOS_MP); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:97:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_0_2_RET_VERSION_0_2, ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:111:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_RET_SUCCESS, PSCI_RET_SUCCESS); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:112:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_RET_NOT_SUPPORTED, PSCI_RET_NOT_SUPPORTED); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:113:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_RET_INVALID_PARAMS, PSCI_RET_INVALID_PARAMS); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:114:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_RET_DENIED, PSCI_RET_DENIED); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:115:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_RET_ALREADY_ON, PSCI_RET_ALREADY_ON); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:116:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_RET_ON_PENDING, PSCI_RET_ON_PENDING); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:117:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_RET_INTERNAL_FAILURE, PSCI_RET_INTERNAL_FAILURE); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:118:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_RET_NOT_PRESENT, PSCI_RET_NOT_PRESENT); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:119:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_PSCI_RET_DISABLED, PSCI_RET_DISABLED); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:146:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_KVM_ARM_TARGET_CORTEX_A15, KVM_ARM_TARGET_CORTEX_A15); ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:25:47: error: expected constructor, destructor, or type conversion before ‘(’ token #define MISMATCH_CHECK(X, Y) QEMU_BUILD_BUG_ON(0) ^ /home/rohan/Desktop/panda/target/arm/kvm-consts.h:147:1: note: in expansion of macro ‘MISMATCH_CHECK’ MISMATCH_CHECK(QEMU_KVM_ARM_TARGET_CORTEX_A7, KVM_ARM_TARGET_CORTEX_A7); ^ In file included from /home/rohan/Desktop/panda/include/qemu/host-utils.h:29:0, from /home/rohan/Desktop/panda/include/qemu/bitops.h:16, from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t be16_to_cpu(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t cpu_to_be16(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be16_to_cpus(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be16s(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:162:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:162:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t be32_to_cpu(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t cpu_to_be32(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be32_to_cpus(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be32s(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:163:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:163:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t be64_to_cpu(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t cpu_to_be64(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void be64_to_cpus(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_be64s(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:164:13: error: ‘be’ was not declared in this scope CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:164:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(be, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t le16_to_cpu(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint16_t cpu_to_le16(uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le16_to_cpus(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le16s(uint16_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:166:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:166:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 16, uint16_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t le32_to_cpu(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint32_t cpu_to_le32(uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le32_to_cpus(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le32s(uint32_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:167:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:167:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 32, uint32_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t le64_to_cpu(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:144:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t cpu_to_le64(uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:17: note: in definition of macro ‘CPU_CONVERT’ return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:25: error: ‘_bswap’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:149:31: error: ‘glue’ was not declared in this scope return glue(endian, _bswap)(v, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void le64_to_cpus(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:154:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void cpu_to_le64s(uint64_t*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:168:13: error: ‘le’ was not declared in this scope CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:10: note: in definition of macro ‘CPU_CONVERT’ glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:18: error: ‘_bswaps’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:159:25: error: ‘glue’ was not declared in this scope glue(endian, _bswaps)(p, size);\ ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:168:1: note: in expansion of macro ‘CPU_CONVERT’ CPU_CONVERT(le, 64, uint64_t) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int lduw_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:317:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldsw_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:324:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stw_he_p(void*, uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:330:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldl_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:336:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stl_he_p(void*, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:342:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t ldq_he_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:348:30: error: ‘memcpy’ was not declared in this scope memcpy(&r, ptr, sizeof(r)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stq_he_p(void*, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:354:30: error: ‘memcpy’ was not declared in this scope memcpy(ptr, &v, sizeof(v)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int lduw_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:424:22: note: in expansion of macro ‘be_bswap’ return (uint16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:424:22: note: in expansion of macro ‘be_bswap’ return (uint16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldsw_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:429:21: note: in expansion of macro ‘be_bswap’ return (int16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:429:21: note: in expansion of macro ‘be_bswap’ return (int16_t)be_bswap(lduw_he_p(ptr), 16); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘int ldl_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:434:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldl_he_p(ptr), 32); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:434:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldl_he_p(ptr), 32); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘uint64_t ldq_be_p(const void*)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:439:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldq_he_p(ptr), 64); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:439:12: note: in expansion of macro ‘be_bswap’ return be_bswap(ldq_he_p(ptr), 64); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stw_be_p(void*, uint16_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:444:19: note: in expansion of macro ‘be_bswap’ stw_he_p(ptr, be_bswap(v, 16)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:444:19: note: in expansion of macro ‘be_bswap’ stw_he_p(ptr, be_bswap(v, 16)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stl_be_p(void*, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:449:19: note: in expansion of macro ‘be_bswap’ stl_he_p(ptr, be_bswap(v, 32)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:449:19: note: in expansion of macro ‘be_bswap’ stl_he_p(ptr, be_bswap(v, 32)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘void stq_be_p(void*, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:78:32: error: ‘bswap’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:454:19: note: in expansion of macro ‘be_bswap’ stq_he_p(ptr, be_bswap(v, 64)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:78:43: error: ‘glue’ was not declared in this scope #define be_bswap(v, size) glue(bswap, size)(v) ^ /home/rohan/Desktop/panda/include/qemu/bswap.h:454:19: note: in expansion of macro ‘be_bswap’ stq_he_p(ptr, be_bswap(v, 64)); ^ /home/rohan/Desktop/panda/include/qemu/bswap.h: In function ‘long unsigned int leul_to_cpu(long unsigned int)’: /home/rohan/Desktop/panda/include/qemu/bswap.h:496:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void set_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:37:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void set_bit_atomic(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:50:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void clear_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:63:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘void change_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:76:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_set_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:89:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_clear_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:104:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_and_change_bit(long int, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:23:49: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:119:26: note: in expansion of macro ‘BIT_MASK’ unsigned long mask = BIT_MASK(nr); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int test_bit(long int, const long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:24:41: note: in expansion of macro ‘BITS_PER_LONG’ #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:134:24: note: in expansion of macro ‘BIT_WORD’ return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘long unsigned int find_first_bit(const long unsigned int*, long unsigned int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:180:47: note: in expansion of macro ‘BITS_PER_LONG’ for (result = 0; result < size; result += BITS_PER_LONG) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:183:31: error: ‘ctzl’ was not declared in this scope result += ctzl(tmp); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint32_t extract32(uint32_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:309:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint64_t extract64(uint64_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:328:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int32_t sextract32(uint32_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:350:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘int64_t sextract64(uint64_t, int, int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:375:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint32_t deposit32(uint32_t, int, int, uint32_t)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:403:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 32 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h: In function ‘uint64_t deposit64(uint64_t, int, int, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:429:60: error: ‘assert’ was not declared in this scope assert(start >= 0 && length > 0 && length <= 64 - start); ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘long unsigned int* bitmap_try_new(long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:88:16: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:88:16: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:89:47: error: ‘g_try_malloc0’ was not declared in this scope return (unsigned long *) g_try_malloc0(len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_zero(long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:103:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:106:20: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:107:27: error: ‘memset’ was not declared in this scope memset(dst, 0, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_fill(long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:113:21: note: in expansion of macro ‘BITS_TO_LONGS’ size_t nlongs = BITS_TO_LONGS(nbits); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:113:21: note: in expansion of macro ‘BITS_TO_LONGS’ size_t nlongs = BITS_TO_LONGS(nbits); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:116:31: error: ‘memset’ was not declared in this scope memset(dst, 0xff, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_copy(long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:124:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:127:20: note: in expansion of macro ‘BITS_TO_LONGS’ long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:128:29: error: ‘memcpy’ was not declared in this scope memcpy(dst, src, len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_and(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:135:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_or(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:144:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_xor(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:154:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_andnot(long unsigned int*, const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:164:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘void bitmap_complement(long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:174:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_equal(const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:184:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_empty(const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:193:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_full(const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:202:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘int bitmap_intersects(const long unsigned int*, const long unsigned int*, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:67:21: note: in expansion of macro ‘BITS_PER_LONG’ ((nbits) <= BITS_PER_LONG) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:212:9: note: in expansion of macro ‘small_nbits’ if (small_nbits(nbits)) { ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h: In function ‘long unsigned int* bitmap_zero_extend(long unsigned int*, long int, long int)’: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:232:20: note: in expansion of macro ‘BITS_TO_LONGS’ long new_len = BITS_TO_LONGS(new_nbits) * sizeof(unsigned long); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:232:20: note: in expansion of macro ‘BITS_TO_LONGS’ long new_len = BITS_TO_LONGS(new_nbits) * sizeof(unsigned long); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitmap.h:233:69: error: ‘g_realloc’ was not declared in this scope unsigned long *newfoo = (unsigned long *) g_realloc(old, new_len); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/object.h: At global scope: /home/rohan/Desktop/panda/include/qom/object.h:296:39: error: ‘Visitor’ has not been declared Visitor *v, ^ /home/rohan/Desktop/panda/include/qom/object.h:299:39: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:334:5: error: ‘gchar’ does not name a type gchar *name; ^ /home/rohan/Desktop/panda/include/qom/object.h:335:5: error: ‘gchar’ does not name a type gchar *type; ^ /home/rohan/Desktop/panda/include/qom/object.h:336:5: error: ‘gchar’ does not name a type gchar *description; ^ /home/rohan/Desktop/panda/include/qom/object.h:373:5: error: ‘GSList’ does not name a type GSList *interfaces; ^ /home/rohan/Desktop/panda/include/qom/object.h:380:5: error: ‘GHashTable’ does not name a type GHashTable *properties; ^ /home/rohan/Desktop/panda/include/qom/object.h:400:5: error: ‘GHashTable’ does not name a type GHashTable *properties; ^ /home/rohan/Desktop/panda/include/qom/object.h:587:32: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new(const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:638:43: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new_with_props(const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:642:36: error: expected initializer before ‘QEMU_SENTINEL’ ...) QEMU_SENTINEL; ^ /home/rohan/Desktop/panda/include/qom/object.h:654:43: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_new_with_propv(const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:700:22: error: ‘Error’ has not been declared Error **errp, ^ /home/rohan/Desktop/panda/include/qom/object.h:701:27: error: expected initializer before ‘QEMU_SENTINEL’ ...) QEMU_SENTINEL; ^ /home/rohan/Desktop/panda/include/qom/object.h:714:22: error: ‘Error’ has not been declared Error **errp, ^ /home/rohan/Desktop/panda/include/qom/object.h:727:60: error: expected ‘,’ or ‘...’ before ‘typename’ void object_initialize(void *obj, size_t size, const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:739:54: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_dynamic_cast(Object *obj, const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:750:61: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_dynamic_cast_assert(Object *obj, const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:803:59: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:822:52: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:854:47: error: expected ‘,’ or ‘...’ before ‘typename’ ObjectClass *object_class_by_name(const char *typename); ^ /home/rohan/Desktop/panda/include/qom/object.h:867:1: error: ‘GSList’ does not name a type GSList *object_class_get_list(const char *implements_type, ^ /home/rohan/Desktop/panda/include/qom/object.h:916:51: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:918:57: error: ‘Error’ has not been declared void object_property_del(Object *obj, const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:925:57: error: ‘Error’ has not been declared void *opaque, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:936:38: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:938:44: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:942:5: error: ‘GHashTableIter’ does not name a type GHashTableIter iter; ^ /home/rohan/Desktop/panda/include/qom/object.h:999:39: error: ‘Visitor’ has not been declared void object_property_get(Object *obj, Visitor *v, const char *name, ^ /home/rohan/Desktop/panda/include/qom/object.h:1000:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1011:48: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1024:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1035:49: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1048:34: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1059:49: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1071:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1082:48: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1094:33: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1108:42: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1122:56: error: ‘Error’ has not been declared uint16List **list, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1135:39: error: ‘Visitor’ has not been declared void object_property_set(Object *obj, Visitor *v, const char *name, ^ /home/rohan/Desktop/panda/include/qom/object.h:1136:26: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1148:46: error: ‘Error’ has not been declared const char *name, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1161:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1172:38: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1199:1: error: ‘gchar’ does not name a type gchar *object_get_canonical_path_component(Object *obj); ^ /home/rohan/Desktop/panda/include/qom/object.h:1207:1: error: ‘gchar’ does not name a type gchar *object_get_canonical_path(Object *obj); ^ /home/rohan/Desktop/panda/include/qom/object.h:1252:64: error: expected ‘,’ or ‘...’ before ‘typename’ Object *object_resolve_path_type(const char *path, const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1265:61: error: ‘gchar’ does not name a type Object *object_resolve_path_component(Object *parent, const gchar *part); ^ /home/rohan/Desktop/panda/include/qom/object.h:1265:68: warning: ISO C++ forbids declaration of ‘part’ with no type [-fpermissive] Object *object_resolve_path_component(Object *parent, const gchar *part); ^ /home/rohan/Desktop/panda/include/qom/object.h:1285:47: error: ‘Error’ has not been declared Object *child, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1300:47: error: ‘Error’ has not been declared Object *, Error **); ^ /home/rohan/Desktop/panda/include/qom/object.h:1333:58: error: ‘Error’ has not been declared Object *val, Error **errp), ^ /home/rohan/Desktop/panda/include/qom/object.h:1335:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1350:53: error: ‘Error’ has not been declared char *(*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1351:66: error: ‘Error’ has not been declared void (*set)(Object *, const char *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1352:30: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1355:59: error: ‘Error’ has not been declared char *(*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1357:48: error: ‘Error’ has not been declared Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1358:36: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1372:53: error: ‘Error’ has not been declared bool (*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1373:59: error: ‘Error’ has not been declared void (*set)(Object *, bool, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1374:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1377:59: error: ‘Error’ has not been declared bool (*get)(Object *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1378:65: error: ‘Error’ has not been declared void (*set)(Object *, bool, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1379:37: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1394:43: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1401:49: error: expected ‘,’ or ‘...’ before ‘typename’ const char *typename, ^ /home/rohan/Desktop/panda/include/qom/object.h:1418:64: error: ‘Error’ has not been declared void (*get)(Object *, struct tm *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1419:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1422:70: error: ‘Error’ has not been declared void (*get)(Object *, struct tm *, Error **), ^ /home/rohan/Desktop/panda/include/qom/object.h:1423:35: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1436:54: error: ‘Error’ has not been declared const uint8_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1438:60: error: ‘Error’ has not been declared const uint8_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1451:56: error: ‘Error’ has not been declared const uint16_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1453:62: error: ‘Error’ has not been declared const uint16_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1466:56: error: ‘Error’ has not been declared const uint32_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1468:62: error: ‘Error’ has not been declared const uint32_t *v, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1481:56: error: ‘Error’ has not been declared const uint64_t *v, Error **Errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1483:62: error: ‘Error’ has not been declared const uint64_t *v, Error **Errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1503:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1521:53: error: ‘Error’ has not been declared Object *target, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1534:63: error: ‘Error’ has not been declared const char *description, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1537:44: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/object.h:1592:50: error: expected ‘,’ or ‘...’ before ‘typename’ size_t object_type_get_instance_size(const char *typename); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:9:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/hotplug.h:39:28: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:39:54: error: ‘Error’ has not been declared DeviceState *plugged_dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:74:27: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:75:27: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:83:31: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:84:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:92:37: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:93:37: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:100:29: error: ‘DeviceState’ has not been declared DeviceState *plugged_dev, ^ /home/rohan/Desktop/panda/include/hw/hotplug.h:101:29: error: ‘Error’ has not been declared Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:23:0, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:28: error: typedef ‘qdev_initfn’ is initialized (use decltype instead) typedef int (*qdev_initfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:28: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:33:41: error: ‘dev’ was not declared in this scope typedef int (*qdev_initfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:27: error: typedef ‘qdev_event’ is initialized (use decltype instead) typedef int (*qdev_event)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:27: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:34:40: error: ‘dev’ was not declared in this scope typedef int (*qdev_event)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:30: error: typedef ‘qdev_resetfn’ is initialized (use decltype instead) typedef void (*qdev_resetfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:30: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:35:43: error: ‘dev’ was not declared in this scope typedef void (*qdev_resetfn)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:31: error: typedef ‘DeviceRealize’ is initialized (use decltype instead) typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:31: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:44: error: ‘dev’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:49: error: ‘Error’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:36:57: error: ‘errp’ was not declared in this scope typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:33: error: typedef ‘DeviceUnrealize’ is initialized (use decltype instead) typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:33: error: ‘DeviceState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:46: error: ‘dev’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:51: error: ‘Error’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:37:59: error: ‘errp’ was not declared in this scope typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:28: error: typedef ‘BusRealize’ is initialized (use decltype instead) typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:28: error: ‘BusState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:38: error: ‘bus’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:43: error: ‘Error’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:38:51: error: ‘errp’ was not declared in this scope typedef void (*BusRealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:30: error: typedef ‘BusUnrealize’ is initialized (use decltype instead) typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:30: error: ‘BusState’ was not declared in this scope /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:40: error: ‘bus’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:45: error: ‘Error’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:39:53: error: ‘errp’ was not declared in this scope typedef void (*BusUnrealize)(BusState *bus, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:64:28: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long name[BITS_TO_LONGS(bits)] ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:100:5: note: in expansion of macro ‘DECLARE_BITMAP’ DECLARE_BITMAP(categories, DEVICE_CATEGORY_MAX); ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/include/qemu/bitmap.h:64:28: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long name[BITS_TO_LONGS(bits)] ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:100:5: note: in expansion of macro ‘DECLARE_BITMAP’ DECLARE_BITMAP(categories, DEVICE_CATEGORY_MAX); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:23:0, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/hw/qdev-core.h:103:5: error: ‘Property’ does not name a type Property *props; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:132:19: error: ‘DeviceState’ has not been declared void (*reset)(DeviceState *dev); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:133:5: error: ‘DeviceRealize’ does not name a type DeviceRealize realize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:134:5: error: ‘DeviceUnrealize’ does not name a type DeviceUnrealize unrealize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:140:5: error: ‘qdev_initfn’ does not name a type qdev_initfn init; /* TODO remove, once users are converted to realize */ ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:141:5: error: ‘qdev_event’ does not name a type qdev_event exit; /* TODO remove, once users are converted to unrealize */ ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:172:5: error: ‘BusState’ does not name a type BusState *parent_bus; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:195:23: error: ‘Monitor’ has not been declared void (*print_dev)(Monitor *mon, DeviceState *dev, int indent); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:204:5: error: ‘BusRealize’ does not name a type BusRealize realize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:205:5: error: ‘BusUnrealize’ does not name a type BusUnrealize unrealize; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:238:5: error: ‘PropertyInfo’ does not name a type PropertyInfo *info; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:239:5: error: ‘ptrdiff_t’ does not name a type ptrdiff_t offset; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:244:5: error: ‘PropertyInfo’ does not name a type PropertyInfo *arrayinfo; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:275:5: error: ‘Error’ does not name a type Error **errp; ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:286:36: error: ‘Error’ has not been declared void qdev_unplug(DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:288:53: error: ‘Error’ has not been declared DeviceState *dev, Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:328:62: error: expected ‘,’ or ‘...’ before ‘typename’ void qbus_create_inplace(void *bus, size_t size, const char *typename, ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:330:35: error: expected ‘,’ or ‘...’ before ‘typename’ BusState *qbus_create(const char *typename, DeviceState *parent, const char *name); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:393:1: error: ‘GSList’ does not name a type GSList *qdev_build_hotpluggable_device_list(Object *peripheral); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:396:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/hw/qdev-core.h:398:50: error: ‘Error’ has not been declared void qbus_set_bus_hotplug_handler(BusState *bus, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:24:0, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/disas/bfd.h:268:3: error: ‘fprintf_function’ does not name a type fprintf_function fprintf_func; ^ In file included from /home/rohan/Desktop/panda/include/qom/cpu.h:29:0, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/thread.h: In function ‘void qemu_spin_lock(QemuSpin*)’: /home/rohan/Desktop/panda/include/qemu/thread.h:80:65: error: ‘unlikely’ was not declared in this scope while (unlikely(__sync_lock_test_and_set(&spin->value, true))) { ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/thread.h:81:16: note: in expansion of macro ‘atomic_read’ while (atomic_read(&spin->value)) { ^ /home/rohan/Desktop/panda/include/qemu/thread.h: In function ‘bool qemu_spin_locked(QemuSpin*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/thread.h:94:12: note: in expansion of macro ‘atomic_read’ return atomic_read(&spin->value); ^ In file included from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:72:37: error: typedef ‘CPUUnassignedAccess’ is initialized (use decltype instead) typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:72:37: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qom/cpu.h:72:47: error: ‘cpu’ was not declared in this scope typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:72:59: error: expected primary-expression before ‘addr’ typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:37: error: expected primary-expression before ‘bool’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:52: error: expected primary-expression before ‘bool’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:73:66: error: expected primary-expression before ‘int’ bool is_write, bool is_exec, int opaque, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:74:37: error: expected primary-expression before ‘unsigned’ unsigned size); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:144:40: error: expected ‘,’ or ‘...’ before ‘typename’ void (*parse_features)(const char *typename, char *str, Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:146:19: error: ‘CPUState’ has not been declared void (*reset)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:148:22: error: ‘CPUState’ has not been declared bool (*has_work)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:149:26: error: ‘CPUState’ has not been declared void (*do_interrupt)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:150:5: error: ‘CPUUnassignedAccess’ does not name a type CPUUnassignedAccess do_unassigned_access; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:151:33: error: ‘CPUState’ has not been declared void (*do_unaligned_access)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:154:34: error: ‘CPUState’ has not been declared bool (*virtio_is_big_endian)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:155:28: error: ‘CPUState’ has not been declared int (*memory_rw_debug)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:157:24: error: ‘CPUState’ has not been declared void (*dump_state)(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:157:48: error: ‘fprintf_function’ has not been declared void (*dump_state)(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:159:29: error: ‘CPUState’ has not been declared void (*dump_statistics)(CPUState *cpu, FILE *f, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:160:29: error: ‘fprintf_function’ has not been declared fprintf_function cpu_fprintf, int flags); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:161:28: error: ‘CPUState’ has not been declared int64_t (*get_arch_id)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:162:38: error: ‘CPUState’ does not name a type bool (*get_paging_enabled)(const CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:162:48: warning: ISO C++ forbids declaration of ‘cpu’ with no type [-fpermissive] bool (*get_paging_enabled)(const CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:163:32: error: ‘CPUState’ has not been declared void (*get_memory_mapping)(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:163:47: error: ‘MemoryMappingList’ has not been declared void (*get_memory_mapping)(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:164:32: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:165:20: error: ‘CPUState’ has not been declared void (*set_pc)(CPUState *cpu, vaddr value); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:166:33: error: ‘CPUState’ has not been declared void (*synchronize_from_tb)(CPUState *cpu, struct TranslationBlock *tb); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:167:29: error: ‘CPUState’ has not been declared int (*handle_mmu_fault)(CPUState *cpu, vaddr address, int rw, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:169:35: error: ‘CPUState’ has not been declared hwaddr (*get_phys_page_debug)(CPUState *cpu, vaddr addr); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:170:41: error: ‘CPUState’ has not been declared hwaddr (*get_phys_page_attrs_debug)(CPUState *cpu, vaddr addr, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:172:29: error: ‘CPUState’ has not been declared int (*asidx_from_attrs)(CPUState *cpu, MemTxAttrs attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:173:30: error: ‘CPUState’ has not been declared int (*gdb_read_register)(CPUState *cpu, uint8_t *buf, int reg); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:174:31: error: ‘CPUState’ has not been declared int (*gdb_write_register)(CPUState *cpu, uint8_t *buf, int reg); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:175:36: error: ‘CPUState’ has not been declared bool (*debug_check_watchpoint)(CPUState *cpu, CPUWatchpoint *wp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:176:32: error: ‘CPUState’ has not been declared void (*debug_excp_handler)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:178:54: error: ‘CPUState’ has not been declared int (*write_elf64_note)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:180:58: error: ‘CPUState’ has not been declared int (*write_elf64_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:182:54: error: ‘CPUState’ has not been declared int (*write_elf32_note)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:184:58: error: ‘CPUState’ has not been declared int (*write_elf32_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:190:5: error: ‘gchar’ does not name a type gchar * (*gdb_arch_name)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:193:28: error: ‘CPUState’ has not been declared void (*cpu_exec_enter)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:194:27: error: ‘CPUState’ has not been declared void (*cpu_exec_exit)(CPUState *cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:195:32: error: ‘CPUState’ has not been declared bool (*cpu_exec_interrupt)(CPUState *cpu, int interrupt_request); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:197:28: error: ‘CPUState’ has not been declared void (*disas_set_info)(CPUState *cpu, disassemble_info *info); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:33: error: typedef ‘run_on_cpu_func’ is initialized (use decltype instead) typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:33: error: ‘CPUState’ was not declared in this scope /home/rohan/Desktop/panda/include/qom/cpu.h:253:43: error: ‘cpu’ was not declared in this scope typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:253:64: error: expected primary-expression before ‘data’ typedef void (*run_on_cpu_func)(CPUState *cpu, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:331:5: error: ‘sigjmp_buf’ does not name a type sigjmp_buf jmp_env; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:336:5: error: ‘CPUAddressSpace’ does not name a type CPUAddressSpace *cpu_ases; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:338:5: error: ‘AddressSpace’ does not name a type AddressSpace *as; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:339:5: error: ‘MemoryRegion’ does not name a type MemoryRegion *memory; ^ /home/rohan/Desktop/panda/include/qom/cpu.h:430:44: error: ‘MemoryMappingList’ has not been declared void cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:431:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:494:45: error: ‘fprintf_function’ has not been declared void cpu_dump_state(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:506:50: error: ‘fprintf_function’ has not been declared void cpu_dump_statistics(CPUState *cpu, FILE *f, fprintf_function cpu_fprintf, ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘hwaddr cpu_get_phys_page_attrs_debug(CPUState*, vaddr, MemTxAttrs*)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:526:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:529:62: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->get_phys_page_attrs_debug(cpu, addr, attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:533:45: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->get_phys_page_debug(cpu, addr); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘int cpu_asidx_from_attrs(CPUState*, MemTxAttrs)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:562:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:565:47: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->asidx_from_attrs(cpu, attrs); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:598:44: error: expected ‘,’ or ‘...’ before ‘typename’ ObjectClass *cpu_class_by_name(const char *typename, const char *cpu_model); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:609:40: error: expected ‘,’ or ‘...’ before ‘typename’ CPUState *cpu_generic_init(const char *typename, const char *cpu_model); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘bool cpu_has_work(CPUState*)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:621:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:623:26: error: ‘g_assert’ was not declared in this scope g_assert(cc->has_work); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:624:28: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing return cc->has_work(cpu); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:665:35: error: ‘run_on_cpu_func’ has not been declared void do_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data, ^ /home/rohan/Desktop/panda/include/qom/cpu.h:676:32: error: ‘run_on_cpu_func’ has not been declared void run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:686:38: error: ‘run_on_cpu_func’ has not been declared void async_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:700:43: error: ‘run_on_cpu_func’ has not been declared void async_safe_run_on_cpu(CPUState *cpu, run_on_cpu_func func, run_on_cpu_data data); ^ In file included from /home/rohan/Desktop/panda/include/hw/qdev-core.h:7:0, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘void cpu_set_pc(CPUState*, vaddr)’: /home/rohan/Desktop/panda/include/qom/object.h:515:76: error: too many arguments to function ‘ObjectClass* object_class_dynamic_cast_assert(ObjectClass*, const char*)’ __FILE__, __LINE__, __func__)) ^ /home/rohan/Desktop/panda/include/qom/object.h:528:5: note: in expansion of macro ‘OBJECT_CLASS_CHECK’ OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:62:28: note: in expansion of macro ‘OBJECT_GET_CLASS’ #define CPU_GET_CLASS(obj) OBJECT_GET_CLASS(CPUClass, (obj), TYPE_CPU) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:814:20: note: in expansion of macro ‘CPU_GET_CLASS’ CPUClass *cc = CPU_GET_CLASS(cpu); ^ /home/rohan/Desktop/panda/include/qom/object.h:802:14: note: declared here ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass, ^ In file included from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23:0, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qom/cpu.h:816:25: error: cannot convert ‘CPUState*’ to ‘int*’ in argument passing cc->set_pc(cpu, addr); ^ /home/rohan/Desktop/panda/include/qom/cpu.h: In function ‘bool cpu_breakpoint_test(CPUState*, vaddr, int)’: /home/rohan/Desktop/panda/include/qom/cpu.h:948:50: error: ‘unlikely’ was not declared in this scope if (unlikely(!QTAILQ_EMPTY(&cpu->breakpoints))) { ^ /home/rohan/Desktop/panda/include/qom/cpu.h: At global scope: /home/rohan/Desktop/panda/include/qom/cpu.h:978:1: error: ‘AddressSpace’ does not name a type AddressSpace *cpu_get_address_space(CPUState *cpu, int asidx); ^ /home/rohan/Desktop/panda/include/qom/cpu.h:980:20: error: expected initializer before ‘cpu_abort’ void QEMU_NORETURN cpu_abort(CPUState *cpu, const char *fmt, ...) ^ /home/rohan/Desktop/panda/include/qom/cpu.h:983:40: error: ‘Error’ has not been declared void cpu_exec_realizefn(CPUState *cpu, Error **errp); ^ In file included from /home/rohan/Desktop/panda/target/arm/cpu.h:36:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/arm/cpu-qom.h:48:5: error: ‘DeviceRealize’ does not name a type DeviceRealize parent_realize; ^ In file included from /home/rohan/Desktop/panda/target/arm/cpu.h:37:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-defs.h:120:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(CPUTLBEntry) != (1 << CPU_TLB_ENTRY_BITS)); ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:95:36: error: ‘MIN’ was not declared in this scope NB_MMU_MODES <= 8 ? 3 : 4)) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:97:28: note: in expansion of macro ‘CPU_TLB_BITS’ #define CPU_TLB_SIZE (1 << CPU_TLB_BITS) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:134:41: note: in expansion of macro ‘CPU_TLB_SIZE’ CPUTLBEntry tlb_table[NB_MMU_MODES][CPU_TLB_SIZE]; \ ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:151:5: note: in expansion of macro ‘CPU_COMMON_TLB’ CPU_COMMON_TLB \ ^ /home/rohan/Desktop/panda/target/arm/cpu.h:504:5: note: in expansion of macro ‘CPU_COMMON’ CPU_COMMON ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:95:36: error: ‘MIN’ was not declared in this scope NB_MMU_MODES <= 8 ? 3 : 4)) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:97:28: note: in expansion of macro ‘CPU_TLB_BITS’ #define CPU_TLB_SIZE (1 << CPU_TLB_BITS) ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:136:39: note: in expansion of macro ‘CPU_TLB_SIZE’ CPUIOTLBEntry iotlb[NB_MMU_MODES][CPU_TLB_SIZE]; \ ^ /home/rohan/Desktop/panda/include/exec/cpu-defs.h:151:5: note: in expansion of macro ‘CPU_COMMON_TLB’ CPU_COMMON_TLB \ ^ /home/rohan/Desktop/panda/target/arm/cpu.h:504:5: note: in expansion of macro ‘CPU_COMMON’ CPU_COMMON ^ In file included from /home/rohan/Desktop/panda/tcg/tcg.h:29:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/arm/cpu.h:543:5: error: ‘GHashTable’ does not name a type GHashTable *cp_regs; ^ /home/rohan/Desktop/panda/target/arm/cpu.h:565:5: error: ‘QEMUTimer’ does not name a type QEMUTimer *gt_timer[NUM_GTIMERS]; ^ /home/rohan/Desktop/panda/target/arm/cpu.h:572:5: error: ‘MemoryRegion’ does not name a type MemoryRegion *secure_memory; ^ /home/rohan/Desktop/panda/target/arm/cpu.h: In function ‘ARMCPU* arm_env_get_cpu(CPUARMState*)’: /home/rohan/Desktop/panda/target/arm/cpu.h:685:36: error: expected primary-expression before ‘,’ token return container_of(env, ARMCPU, env); ^ /home/rohan/Desktop/panda/target/arm/cpu.h:685:41: error: ‘container_of’ was not declared in this scope return container_of(env, ARMCPU, env); ^ /home/rohan/Desktop/panda/target/arm/cpu.h: At global scope: /home/rohan/Desktop/panda/target/arm/cpu.h:700:48: error: ‘fprintf_function’ has not been declared void arm_cpu_dump_state(CPUState *cs, FILE *f, fprintf_function cpu_fprintf, ^ /home/rohan/Desktop/panda/target/arm/cpu.h: In function ‘bool arm_el_is_aa64(CPUARMState*, int)’: /home/rohan/Desktop/panda/target/arm/cpu.h:1264:30: error: ‘assert’ was not declared in this scope assert(el >= 1 && el <= 3); ^ /home/rohan/Desktop/panda/target/arm/cpu.h: At global scope: /home/rohan/Desktop/panda/target/arm/cpu.h:1333:28: error: ‘fprintf_function’ has not been declared void arm_cpu_list(FILE *f, fprintf_function cpu_fprintf); ^ /home/rohan/Desktop/panda/target/arm/cpu.h:1685:5: error: ‘ptrdiff_t’ does not name a type ptrdiff_t fieldoffset; /* offsetof(CPUARMState, field) */ ^ /home/rohan/Desktop/panda/target/arm/cpu.h:1698:5: error: ‘ptrdiff_t’ does not name a type ptrdiff_t bank_fieldoffsets[2]; ^ /home/rohan/Desktop/panda/target/arm/cpu.h:1758:40: error: ‘GHashTable’ was not declared in this scope const ARMCPRegInfo *get_arm_cp_reginfo(GHashTable *cpregs, uint32_t encoded_cp); ^ /home/rohan/Desktop/panda/target/arm/cpu.h:1758:52: error: ‘cpregs’ was not declared in this scope const ARMCPRegInfo *get_arm_cp_reginfo(GHashTable *cpregs, uint32_t encoded_cp); ^ /home/rohan/Desktop/panda/target/arm/cpu.h:1758:69: error: expected primary-expression before ‘encoded_cp’ const ARMCPRegInfo *get_arm_cp_reginfo(GHashTable *cpregs, uint32_t encoded_cp); ^ /home/rohan/Desktop/panda/target/arm/cpu.h:1758:79: warning: expression list treated as compound expression in initializer [-fpermissive] const ARMCPRegInfo *get_arm_cp_reginfo(GHashTable *cpregs, uint32_t encoded_cp); ^ /home/rohan/Desktop/panda/target/arm/cpu.h: In function ‘bool arm_excp_unmasked(CPUState*, unsigned int, unsigned int)’: /home/rohan/Desktop/panda/target/arm/cpu.h:1880:30: error: ‘g_assert_not_reached’ was not declared in this scope g_assert_not_reached(); ^ /home/rohan/Desktop/panda/target/arm/cpu.h:1934:38: error: ‘g_assert_not_reached’ was not declared in this scope g_assert_not_reached(); ^ /home/rohan/Desktop/panda/target/arm/cpu.h: In function ‘int arm_mmu_idx_to_el(ARMMMUIdx)’: /home/rohan/Desktop/panda/target/arm/cpu.h:2025:36: error: ‘assert’ was not declared in this scope assert(mmu_idx < ARMMMUIdx_S2NS); ^ In file included from /home/rohan/Desktop/panda/include/exec/cpu-all.h:23:0, from /home/rohan/Desktop/panda/target/arm/cpu.h:2206, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-common.h: At global scope: /home/rohan/Desktop/panda/include/exec/cpu-common.h:22:5: error: ‘fprintf_function’ does not name a type fprintf_function cpu_fprintf; ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:60:1: error: ‘RAMBlock’ does not name a type RAMBlock *qemu_ram_block_by_name(const char *name); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:61:1: error: ‘RAMBlock’ does not name a type RAMBlock *qemu_ram_block_from_host(void *ptr, bool round_offset, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:25: error: variable or field ‘qemu_ram_set_idstr’ declared void void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:25: error: ‘RAMBlock’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:35: error: ‘block’ was not declared in this scope void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:42: error: expected primary-expression before ‘const’ void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:72: error: expected primary-expression before ‘*’ token void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:63:73: error: ‘dev’ was not declared in this scope void qemu_ram_set_idstr(RAMBlock *block, const char *name, DeviceState *dev); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:27: error: variable or field ‘qemu_ram_unset_idstr’ declared void void qemu_ram_unset_idstr(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:27: error: ‘RAMBlock’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:64:37: error: ‘block’ was not declared in this scope void qemu_ram_unset_idstr(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:65:32: error: ‘RAMBlock’ was not declared in this scope const char *qemu_ram_get_idstr(RAMBlock *rb); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:65:42: error: ‘rb’ was not declared in this scope const char *qemu_ram_get_idstr(RAMBlock *rb); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:66:26: error: ‘RAMBlock’ was not declared in this scope size_t qemu_ram_pagesize(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:66:36: error: ‘block’ was not declared in this scope size_t qemu_ram_pagesize(RAMBlock *block); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:30: error: variable or field ‘cpu_register_map_client’ declared void void cpu_register_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:30: error: ‘QEMUBH’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:87:38: error: ‘bh’ was not declared in this scope void cpu_register_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:32: error: variable or field ‘cpu_unregister_map_client’ declared void void cpu_unregister_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:32: error: ‘QEMUBH’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:88:40: error: ‘bh’ was not declared in this scope void cpu_unregister_map_client(QEMUBH *bh); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:36: error: variable or field ‘cpu_physical_memory_write_rom’ declared void void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:36: error: ‘AddressSpace’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:50: error: ‘as’ was not declared in this scope void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:99:61: error: expected primary-expression before ‘addr’ void cpu_physical_memory_write_rom(AddressSpace *as, hwaddr addr, ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:100:36: error: expected primary-expression before ‘const’ const uint8_t *buf, int len); ^ /home/rohan/Desktop/panda/include/exec/cpu-common.h:100:56: error: expected primary-expression before ‘int’ const uint8_t *buf, int len); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/rcu.h: In function ‘void rcu_read_lock()’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:81:11: note: in expansion of macro ‘atomic_read’ ctr = atomic_read(&rcu_gp_ctr); ^ /home/rohan/Desktop/panda/include/qemu/atomic.h:165:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:82:5: note: in expansion of macro ‘atomic_xchg’ atomic_xchg(&p_rcu_reader->ctr, ctr); ^ In file included from /home/rohan/Desktop/panda/include/exec/ramlist.h:6:0, from /home/rohan/Desktop/panda/include/exec/memory.h:24, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/arm/cpu.h:2206, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/rcu.h: In function ‘void rcu_read_unlock()’: /home/rohan/Desktop/panda/include/qemu/rcu.h:89:36: error: ‘assert’ was not declared in this scope assert(p_rcu_reader->depth != 0); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:165:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:94:5: note: in expansion of macro ‘atomic_xchg’ atomic_xchg(&p_rcu_reader->ctr, 0); ^ /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:95:18: note: in expansion of macro ‘atomic_read’ if (unlikely(atomic_read(&p_rcu_reader->waiting))) { ^ In file included from /home/rohan/Desktop/panda/include/exec/ramlist.h:6:0, from /home/rohan/Desktop/panda/include/exec/memory.h:24, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/arm/cpu.h:2206, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/rcu.h:95:53: error: ‘unlikely’ was not declared in this scope if (unlikely(atomic_read(&p_rcu_reader->waiting))) { ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/atomic.h:115:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/rcu.h:96:9: note: in expansion of macro ‘atomic_set’ atomic_set(&p_rcu_reader->waiting, false); ^ In file included from /home/rohan/Desktop/panda/include/exec/memory.h:24:0, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/arm/cpu.h:2206, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/ramlist.h: At global scope: /home/rohan/Desktop/panda/include/exec/ramlist.h:48:5: error: ‘RAMBlock’ does not name a type RAMBlock *mru_block; ^ In file included from /home/rohan/Desktop/panda/include/exec/memory.h:26:0, from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24, from /home/rohan/Desktop/panda/target/arm/cpu.h:2206, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/int128.h: In function ‘Int128 int128_make128(uint64_t, uint64_t)’: /home/rohan/Desktop/panda/include/qemu/int128.h:162:30: warning: narrowing conversion of ‘hi’ from ‘uint64_t {aka long unsigned int}’ to ‘int64_t {aka long int}’ inside { } [-Wnarrowing] return (Int128) { lo, hi }; ^ /home/rohan/Desktop/panda/include/qemu/int128.h: In function ‘uint64_t int128_get64(Int128)’: /home/rohan/Desktop/panda/include/qemu/int128.h:167:17: error: ‘assert’ was not declared in this scope assert(!a.hi); ^ In file included from /home/rohan/Desktop/panda/include/exec/cpu-all.h:24:0, from /home/rohan/Desktop/panda/target/arm/cpu.h:2206, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/memory.h: At global scope: /home/rohan/Desktop/panda/include/exec/memory.h:60:5: error: ‘AddressSpace’ does not name a type AddressSpace *target_as; ^ /home/rohan/Desktop/panda/include/exec/memory.h:235:50: error: ‘MemoryRegionSection’ has not been declared void (*region_add)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:236:50: error: ‘MemoryRegionSection’ has not been declared void (*region_del)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:237:50: error: ‘MemoryRegionSection’ has not been declared void (*region_nop)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:238:49: error: ‘MemoryRegionSection’ has not been declared void (*log_start)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:239:36: error: expected ‘,’ or ‘...’ before ‘new’ int old, int new); ^ /home/rohan/Desktop/panda/include/exec/memory.h:240:48: error: ‘MemoryRegionSection’ has not been declared void (*log_stop)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:241:35: error: expected ‘,’ or ‘...’ before ‘new’ int old, int new); ^ /home/rohan/Desktop/panda/include/exec/memory.h:242:48: error: ‘MemoryRegionSection’ has not been declared void (*log_sync)(MemoryListener *listener, MemoryRegionSection *section); ^ /home/rohan/Desktop/panda/include/exec/memory.h:245:51: error: ‘MemoryRegionSection’ has not been declared void (*eventfd_add)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:246:57: error: ‘EventNotifier’ has not been declared bool match_data, uint64_t data, EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:247:51: error: ‘MemoryRegionSection’ has not been declared void (*eventfd_del)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:248:57: error: ‘EventNotifier’ has not been declared bool match_data, uint64_t data, EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:249:58: error: ‘MemoryRegionSection’ has not been declared void (*coalesced_mmio_add)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:251:58: error: ‘MemoryRegionSection’ has not been declared void (*coalesced_mmio_del)(MemoryListener *listener, MemoryRegionSection *section, ^ /home/rohan/Desktop/panda/include/exec/memory.h:255:5: error: ‘AddressSpace’ does not name a type AddressSpace *address_space; ^ /home/rohan/Desktop/panda/include/exec/memory.h:383:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:408:40: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:428:39: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:508:29: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:527:36: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:809:31: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1028:32: error: ‘EventNotifier’ has not been declared EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1048:32: error: ‘EventNotifier’ has not been declared EventNotifier *e); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:17: error: variable or field ‘mtree_info’ declared void void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:17: error: ‘fprintf_function’ was not declared in this scope /home/rohan/Desktop/panda/include/exec/memory.h:1254:46: error: expected primary-expression before ‘void’ void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1254:55: error: expected primary-expression before ‘bool’ void mtree_info(fprintf_function mon_printf, void *f, bool flatview); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘MemTxResult address_space_read(AddressSpace*, hwaddr, MemTxAttrs, uint8_t*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1657:37: error: ‘memcpy’ was not declared in this scope memcpy(buf, ptr, len); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘void address_space_read_cached(MemoryRegionCache*, hwaddr, void*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1682:57: error: ‘assert’ was not declared in this scope assert(addr < cache->len && len <= cache->len - addr); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1683:50: error: ‘memcpy’ was not declared in this scope memcpy(buf, (uint8_t *)cache->ptr + addr, len); ^ /home/rohan/Desktop/panda/include/exec/memory.h: In function ‘void address_space_write_cached(MemoryRegionCache*, hwaddr, void*, int)’: /home/rohan/Desktop/panda/include/exec/memory.h:1698:57: error: ‘assert’ was not declared in this scope assert(addr < cache->len && len <= cache->len - addr); ^ /home/rohan/Desktop/panda/include/exec/memory.h:1699:50: error: ‘memcpy’ was not declared in this scope memcpy((uint8_t *)cache->ptr + addr, buf, len); ^ In file included from /home/rohan/Desktop/panda/target/arm/cpu.h:2206:0, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/exec/cpu-all.h: At global scope: /home/rohan/Desktop/panda/include/exec/cpu-all.h:341:30: error: ‘fprintf_function’ has not been declared void dump_exec_info(FILE *f, fprintf_function cpu_fprintf); ^ /home/rohan/Desktop/panda/include/exec/cpu-all.h:342:33: error: ‘fprintf_function’ has not been declared void dump_opcount_info(FILE *f, fprintf_function cpu_fprintf); ^ In file included from /home/rohan/Desktop/panda/tcg/tcg.h:29:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/target/arm/cpu.h: In function ‘AddressSpace* arm_addressspace(CPUState*, MemTxAttrs)’: /home/rohan/Desktop/panda/target/arm/cpu.h:2499:69: error: ‘cpu_get_address_space’ was not declared in this scope return cpu_get_address_space(cs, arm_asidx_from_attrs(cs, attrs)); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/qemu/seqlock.h: In function ‘void seqlock_write_begin(QemuSeqLock*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:115:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h:34:5: note: in expansion of macro ‘atomic_set’ atomic_set(&sl->sequence, sl->sequence + 1); ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h: In function ‘void seqlock_write_end(QemuSeqLock*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:115:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h:45:5: note: in expansion of macro ‘atomic_set’ atomic_set(&sl->sequence, sl->sequence + 1); ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h: In function ‘unsigned int seqlock_read_begin(QemuSeqLock*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h:51:20: note: in expansion of macro ‘atomic_read’ unsigned ret = atomic_read(&sl->sequence); ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h: In function ‘int seqlock_read_retry(const QemuSeqLock*, unsigned int)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/qemu/seqlock.h:62:21: note: in expansion of macro ‘atomic_read’ return unlikely(atomic_read(&sl->sequence) != start); ^ In file included from /home/rohan/Desktop/panda/include/qemu/qht.h:10:0, from /home/rohan/Desktop/panda/include/exec/tb-context.h:24, from /home/rohan/Desktop/panda/tcg/tcg.h:30, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/seqlock.h:62:56: error: ‘unlikely’ was not declared in this scope return unlikely(atomic_read(&sl->sequence) != start); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51:0: /home/rohan/Desktop/panda/tcg/tcg.h: At global scope: /home/rohan/Desktop/panda/tcg/tcg.h:433:40: error: expected initializer before ‘MAKE_TCGV_I32’ static inline TCGv_i32 QEMU_ARTIFICIAL MAKE_TCGV_I32(intptr_t i) ^ /home/rohan/Desktop/panda/tcg/tcg.h:438:40: error: expected initializer before ‘MAKE_TCGV_I64’ static inline TCGv_i64 QEMU_ARTIFICIAL MAKE_TCGV_I64(intptr_t i) ^ /home/rohan/Desktop/panda/tcg/tcg.h:443:40: error: expected initializer before ‘MAKE_TCGV_PTR’ static inline TCGv_ptr QEMU_ARTIFICIAL MAKE_TCGV_PTR(intptr_t i) ^ /home/rohan/Desktop/panda/tcg/tcg.h:448:40: error: expected initializer before ‘GET_TCGV_I32’ static inline intptr_t QEMU_ARTIFICIAL GET_TCGV_I32(TCGv_i32 t) ^ /home/rohan/Desktop/panda/tcg/tcg.h:453:40: error: expected initializer before ‘GET_TCGV_I64’ static inline intptr_t QEMU_ARTIFICIAL GET_TCGV_I64(TCGv_i64 t) ^ /home/rohan/Desktop/panda/tcg/tcg.h:458:40: error: expected initializer before ‘GET_TCGV_PTR’ static inline intptr_t QEMU_ARTIFICIAL GET_TCGV_PTR(TCGv_ptr t) ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:50: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/tcg/tcg.h:612:21: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long l[BITS_TO_LONGS(TCG_MAX_TEMPS)]; ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:25:78: error: ‘DIV_ROUND_UP’ was not declared in this scope #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) ^ /home/rohan/Desktop/panda/tcg/tcg.h:612:21: note: in expansion of macro ‘BITS_TO_LONGS’ unsigned long l[BITS_TO_LONGS(TCG_MAX_TEMPS)]; ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51:0: /home/rohan/Desktop/panda/tcg/tcg.h:644:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(NB_OPS > (1 << 8)); ^ /home/rohan/Desktop/panda/tcg/tcg.h:645:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(OPC_BUF_SIZE > (1 << 10)); ^ /home/rohan/Desktop/panda/tcg/tcg.h:646:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(OPPARAM_BUF_SIZE > (1 << 14)); ^ /home/rohan/Desktop/panda/tcg/tcg.h:649:18: error: expected constructor, destructor, or type conversion before ‘(’ token QEMU_BUILD_BUG_ON(sizeof(TCGOp) > 8); ^ /home/rohan/Desktop/panda/tcg/tcg.h:674:5: error: ‘GHashTable’ does not name a type GHashTable *helpers; ^ /home/rohan/Desktop/panda/tcg/tcg.h: In function ‘void* tcg_malloc(int)’: /home/rohan/Desktop/panda/tcg/tcg.h:779:39: error: ‘unlikely’ was not declared in this scope if (unlikely(ptr_end > s->pool_end)) { ^ /home/rohan/Desktop/panda/tcg/tcg.h: In function ‘TCGv_i32_d* tcg_global_mem_new_i32(TCGv_ptr, intptr_t, const char*)’: /home/rohan/Desktop/panda/tcg/tcg.h:810:29: error: ‘MAKE_TCGV_I32’ was not declared in this scope return MAKE_TCGV_I32(idx); ^ /home/rohan/Desktop/panda/tcg/tcg.h: In function ‘TCGv_i64_d* tcg_global_mem_new_i64(TCGv_ptr, intptr_t, const char*)’: /home/rohan/Desktop/panda/tcg/tcg.h:827:29: error: ‘MAKE_TCGV_I64’ was not declared in this scope return MAKE_TCGV_I64(idx); ^ /home/rohan/Desktop/panda/tcg/tcg.h: At global scope: /home/rohan/Desktop/panda/tcg/tcg.h:853:29: error: ‘fprintf_function’ has not been declared void tcg_dump_info(FILE *f, fprintf_function cpu_fprintf); ^ /home/rohan/Desktop/panda/tcg/tcg.h:854:33: error: ‘fprintf_function’ has not been declared void tcg_dump_op_count(FILE *f, fprintf_function cpu_fprintf); ^ /home/rohan/Desktop/panda/tcg/tcg.h:995:15: error: ‘ptrdiff_t’ does not name a type static inline ptrdiff_t tcg_ptr_byte_diff(void *a, void *b) ^ /home/rohan/Desktop/panda/tcg/tcg.h:1009:15: error: ‘ptrdiff_t’ does not name a type static inline ptrdiff_t tcg_pcrel_diff(TCGContext *s, void *target) ^ /home/rohan/Desktop/panda/tcg/tcg.h: In function ‘size_t tcg_current_code_size(TCGContext*)’: /home/rohan/Desktop/panda/tcg/tcg.h:1024:54: error: ‘tcg_ptr_byte_diff’ was not declared in this scope return tcg_ptr_byte_diff(s->code_ptr, s->code_buf); ^ In file included from /home/rohan/Desktop/panda/include/qemu/timer.h:7:0, from /home/rohan/Desktop/panda/include/block/aio.h:21, from /home/rohan/Desktop/panda/include/block/block.h:4, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/sysemu/cpus.h: At global scope: /home/rohan/Desktop/panda/include/sysemu/cpus.h:12:39: error: ‘Error’ has not been declared void configure_icount(QemuOpts *opts, Error **errp); ^ /home/rohan/Desktop/panda/include/sysemu/cpus.h:19:31: error: ‘fprintf_function’ has not been declared void dump_drift_info(FILE *f, fprintf_function cpu_fprintf); ^ /home/rohan/Desktop/panda/include/sysemu/cpus.h:37:25: error: ‘fprintf_function’ has not been declared void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg); ^ In file included from /home/rohan/Desktop/panda/include/block/aio.h:21:0, from /home/rohan/Desktop/panda/include/block/block.h:4, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/timer.h: In function ‘QEMUTimer* timer_new_tl(QEMUTimerList*, int, void (*)(void*), void*)’: /home/rohan/Desktop/panda/include/qemu/timer.h:529:60: error: ‘g_malloc0’ was not declared in this scope QEMUTimer *ts = (QEMUTimer*)g_malloc0(sizeof(QEMUTimer)); ^ /home/rohan/Desktop/panda/include/qemu/timer.h: At global scope: /home/rohan/Desktop/panda/include/qemu/timer.h:723:16: error: variable or field ‘timer_get’ declared void void timer_get(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:723:16: error: ‘QEMUFile’ was not declared in this scope /home/rohan/Desktop/panda/include/qemu/timer.h:723:26: error: ‘f’ was not declared in this scope void timer_get(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:723:39: error: expected primary-expression before ‘*’ token void timer_get(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:723:40: error: ‘ts’ was not declared in this scope void timer_get(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:730:16: error: variable or field ‘timer_put’ declared void void timer_put(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:730:16: error: ‘QEMUFile’ was not declared in this scope /home/rohan/Desktop/panda/include/qemu/timer.h:730:26: error: ‘f’ was not declared in this scope void timer_put(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:730:39: error: expected primary-expression before ‘*’ token void timer_put(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:730:40: error: ‘ts’ was not declared in this scope void timer_put(QEMUFile *f, QEMUTimer *ts); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:758:18: error: ‘GPollFD’ was not declared in this scope int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:758:27: error: ‘fds’ was not declared in this scope int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:758:32: error: ‘guint’ was not declared in this scope int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:758:52: error: expected primary-expression before ‘timeout’ int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout); ^ /home/rohan/Desktop/panda/include/qemu/timer.h:758:59: warning: expression list treated as compound expression in initializer [-fpermissive] int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout); ^ /home/rohan/Desktop/panda/include/qemu/timer.h: In function ‘int64_t get_clock_realtime()’: /home/rohan/Desktop/panda/include/qemu/timer.h:810:27: error: ‘gettimeofday’ was not declared in this scope gettimeofday(&tv, NULL); ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:4:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/block/aio.h: At global scope: /home/rohan/Desktop/panda/include/block/aio.h:28:5: error: ‘AioContext’ does not name a type AioContext *(*get_aio_context)(BlockAIOCB *acb); ^ /home/rohan/Desktop/panda/include/block/aio.h:34:5: error: ‘BlockDriverState’ does not name a type BlockDriverState *bs; ^ /home/rohan/Desktop/panda/include/block/aio.h:40:49: error: ‘BlockDriverState’ has not been declared void *qemu_aio_get(const AIOCBInfo *aiocb_info, BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/aio.h:54:5: error: ‘GSource’ does not name a type GSource source; ^ /home/rohan/Desktop/panda/include/block/aio.h:155:29: error: ‘Error’ was not declared in this scope AioContext *aio_context_new(Error **errp); ^ /home/rohan/Desktop/panda/include/block/aio.h:155:37: error: ‘errp’ was not declared in this scope AioContext *aio_context_new(Error **errp); ^ /home/rohan/Desktop/panda/include/block/aio.h:379:1: error: ‘GSource’ does not name a type GSource *aio_get_g_source(AioContext *ctx); ^ /home/rohan/Desktop/panda/include/block/aio.h: In function ‘void aio_enable_external(AioContext*)’: /home/rohan/Desktop/panda/include/block/aio.h:457:41: error: ‘assert’ was not declared in this scope assert(ctx->external_disable_cnt > 0); ^ In file included from /home/rohan/Desktop/panda/include/qemu/queue.h:81:0, from /home/rohan/Desktop/panda/include/qemu/option.h:29, from /home/rohan/Desktop/panda/include/qemu-common.h:19, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50: /home/rohan/Desktop/panda/include/block/aio.h: In function ‘bool aio_external_disabled(AioContext*)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/block/aio.h:469:12: note: in expansion of macro ‘atomic_read’ return atomic_read(&ctx->external_disable_cnt); ^ /home/rohan/Desktop/panda/include/block/aio.h: In function ‘bool aio_node_check(AioContext*, bool)’: /home/rohan/Desktop/panda/include/qemu/atomic.h:107:52: error: ‘QEMU_BUILD_BUG_ON’ was not declared in this scope QEMU_BUILD_BUG_ON(sizeof(*ptr) > sizeof(void *)); \ ^ /home/rohan/Desktop/panda/include/block/aio.h:482:29: note: in expansion of macro ‘atomic_read’ return !is_external || !atomic_read(&ctx->external_disable_cnt); ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:4:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/block/aio.h: At global scope: /home/rohan/Desktop/panda/include/block/aio.h:522:34: error: ‘Error’ has not been declared Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h: In function ‘size_t iov_from_buf(const iovec*, unsigned int, size_t, const void*, size_t)’: /home/rohan/Desktop/panda/include/qemu/iov.h:50:24: error: invalid use of incomplete type ‘struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:50:25: error: invalid use of incomplete type ‘const struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:50:51: error: invalid use of incomplete type ‘struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:50:52: error: invalid use of incomplete type ‘const struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:51:21: error: invalid use of incomplete type ‘struct iovec’ memcpy(iov[0].iov_base + offset, buf, bytes); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:51:22: error: invalid use of incomplete type ‘const struct iovec’ memcpy(iov[0].iov_base + offset, buf, bytes); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:51:52: error: ‘memcpy’ was not declared in this scope memcpy(iov[0].iov_base + offset, buf, bytes); ^ /home/rohan/Desktop/panda/include/qemu/iov.h: In function ‘size_t iov_to_buf(const iovec*, unsigned int, size_t, void*, size_t)’: /home/rohan/Desktop/panda/include/qemu/iov.h:63:24: error: invalid use of incomplete type ‘struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:63:25: error: invalid use of incomplete type ‘const struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:63:51: error: invalid use of incomplete type ‘struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:63:52: error: invalid use of incomplete type ‘const struct iovec’ offset <= iov[0].iov_len && bytes <= iov[0].iov_len - offset) { ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:64:26: error: invalid use of incomplete type ‘struct iovec’ memcpy(buf, iov[0].iov_base + offset, bytes); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:64:27: error: invalid use of incomplete type ‘const struct iovec’ memcpy(buf, iov[0].iov_base + offset, bytes); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:50:0: /home/rohan/Desktop/panda/include/qemu-common.h:104:48: error: forward declaration of ‘const struct iovec’ ssize_t qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:5:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/iov.h:64:52: error: ‘memcpy’ was not declared in this scope memcpy(buf, iov[0].iov_base + offset, bytes); ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/hbitmap.h: At global scope: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:27:33: note: in expansion of macro ‘BITS_PER_LONG’ #define HBITMAP_LOG_MAX_SIZE (BITS_PER_LONG == 32 ? 34 : 41) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:34:34: note: in expansion of macro ‘HBITMAP_LOG_MAX_SIZE’ #define HBITMAP_LEVELS ((HBITMAP_LOG_MAX_SIZE / BITS_PER_LEVEL) + 1) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:48:23: note: in expansion of macro ‘HBITMAP_LEVELS’ unsigned long cur[HBITMAP_LEVELS]; ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:21:33: note: in expansion of macro ‘BITS_PER_LONG’ #define BITS_PER_LEVEL (BITS_PER_LONG == 32 ? 5 : 6) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:34:57: note: in expansion of macro ‘BITS_PER_LEVEL’ #define HBITMAP_LEVELS ((HBITMAP_LOG_MAX_SIZE / BITS_PER_LEVEL) + 1) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:48:23: note: in expansion of macro ‘HBITMAP_LEVELS’ unsigned long cur[HBITMAP_LEVELS]; ^ In file included from /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:5:0, from /home/rohan/Desktop/panda/include/block/block.h:9, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/hbitmap.h: In function ‘int64_t hbitmap_iter_next(HBitmapIter*)’: /home/rohan/Desktop/panda/include/qemu/hbitmap.h:303:30: error: ‘HBitmapIter’ has no member named ‘cur’ unsigned long cur = hbi->cur[HBITMAP_LEVELS - 1]; ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:27:33: note: in expansion of macro ‘BITS_PER_LONG’ #define HBITMAP_LOG_MAX_SIZE (BITS_PER_LONG == 32 ? 34 : 41) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:34:34: note: in expansion of macro ‘HBITMAP_LOG_MAX_SIZE’ #define HBITMAP_LEVELS ((HBITMAP_LOG_MAX_SIZE / BITS_PER_LEVEL) + 1) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:303:34: note: in expansion of macro ‘HBITMAP_LEVELS’ unsigned long cur = hbi->cur[HBITMAP_LEVELS - 1]; ^ In file included from /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:5:0, from /home/rohan/Desktop/panda/include/block/block.h:9, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/hbitmap.h:314:10: error: ‘HBitmapIter’ has no member named ‘cur’ hbi->cur[HBITMAP_LEVELS - 1] = cur & (cur - 1); ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:315:61: error: ‘ctzl’ was not declared in this scope item = ((uint64_t)hbi->pos << BITS_PER_LEVEL) + ctzl(cur); ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h: In function ‘size_t hbitmap_iter_next_word(HBitmapIter*, long unsigned int*)’: /home/rohan/Desktop/panda/include/qemu/hbitmap.h:333:30: error: ‘HBitmapIter’ has no member named ‘cur’ unsigned long cur = hbi->cur[HBITMAP_LEVELS - 1]; ^ In file included from /home/rohan/Desktop/panda/include/qemu/bitmap.h:16:0, from /home/rohan/Desktop/panda/include/hw/qdev-core.h:6, from /home/rohan/Desktop/panda/include/qom/cpu.h:23, from /home/rohan/Desktop/panda/target/arm/cpu-qom.h:23, from /home/rohan/Desktop/panda/target/arm/cpu.h:36, from /home/rohan/Desktop/panda/tcg/tcg.h:29, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:51: /home/rohan/Desktop/panda/include/qemu/bitops.h:19:33: error: ‘CHAR_BIT’ was not declared in this scope #define BITS_PER_BYTE CHAR_BIT ^ /home/rohan/Desktop/panda/include/qemu/bitops.h:20:59: note: in expansion of macro ‘BITS_PER_BYTE’ #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:27:33: note: in expansion of macro ‘BITS_PER_LONG’ #define HBITMAP_LOG_MAX_SIZE (BITS_PER_LONG == 32 ? 34 : 41) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:34:34: note: in expansion of macro ‘HBITMAP_LOG_MAX_SIZE’ #define HBITMAP_LEVELS ((HBITMAP_LOG_MAX_SIZE / BITS_PER_LEVEL) + 1) ^ /home/rohan/Desktop/panda/include/qemu/hbitmap.h:333:34: note: in expansion of macro ‘HBITMAP_LEVELS’ unsigned long cur = hbi->cur[HBITMAP_LEVELS - 1]; ^ In file included from /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:5:0, from /home/rohan/Desktop/panda/include/block/block.h:9, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/hbitmap.h:344:10: error: ‘HBitmapIter’ has no member named ‘cur’ hbi->cur[HBITMAP_LEVELS - 1] = 0; ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:9:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/block/dirty-bitmap.h: At global scope: /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:7:1: error: ‘BdrvDirtyBitmap’ does not name a type BdrvDirtyBitmap *bdrv_create_dirty_bitmap(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:11:36: error: variable or field ‘bdrv_create_meta_dirty_bitmap’ declared void void bdrv_create_meta_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:11:36: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:11:53: error: ‘bitmap’ was not declared in this scope void bdrv_create_meta_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:12:36: error: expected primary-expression before ‘int’ int chunk_size); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:13:37: error: variable or field ‘bdrv_release_meta_dirty_bitmap’ declared void void bdrv_release_meta_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:13:37: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:13:54: error: ‘bitmap’ was not declared in this scope void bdrv_release_meta_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:14:40: error: ‘BlockDriverState’ was not declared in this scope int bdrv_dirty_bitmap_create_successor(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:14:58: error: ‘bs’ was not declared in this scope int bdrv_dirty_bitmap_create_successor(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:15:40: error: ‘BdrvDirtyBitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:15:57: error: ‘bitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:16:40: error: ‘Error’ was not declared in this scope Error **errp); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:16:48: error: ‘errp’ was not declared in this scope Error **errp); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:16:52: warning: expression list treated as compound expression in initializer [-fpermissive] Error **errp); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:17:1: error: ‘BdrvDirtyBitmap’ does not name a type BdrvDirtyBitmap *bdrv_dirty_bitmap_abdicate(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:20:1: error: ‘BdrvDirtyBitmap’ does not name a type BdrvDirtyBitmap *bdrv_reclaim_dirty_bitmap(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:23:1: error: ‘BdrvDirtyBitmap’ does not name a type BdrvDirtyBitmap *bdrv_find_dirty_bitmap(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:25:34: error: variable or field ‘bdrv_dirty_bitmap_make_anon’ declared void void bdrv_dirty_bitmap_make_anon(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:25:34: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:25:51: error: ‘bitmap’ was not declared in this scope void bdrv_dirty_bitmap_make_anon(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:26:32: error: variable or field ‘bdrv_release_dirty_bitmap’ declared void void bdrv_release_dirty_bitmap(BlockDriverState *bs, BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:26:32: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:26:50: error: ‘bs’ was not declared in this scope void bdrv_release_dirty_bitmap(BlockDriverState *bs, BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:26:54: error: ‘BdrvDirtyBitmap’ was not declared in this scope void bdrv_release_dirty_bitmap(BlockDriverState *bs, BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:26:71: error: ‘bitmap’ was not declared in this scope void bdrv_release_dirty_bitmap(BlockDriverState *bs, BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:27:39: error: variable or field ‘bdrv_release_named_dirty_bitmaps’ declared void void bdrv_release_named_dirty_bitmaps(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:27:39: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:27:57: error: ‘bs’ was not declared in this scope void bdrv_release_named_dirty_bitmaps(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:28:32: error: variable or field ‘bdrv_disable_dirty_bitmap’ declared void void bdrv_disable_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:28:32: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:28:49: error: ‘bitmap’ was not declared in this scope void bdrv_disable_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:29:31: error: variable or field ‘bdrv_enable_dirty_bitmap’ declared void void bdrv_enable_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:29:31: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:29:48: error: ‘bitmap’ was not declared in this scope void bdrv_enable_dirty_bitmap(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:30:46: error: ‘BlockDriverState’ was not declared in this scope BlockDirtyInfoList *bdrv_query_dirty_bitmaps(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:30:64: error: ‘bs’ was not declared in this scope BlockDirtyInfoList *bdrv_query_dirty_bitmaps(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:31:46: error: ‘BlockDriverState’ was not declared in this scope uint32_t bdrv_get_default_bitmap_granularity(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:31:64: error: ‘bs’ was not declared in this scope uint32_t bdrv_get_default_bitmap_granularity(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:32:40: error: ‘BdrvDirtyBitmap’ was not declared in this scope uint32_t bdrv_dirty_bitmap_granularity(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:32:57: error: ‘bitmap’ was not declared in this scope uint32_t bdrv_dirty_bitmap_granularity(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:33:45: error: ‘BdrvDirtyBitmap’ was not declared in this scope uint32_t bdrv_dirty_bitmap_meta_granularity(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:33:62: error: ‘bitmap’ was not declared in this scope uint32_t bdrv_dirty_bitmap_meta_granularity(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:34:32: error: ‘BdrvDirtyBitmap’ was not declared in this scope bool bdrv_dirty_bitmap_enabled(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:34:49: error: ‘bitmap’ was not declared in this scope bool bdrv_dirty_bitmap_enabled(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:35:31: error: ‘BdrvDirtyBitmap’ was not declared in this scope bool bdrv_dirty_bitmap_frozen(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:35:48: error: ‘bitmap’ was not declared in this scope bool bdrv_dirty_bitmap_frozen(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:36:42: error: ‘BdrvDirtyBitmap’ does not name a type const char *bdrv_dirty_bitmap_name(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:36:59: warning: ISO C++ forbids declaration of ‘bitmap’ with no type [-fpermissive] const char *bdrv_dirty_bitmap_name(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:37:38: error: ‘BdrvDirtyBitmap’ does not name a type int64_t bdrv_dirty_bitmap_size(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:37:55: warning: ISO C++ forbids declaration of ‘bitmap’ with no type [-fpermissive] int64_t bdrv_dirty_bitmap_size(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:38:44: error: ‘BdrvDirtyBitmap’ was not declared in this scope DirtyBitmapStatus bdrv_dirty_bitmap_status(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:38:61: error: ‘bitmap’ was not declared in this scope DirtyBitmapStatus bdrv_dirty_bitmap_status(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:39:20: error: ‘BlockDriverState’ was not declared in this scope int bdrv_get_dirty(BlockDriverState *bs, BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:39:38: error: ‘bs’ was not declared in this scope int bdrv_get_dirty(BlockDriverState *bs, BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:39:42: error: ‘BdrvDirtyBitmap’ was not declared in this scope int bdrv_get_dirty(BlockDriverState *bs, BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:39:59: error: ‘bitmap’ was not declared in this scope int bdrv_get_dirty(BlockDriverState *bs, BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:40:28: error: expected primary-expression before ‘sector’ int64_t sector); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:40:34: warning: expression list treated as compound expression in initializer [-fpermissive] int64_t sector); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:41:28: error: variable or field ‘bdrv_set_dirty_bitmap’ declared void void bdrv_set_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:41:28: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:41:45: error: ‘bitmap’ was not declared in this scope void bdrv_set_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:42:36: error: expected primary-expression before ‘cur_sector’ int64_t cur_sector, int64_t nr_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:42:56: error: expected primary-expression before ‘nr_sectors’ int64_t cur_sector, int64_t nr_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:43:30: error: variable or field ‘bdrv_reset_dirty_bitmap’ declared void void bdrv_reset_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:43:30: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:43:47: error: ‘bitmap’ was not declared in this scope void bdrv_reset_dirty_bitmap(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:44:38: error: expected primary-expression before ‘cur_sector’ int64_t cur_sector, int64_t nr_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:44:58: error: expected primary-expression before ‘nr_sectors’ int64_t cur_sector, int64_t nr_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:45:32: error: ‘BlockDriverState’ was not declared in this scope int bdrv_dirty_bitmap_get_meta(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:45:50: error: ‘bs’ was not declared in this scope int bdrv_dirty_bitmap_get_meta(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:46:32: error: ‘BdrvDirtyBitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:46:49: error: ‘bitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:46:65: error: expected primary-expression before ‘sector’ BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:47:32: error: expected primary-expression before ‘int’ int nb_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:47:46: warning: expression list treated as compound expression in initializer [-fpermissive] int nb_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:48:35: error: variable or field ‘bdrv_dirty_bitmap_reset_meta’ declared void void bdrv_dirty_bitmap_reset_meta(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:48:35: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:48:53: error: ‘bs’ was not declared in this scope void bdrv_dirty_bitmap_reset_meta(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:49:35: error: ‘BdrvDirtyBitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:49:52: error: ‘bitmap’ was not declared in this scope BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:49:68: error: expected primary-expression before ‘sector’ BdrvDirtyBitmap *bitmap, int64_t sector, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:50:35: error: expected primary-expression before ‘int’ int nb_sectors); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:51:1: error: ‘BdrvDirtyBitmapIter’ does not name a type BdrvDirtyBitmapIter *bdrv_dirty_meta_iter_new(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:52:1: error: ‘BdrvDirtyBitmapIter’ does not name a type BdrvDirtyBitmapIter *bdrv_dirty_iter_new(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:54:27: error: variable or field ‘bdrv_dirty_iter_free’ declared void void bdrv_dirty_iter_free(BdrvDirtyBitmapIter *iter); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:54:27: error: ‘BdrvDirtyBitmapIter’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:54:48: error: ‘iter’ was not declared in this scope void bdrv_dirty_iter_free(BdrvDirtyBitmapIter *iter); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:55:30: error: ‘BdrvDirtyBitmapIter’ was not declared in this scope int64_t bdrv_dirty_iter_next(BdrvDirtyBitmapIter *iter); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:55:51: error: ‘iter’ was not declared in this scope int64_t bdrv_dirty_iter_next(BdrvDirtyBitmapIter *iter); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:56:26: error: variable or field ‘bdrv_set_dirty_iter’ declared void void bdrv_set_dirty_iter(BdrvDirtyBitmapIter *hbi, int64_t sector_num); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:56:26: error: ‘BdrvDirtyBitmapIter’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:56:47: error: ‘hbi’ was not declared in this scope void bdrv_set_dirty_iter(BdrvDirtyBitmapIter *hbi, int64_t sector_num); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:56:60: error: expected primary-expression before ‘sector_num’ void bdrv_set_dirty_iter(BdrvDirtyBitmapIter *hbi, int64_t sector_num); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:57:30: error: ‘BdrvDirtyBitmap’ was not declared in this scope int64_t bdrv_get_dirty_count(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:57:47: error: ‘bitmap’ was not declared in this scope int64_t bdrv_get_dirty_count(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:58:35: error: ‘BdrvDirtyBitmap’ was not declared in this scope int64_t bdrv_get_meta_dirty_count(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:58:52: error: ‘bitmap’ was not declared in this scope int64_t bdrv_get_meta_dirty_count(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:59:33: error: variable or field ‘bdrv_dirty_bitmap_truncate’ declared void void bdrv_dirty_bitmap_truncate(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:59:33: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:59:51: error: ‘bs’ was not declared in this scope void bdrv_dirty_bitmap_truncate(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:61:53: error: ‘BdrvDirtyBitmap’ does not name a type uint64_t bdrv_dirty_bitmap_serialization_size(const BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:61:70: warning: ISO C++ forbids declaration of ‘bitmap’ with no type [-fpermissive] uint64_t bdrv_dirty_bitmap_serialization_size(const BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:63:54: error: ‘BdrvDirtyBitmap’ does not name a type uint64_t bdrv_dirty_bitmap_serialization_align(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:63:71: warning: ISO C++ forbids declaration of ‘bitmap’ with no type [-fpermissive] uint64_t bdrv_dirty_bitmap_serialization_align(const BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:64:45: error: ‘BdrvDirtyBitmap’ does not name a type void bdrv_dirty_bitmap_serialize_part(const BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:64:62: warning: ISO C++ forbids declaration of ‘bitmap’ with no type [-fpermissive] void bdrv_dirty_bitmap_serialize_part(const BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:67:41: error: variable or field ‘bdrv_dirty_bitmap_deserialize_part’ declared void void bdrv_dirty_bitmap_deserialize_part(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:67:41: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:67:58: error: ‘bitmap’ was not declared in this scope void bdrv_dirty_bitmap_deserialize_part(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:68:49: error: expected primary-expression before ‘*’ token uint8_t *buf, uint64_t start, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:68:50: error: ‘buf’ was not declared in this scope uint8_t *buf, uint64_t start, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:68:64: error: expected primary-expression before ‘start’ uint8_t *buf, uint64_t start, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:69:50: error: expected primary-expression before ‘count’ uint64_t count, bool finish); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:69:57: error: expected primary-expression before ‘bool’ uint64_t count, bool finish); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:70:43: error: variable or field ‘bdrv_dirty_bitmap_deserialize_zeroes’ declared void void bdrv_dirty_bitmap_deserialize_zeroes(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:70:43: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:70:60: error: ‘bitmap’ was not declared in this scope void bdrv_dirty_bitmap_deserialize_zeroes(BdrvDirtyBitmap *bitmap, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:71:52: error: expected primary-expression before ‘start’ uint64_t start, uint64_t count, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:71:68: error: expected primary-expression before ‘count’ uint64_t start, uint64_t count, ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:72:43: error: expected primary-expression before ‘bool’ bool finish); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:73:43: error: variable or field ‘bdrv_dirty_bitmap_deserialize_finish’ declared void void bdrv_dirty_bitmap_deserialize_finish(BdrvDirtyBitmap *bitmap); ^ /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:73:43: error: ‘BdrvDirtyBitmap’ was not declared in this scope /home/rohan/Desktop/panda/include/block/dirty-bitmap.h:73:60: error: ‘bitmap’ was not declared in this scope void bdrv_dirty_bitmap_deserialize_finish(BdrvDirtyBitmap *bitmap); ^ In file included from /home/rohan/Desktop/panda/include/block/block.h:10:0, from /home/rohan/Desktop/panda/include/monitor/monitor.h:6, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/block/blockjob.h:44:5: error: ‘BlockBackend’ does not name a type BlockBackend *blk; ^ /home/rohan/Desktop/panda/include/block/blockjob.h:119:5: error: ‘Error’ does not name a type Error *blocker; ^ /home/rohan/Desktop/panda/include/block/blockjob.h:122:5: error: ‘GSList’ does not name a type GSList *nodes; ^ /home/rohan/Desktop/panda/include/block/blockjob.h:178:40: error: ‘BlockDriverState’ has not been declared void block_job_add_bdrv(BlockJob *job, BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/blockjob.h:189:56: error: ‘Error’ has not been declared void block_job_set_speed(BlockJob *job, int64_t speed, Error **errp); ^ /home/rohan/Desktop/panda/include/block/blockjob.h:215:40: error: ‘Error’ has not been declared void block_job_complete(BlockJob *job, Error **errp); ^ /home/rohan/Desktop/panda/include/block/blockjob.h:223:46: error: ‘Error’ has not been declared BlockJobInfo *block_job_query(BlockJob *job, Error **errp); ^ /home/rohan/Desktop/panda/include/block/blockjob.h:301:44: error: ‘Error’ has not been declared int block_job_complete_sync(BlockJob *job, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/monitor/monitor.h:6:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/block/block.h:160:5: error: ‘BlockDriverState’ does not name a type BlockDriverState *bs; ^ /home/rohan/Desktop/panda/include/block/block.h:196:33: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:199:33: error: ‘Error’ has not been declared QemuOpts *opts, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:200:60: error: ‘Error’ has not been declared int bdrv_create_file(const char *filename, QemuOpts *opts, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:201:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_new(void); ^ /home/rohan/Desktop/panda/include/block/block.h:202:18: error: variable or field ‘bdrv_append’ declared void void bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top); ^ /home/rohan/Desktop/panda/include/block/block.h:202:18: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:202:36: error: ‘bs_new’ was not declared in this scope void bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top); ^ /home/rohan/Desktop/panda/include/block/block.h:202:44: error: ‘BlockDriverState’ was not declared in this scope void bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top); ^ /home/rohan/Desktop/panda/include/block/block.h:202:62: error: ‘bs_top’ was not declared in this scope void bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top); ^ /home/rohan/Desktop/panda/include/block/block.h:203:36: error: variable or field ‘bdrv_replace_in_backing_chain’ declared void void bdrv_replace_in_backing_chain(BlockDriverState *old, ^ /home/rohan/Desktop/panda/include/block/block.h:203:36: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:203:54: error: ‘old’ was not declared in this scope void bdrv_replace_in_backing_chain(BlockDriverState *old, ^ /home/rohan/Desktop/panda/include/block/block.h:204:36: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState *new); ^ /home/rohan/Desktop/panda/include/block/block.h:204:57: error: expected type-specifier before ‘)’ token BlockDriverState *new); ^ /home/rohan/Desktop/panda/include/block/block.h:210:28: error: ‘BlockDriverState’ has not been declared BlockDriverState* parent, ^ /home/rohan/Desktop/panda/include/block/block.h:212:45: error: ‘Error’ has not been declared bool allow_none, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:213:26: error: variable or field ‘bdrv_set_backing_hd’ declared void void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd); ^ /home/rohan/Desktop/panda/include/block/block.h:213:26: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:213:44: error: ‘bs’ was not declared in this scope void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd); ^ /home/rohan/Desktop/panda/include/block/block.h:213:48: error: ‘BlockDriverState’ was not declared in this scope void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd); ^ /home/rohan/Desktop/panda/include/block/block.h:213:66: error: ‘backing_hd’ was not declared in this scope void bdrv_set_backing_hd(BlockDriverState *bs, BlockDriverState *backing_hd); ^ /home/rohan/Desktop/panda/include/block/block.h:214:28: error: ‘BlockDriverState’ was not declared in this scope int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options, ^ /home/rohan/Desktop/panda/include/block/block.h:214:46: error: ‘bs’ was not declared in this scope int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options, ^ /home/rohan/Desktop/panda/include/block/block.h:214:56: error: expected primary-expression before ‘*’ token int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options, ^ /home/rohan/Desktop/panda/include/block/block.h:214:57: error: ‘parent_options’ was not declared in this scope int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options, ^ /home/rohan/Desktop/panda/include/block/block.h:215:28: error: expected primary-expression before ‘const’ const char *bdref_key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:215:51: error: ‘Error’ was not declared in this scope const char *bdref_key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:215:59: error: ‘errp’ was not declared in this scope const char *bdref_key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:215:63: warning: expression list treated as compound expression in initializer [-fpermissive] const char *bdref_key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:216:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_open(const char *filename, const char *reference, ^ /home/rohan/Desktop/panda/include/block/block.h:219:37: error: ‘BlockDriverState’ has not been declared BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:221:71: error: ‘Error’ has not been declared int bdrv_reopen_multiple(AioContext *ctx, BlockReopenQueue *bs_queue, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:17: error: ‘BlockDriverState’ was not declared in this scope int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:35: error: ‘bs’ was not declared in this scope int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:39: error: expected primary-expression before ‘int’ int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:55: error: ‘Error’ was not declared in this scope int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:63: error: ‘errp’ was not declared in this scope int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:222:67: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_reopen(BlockDriverState *bs, int bdrv_flags, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:224:50: error: ‘Error’ has not been declared BlockReopenQueue *queue, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:252:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_find_backing_image(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:254:33: error: ‘BlockDriverState’ was not declared in this scope int bdrv_get_backing_file_depth(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:254:51: error: ‘bs’ was not declared in this scope int bdrv_get_backing_file_depth(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:255:28: error: variable or field ‘bdrv_refresh_filename’ declared void void bdrv_refresh_filename(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:255:28: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:255:46: error: ‘bs’ was not declared in this scope void bdrv_refresh_filename(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:256:19: error: ‘BlockDriverState’ was not declared in this scope int bdrv_truncate(BlockDriverState *bs, int64_t offset); ^ /home/rohan/Desktop/panda/include/block/block.h:256:37: error: ‘bs’ was not declared in this scope int bdrv_truncate(BlockDriverState *bs, int64_t offset); ^ /home/rohan/Desktop/panda/include/block/block.h:256:49: error: expected primary-expression before ‘offset’ int bdrv_truncate(BlockDriverState *bs, int64_t offset); ^ /home/rohan/Desktop/panda/include/block/block.h:256:55: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_truncate(BlockDriverState *bs, int64_t offset); ^ /home/rohan/Desktop/panda/include/block/block.h:257:25: error: ‘BlockDriverState’ was not declared in this scope int64_t bdrv_nb_sectors(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:257:43: error: ‘bs’ was not declared in this scope int64_t bdrv_nb_sectors(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:258:24: error: ‘BlockDriverState’ was not declared in this scope int64_t bdrv_getlength(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:258:42: error: ‘bs’ was not declared in this scope int64_t bdrv_getlength(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:259:38: error: ‘BlockDriverState’ was not declared in this scope int64_t bdrv_get_allocated_file_size(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:259:56: error: ‘bs’ was not declared in this scope int64_t bdrv_get_allocated_file_size(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:260:24: error: variable or field ‘bdrv_get_geometry’ declared void void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr); ^ /home/rohan/Desktop/panda/include/block/block.h:260:24: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:260:42: error: ‘bs’ was not declared in this scope void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr); ^ /home/rohan/Desktop/panda/include/block/block.h:260:55: error: expected primary-expression before ‘*’ token void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr); ^ /home/rohan/Desktop/panda/include/block/block.h:260:56: error: ‘nb_sectors_ptr’ was not declared in this scope void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr); ^ /home/rohan/Desktop/panda/include/block/block.h:261:26: error: variable or field ‘bdrv_refresh_limits’ declared void void bdrv_refresh_limits(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:261:26: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:261:44: error: ‘bs’ was not declared in this scope void bdrv_refresh_limits(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:261:48: error: ‘Error’ was not declared in this scope void bdrv_refresh_limits(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:261:56: error: ‘errp’ was not declared in this scope void bdrv_refresh_limits(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:262:17: error: ‘BlockDriverState’ was not declared in this scope int bdrv_commit(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:262:35: error: ‘bs’ was not declared in this scope int bdrv_commit(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:263:30: error: ‘BlockDriverState’ was not declared in this scope int bdrv_change_backing_file(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:263:48: error: ‘bs’ was not declared in this scope int bdrv_change_backing_file(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:264:5: error: expected primary-expression before ‘const’ const char *backing_file, const char *backing_fmt); ^ /home/rohan/Desktop/panda/include/block/block.h:264:31: error: expected primary-expression before ‘const’ const char *backing_file, const char *backing_fmt); ^ /home/rohan/Desktop/panda/include/block/block.h:264:54: warning: expression list treated as compound expression in initializer [-fpermissive] const char *backing_file, const char *backing_fmt); ^ /home/rohan/Desktop/panda/include/block/block.h:266:28: error: ‘BlockDriverState’ was not declared in this scope int bdrv_drop_intermediate(BlockDriverState *active, BlockDriverState *top, ^ /home/rohan/Desktop/panda/include/block/block.h:266:46: error: ‘active’ was not declared in this scope int bdrv_drop_intermediate(BlockDriverState *active, BlockDriverState *top, ^ /home/rohan/Desktop/panda/include/block/block.h:266:54: error: ‘BlockDriverState’ was not declared in this scope int bdrv_drop_intermediate(BlockDriverState *active, BlockDriverState *top, ^ /home/rohan/Desktop/panda/include/block/block.h:266:72: error: ‘top’ was not declared in this scope int bdrv_drop_intermediate(BlockDriverState *active, BlockDriverState *top, ^ /home/rohan/Desktop/panda/include/block/block.h:267:28: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:267:46: error: ‘base’ was not declared in this scope BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:268:28: error: expected primary-expression before ‘const’ const char *backing_file_str); ^ /home/rohan/Desktop/panda/include/block/block.h:268:56: warning: expression list treated as compound expression in initializer [-fpermissive] const char *backing_file_str); ^ /home/rohan/Desktop/panda/include/block/block.h:269:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_find_overlay(BlockDriverState *active, ^ /home/rohan/Desktop/panda/include/block/block.h:271:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_find_base(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:289:16: error: ‘BlockDriverState’ was not declared in this scope int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:289:34: error: ‘bs’ was not declared in this scope int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:289:54: error: expected primary-expression before ‘*’ token int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:289:55: error: ‘res’ was not declared in this scope int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:289:74: error: expected primary-expression before ‘fix’ int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:289:77: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res, BdrvCheckMode fix); ^ /home/rohan/Desktop/panda/include/block/block.h:294:39: error: typedef ‘BlockDriverAmendStatusCB’ is initialized (use decltype instead) typedef void BlockDriverAmendStatusCB(BlockDriverState *bs, int64_t offset, ^ /home/rohan/Desktop/panda/include/block/block.h:294:39: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:294:57: error: ‘bs’ was not declared in this scope typedef void BlockDriverAmendStatusCB(BlockDriverState *bs, int64_t offset, ^ /home/rohan/Desktop/panda/include/block/block.h:294:69: error: expected primary-expression before ‘offset’ typedef void BlockDriverAmendStatusCB(BlockDriverState *bs, int64_t offset, ^ /home/rohan/Desktop/panda/include/block/block.h:295:47: error: expected primary-expression before ‘total_work_size’ int64_t total_work_size, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:295:64: error: expected primary-expression before ‘void’ int64_t total_work_size, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:296:24: error: ‘BlockDriverState’ was not declared in this scope int bdrv_amend_options(BlockDriverState *bs_new, QemuOpts *opts, ^ /home/rohan/Desktop/panda/include/block/block.h:296:42: error: ‘bs_new’ was not declared in this scope int bdrv_amend_options(BlockDriverState *bs_new, QemuOpts *opts, ^ /home/rohan/Desktop/panda/include/block/block.h:296:59: error: expected primary-expression before ‘*’ token int bdrv_amend_options(BlockDriverState *bs_new, QemuOpts *opts, ^ /home/rohan/Desktop/panda/include/block/block.h:296:60: error: ‘opts’ was not declared in this scope int bdrv_amend_options(BlockDriverState *bs_new, QemuOpts *opts, ^ /home/rohan/Desktop/panda/include/block/block.h:297:24: error: ‘BlockDriverAmendStatusCB’ was not declared in this scope BlockDriverAmendStatusCB *status_cb, void *cb_opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:297:50: error: ‘status_cb’ was not declared in this scope BlockDriverAmendStatusCB *status_cb, void *cb_opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:297:61: error: expected primary-expression before ‘void’ BlockDriverAmendStatusCB *status_cb, void *cb_opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:297:76: warning: expression list treated as compound expression in initializer [-fpermissive] BlockDriverAmendStatusCB *status_cb, void *cb_opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:300:39: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_recurse_is_first_non_filter(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:300:57: error: ‘bs’ was not declared in this scope bool bdrv_recurse_is_first_non_filter(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:301:39: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState *candidate); ^ /home/rohan/Desktop/panda/include/block/block.h:301:57: error: ‘candidate’ was not declared in this scope BlockDriverState *candidate); ^ /home/rohan/Desktop/panda/include/block/block.h:301:66: warning: expression list treated as compound expression in initializer [-fpermissive] BlockDriverState *candidate); ^ /home/rohan/Desktop/panda/include/block/block.h:302:31: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_is_first_non_filter(BlockDriverState *candidate); ^ /home/rohan/Desktop/panda/include/block/block.h:302:49: error: ‘candidate’ was not declared in this scope bool bdrv_is_first_non_filter(BlockDriverState *candidate); ^ /home/rohan/Desktop/panda/include/block/block.h:305:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *check_to_replace_node(BlockDriverState *parent_bs, ^ /home/rohan/Desktop/panda/include/block/block.h:315:28: error: ‘BlockDriverState’ was not declared in this scope BlockAIOCB *bdrv_aio_flush(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:315:46: error: ‘bs’ was not declared in this scope BlockAIOCB *bdrv_aio_flush(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:316:48: error: expected primary-expression before ‘*’ token BlockCompletionFunc *cb, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:316:49: error: ‘cb’ was not declared in this scope BlockCompletionFunc *cb, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:316:53: error: expected primary-expression before ‘void’ BlockCompletionFunc *cb, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:316:65: warning: expression list treated as compound expression in initializer [-fpermissive] BlockCompletionFunc *cb, void *opaque); ^ /home/rohan/Desktop/panda/include/block/block.h:321:19: error: ‘BlockDriverState’ was not declared in this scope int bdrv_co_ioctl(BlockDriverState *bs, int req, void *buf); ^ /home/rohan/Desktop/panda/include/block/block.h:321:37: error: ‘bs’ was not declared in this scope int bdrv_co_ioctl(BlockDriverState *bs, int req, void *buf); ^ /home/rohan/Desktop/panda/include/block/block.h:321:41: error: expected primary-expression before ‘int’ int bdrv_co_ioctl(BlockDriverState *bs, int req, void *buf); ^ /home/rohan/Desktop/panda/include/block/block.h:321:50: error: expected primary-expression before ‘void’ int bdrv_co_ioctl(BlockDriverState *bs, int req, void *buf); ^ /home/rohan/Desktop/panda/include/block/block.h:321:59: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_co_ioctl(BlockDriverState *bs, int req, void *buf); ^ /home/rohan/Desktop/panda/include/block/block.h:324:28: error: variable or field ‘bdrv_invalidate_cache’ declared void void bdrv_invalidate_cache(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:324:28: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:324:46: error: ‘bs’ was not declared in this scope void bdrv_invalidate_cache(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:324:50: error: ‘Error’ was not declared in this scope void bdrv_invalidate_cache(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:324:58: error: ‘errp’ was not declared in this scope void bdrv_invalidate_cache(BlockDriverState *bs, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:325:32: error: variable or field ‘bdrv_invalidate_cache_all’ declared void void bdrv_invalidate_cache_all(Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:325:32: error: ‘Error’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:325:40: error: ‘errp’ was not declared in this scope void bdrv_invalidate_cache_all(Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:329:16: error: ‘BlockDriverState’ was not declared in this scope int bdrv_flush(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:329:34: error: ‘bs’ was not declared in this scope int bdrv_flush(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:330:32: error: ‘BlockDriverState’ was not declared in this scope int coroutine_fn bdrv_co_flush(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:330:50: error: ‘bs’ was not declared in this scope int coroutine_fn bdrv_co_flush(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:333:17: error: variable or field ‘bdrv_drain’ declared void void bdrv_drain(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:333:17: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:333:35: error: ‘bs’ was not declared in this scope void bdrv_drain(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:334:33: error: variable or field ‘bdrv_co_drain’ declared void void coroutine_fn bdrv_co_drain(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:334:33: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:334:51: error: ‘bs’ was not declared in this scope void coroutine_fn bdrv_co_drain(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:368:19: error: ‘BlockDriverState’ was not declared in this scope int bdrv_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:368:37: error: ‘bs’ was not declared in this scope int bdrv_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:368:49: error: expected primary-expression before ‘offset’ int bdrv_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:368:57: error: expected primary-expression before ‘int’ int bdrv_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:368:66: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:369:22: error: ‘BlockDriverState’ was not declared in this scope int bdrv_co_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:369:40: error: ‘bs’ was not declared in this scope int bdrv_co_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:369:52: error: expected primary-expression before ‘offset’ int bdrv_co_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:369:60: error: expected primary-expression before ‘int’ int bdrv_co_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:369:69: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_co_pdiscard(BlockDriverState *bs, int64_t offset, int count); ^ /home/rohan/Desktop/panda/include/block/block.h:370:26: error: ‘BlockDriverState’ was not declared in this scope int bdrv_has_zero_init_1(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:370:44: error: ‘bs’ was not declared in this scope int bdrv_has_zero_init_1(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:371:24: error: ‘BlockDriverState’ was not declared in this scope int bdrv_has_zero_init(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:371:42: error: ‘bs’ was not declared in this scope int bdrv_has_zero_init(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:372:39: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_unallocated_blocks_are_zero(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:372:57: error: ‘bs’ was not declared in this scope bool bdrv_unallocated_blocks_are_zero(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:373:39: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_can_write_zeroes_with_unmap(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:373:57: error: ‘bs’ was not declared in this scope bool bdrv_can_write_zeroes_with_unmap(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:374:31: error: ‘BlockDriverState’ was not declared in this scope int64_t bdrv_get_block_status(BlockDriverState *bs, int64_t sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:374:49: error: ‘bs’ was not declared in this scope int64_t bdrv_get_block_status(BlockDriverState *bs, int64_t sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:374:61: error: expected primary-expression before ‘sector_num’ int64_t bdrv_get_block_status(BlockDriverState *bs, int64_t sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:375:31: error: expected primary-expression before ‘int’ int nb_sectors, int *pnum, ^ /home/rohan/Desktop/panda/include/block/block.h:375:47: error: expected primary-expression before ‘int’ int nb_sectors, int *pnum, ^ /home/rohan/Desktop/panda/include/block/block.h:376:31: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:376:50: error: ‘file’ was not declared in this scope BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:376:54: warning: expression list treated as compound expression in initializer [-fpermissive] BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:377:37: error: ‘BlockDriverState’ was not declared in this scope int64_t bdrv_get_block_status_above(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:377:55: error: ‘bs’ was not declared in this scope int64_t bdrv_get_block_status_above(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:378:37: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:378:55: error: ‘base’ was not declared in this scope BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:379:45: error: expected primary-expression before ‘sector_num’ int64_t sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:380:37: error: expected primary-expression before ‘int’ int nb_sectors, int *pnum, ^ /home/rohan/Desktop/panda/include/block/block.h:380:53: error: expected primary-expression before ‘int’ int nb_sectors, int *pnum, ^ /home/rohan/Desktop/panda/include/block/block.h:381:37: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:381:56: error: ‘file’ was not declared in this scope BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:381:60: warning: expression list treated as compound expression in initializer [-fpermissive] BlockDriverState **file); ^ /home/rohan/Desktop/panda/include/block/block.h:382:23: error: ‘BlockDriverState’ was not declared in this scope int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:382:41: error: ‘bs’ was not declared in this scope int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:382:53: error: expected primary-expression before ‘sector_num’ int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:382:65: error: expected primary-expression before ‘int’ int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:383:23: error: expected primary-expression before ‘int’ int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:383:32: warning: expression list treated as compound expression in initializer [-fpermissive] int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:384:29: error: ‘BlockDriverState’ was not declared in this scope int bdrv_is_allocated_above(BlockDriverState *top, BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:384:47: error: ‘top’ was not declared in this scope int bdrv_is_allocated_above(BlockDriverState *top, BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:384:52: error: ‘BlockDriverState’ was not declared in this scope int bdrv_is_allocated_above(BlockDriverState *top, BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:384:70: error: ‘base’ was not declared in this scope int bdrv_is_allocated_above(BlockDriverState *top, BlockDriverState *base, ^ /home/rohan/Desktop/panda/include/block/block.h:385:37: error: expected primary-expression before ‘sector_num’ int64_t sector_num, int nb_sectors, int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:385:49: error: expected primary-expression before ‘int’ int64_t sector_num, int nb_sectors, int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:385:65: error: expected primary-expression before ‘int’ int64_t sector_num, int nb_sectors, int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:385:74: warning: expression list treated as compound expression in initializer [-fpermissive] int64_t sector_num, int nb_sectors, int *pnum); ^ /home/rohan/Desktop/panda/include/block/block.h:387:24: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_is_read_only(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:387:42: error: ‘bs’ was not declared in this scope bool bdrv_is_read_only(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:388:17: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_is_sg(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:388:35: error: ‘bs’ was not declared in this scope bool bdrv_is_sg(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:389:23: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_is_inserted(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:389:41: error: ‘bs’ was not declared in this scope bool bdrv_is_inserted(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:390:24: error: ‘BlockDriverState’ was not declared in this scope int bdrv_media_changed(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:390:42: error: ‘bs’ was not declared in this scope int bdrv_media_changed(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:391:23: error: variable or field ‘bdrv_lock_medium’ declared void void bdrv_lock_medium(BlockDriverState *bs, bool locked); ^ /home/rohan/Desktop/panda/include/block/block.h:391:23: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:391:41: error: ‘bs’ was not declared in this scope void bdrv_lock_medium(BlockDriverState *bs, bool locked); ^ /home/rohan/Desktop/panda/include/block/block.h:391:45: error: expected primary-expression before ‘bool’ void bdrv_lock_medium(BlockDriverState *bs, bool locked); ^ /home/rohan/Desktop/panda/include/block/block.h:392:17: error: variable or field ‘bdrv_eject’ declared void void bdrv_eject(BlockDriverState *bs, bool eject_flag); ^ /home/rohan/Desktop/panda/include/block/block.h:392:17: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:392:35: error: ‘bs’ was not declared in this scope void bdrv_eject(BlockDriverState *bs, bool eject_flag); ^ /home/rohan/Desktop/panda/include/block/block.h:392:39: error: expected primary-expression before ‘bool’ void bdrv_eject(BlockDriverState *bs, bool eject_flag); ^ /home/rohan/Desktop/panda/include/block/block.h:393:34: error: ‘BlockDriverState’ was not declared in this scope const char *bdrv_get_format_name(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:393:52: error: ‘bs’ was not declared in this scope const char *bdrv_get_format_name(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:394:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_find_node(const char *node_name); ^ /home/rohan/Desktop/panda/include/block/block.h:395:44: error: ‘Error’ was not declared in this scope BlockDeviceInfoList *bdrv_named_nodes_list(Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:395:52: error: ‘errp’ was not declared in this scope BlockDeviceInfoList *bdrv_named_nodes_list(Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:396:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_lookup_bs(const char *device, ^ /home/rohan/Desktop/panda/include/block/block.h:399:26: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); ^ /home/rohan/Desktop/panda/include/block/block.h:399:44: error: ‘top’ was not declared in this scope bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); ^ /home/rohan/Desktop/panda/include/block/block.h:399:49: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); ^ /home/rohan/Desktop/panda/include/block/block.h:399:67: error: ‘base’ was not declared in this scope bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); ^ /home/rohan/Desktop/panda/include/block/block.h:399:71: warning: expression list treated as compound expression in initializer [-fpermissive] bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); ^ /home/rohan/Desktop/panda/include/block/block.h:400:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_next_node(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:407:5: error: ‘BlockBackend’ does not name a type BlockBackend *blk; ^ /home/rohan/Desktop/panda/include/block/block.h:408:5: error: ‘BlockDriverState’ does not name a type BlockDriverState *bs; ^ /home/rohan/Desktop/panda/include/block/block.h:411:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_first(BdrvNextIterator *it); ^ /home/rohan/Desktop/panda/include/block/block.h:412:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_next(BdrvNextIterator *it); ^ /home/rohan/Desktop/panda/include/block/block.h:414:1: error: ‘BlockDriverState’ does not name a type BlockDriverState *bdrv_next_monitor_owned(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:415:24: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_is_encrypted(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:415:42: error: ‘bs’ was not declared in this scope bool bdrv_is_encrypted(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:416:24: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_key_required(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:416:42: error: ‘bs’ was not declared in this scope bool bdrv_key_required(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:417:18: error: ‘BlockDriverState’ was not declared in this scope int bdrv_set_key(BlockDriverState *bs, const char *key); ^ /home/rohan/Desktop/panda/include/block/block.h:417:36: error: ‘bs’ was not declared in this scope int bdrv_set_key(BlockDriverState *bs, const char *key); ^ /home/rohan/Desktop/panda/include/block/block.h:417:40: error: expected primary-expression before ‘const’ int bdrv_set_key(BlockDriverState *bs, const char *key); ^ /home/rohan/Desktop/panda/include/block/block.h:417:55: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_set_key(BlockDriverState *bs, const char *key); ^ /home/rohan/Desktop/panda/include/block/block.h:418:19: error: variable or field ‘bdrv_add_key’ declared void void bdrv_add_key(BlockDriverState *bs, const char *key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:418:19: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:418:37: error: ‘bs’ was not declared in this scope void bdrv_add_key(BlockDriverState *bs, const char *key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:418:41: error: expected primary-expression before ‘const’ void bdrv_add_key(BlockDriverState *bs, const char *key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:418:58: error: ‘Error’ was not declared in this scope void bdrv_add_key(BlockDriverState *bs, const char *key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:418:66: error: ‘errp’ was not declared in this scope void bdrv_add_key(BlockDriverState *bs, const char *key, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:421:38: error: ‘BlockDriverState’ does not name a type const char *bdrv_get_node_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:421:56: warning: ISO C++ forbids declaration of ‘bs’ with no type [-fpermissive] const char *bdrv_get_node_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:422:40: error: ‘BlockDriverState’ does not name a type const char *bdrv_get_device_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:422:58: warning: ISO C++ forbids declaration of ‘bs’ with no type [-fpermissive] const char *bdrv_get_device_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:423:48: error: ‘BlockDriverState’ does not name a type const char *bdrv_get_device_or_node_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:423:66: warning: ISO C++ forbids declaration of ‘bs’ with no type [-fpermissive] const char *bdrv_get_device_or_node_name(const BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:424:20: error: ‘BlockDriverState’ was not declared in this scope int bdrv_get_flags(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:424:38: error: ‘bs’ was not declared in this scope int bdrv_get_flags(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:425:19: error: ‘BlockDriverState’ was not declared in this scope int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); ^ /home/rohan/Desktop/panda/include/block/block.h:425:37: error: ‘bs’ was not declared in this scope int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); ^ /home/rohan/Desktop/panda/include/block/block.h:425:57: error: expected primary-expression before ‘*’ token int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); ^ /home/rohan/Desktop/panda/include/block/block.h:425:58: error: ‘bdi’ was not declared in this scope int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); ^ /home/rohan/Desktop/panda/include/block/block.h:425:61: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); ^ /home/rohan/Desktop/panda/include/block/block.h:426:43: error: ‘BlockDriverState’ was not declared in this scope ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:426:61: error: ‘bs’ was not declared in this scope ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:427:37: error: variable or field ‘bdrv_round_sectors_to_clusters’ declared void void bdrv_round_sectors_to_clusters(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:427:37: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:427:55: error: ‘bs’ was not declared in this scope void bdrv_round_sectors_to_clusters(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:428:45: error: expected primary-expression before ‘sector_num’ int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:428:57: error: expected primary-expression before ‘int’ int64_t sector_num, int nb_sectors, ^ /home/rohan/Desktop/panda/include/block/block.h:429:45: error: expected primary-expression before ‘*’ token int64_t *cluster_sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:429:46: error: ‘cluster_sector_num’ was not declared in this scope int64_t *cluster_sector_num, ^ /home/rohan/Desktop/panda/include/block/block.h:430:37: error: expected primary-expression before ‘int’ int *cluster_nb_sectors); ^ /home/rohan/Desktop/panda/include/block/block.h:431:29: error: variable or field ‘bdrv_round_to_clusters’ declared void void bdrv_round_to_clusters(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:431:29: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:431:47: error: ‘bs’ was not declared in this scope void bdrv_round_to_clusters(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:432:37: error: expected primary-expression before ‘offset’ int64_t offset, unsigned int bytes, ^ /home/rohan/Desktop/panda/include/block/block.h:432:45: error: expected primary-expression before ‘unsigned’ int64_t offset, unsigned int bytes, ^ /home/rohan/Desktop/panda/include/block/block.h:433:37: error: expected primary-expression before ‘*’ token int64_t *cluster_offset, ^ /home/rohan/Desktop/panda/include/block/block.h:433:38: error: ‘cluster_offset’ was not declared in this scope int64_t *cluster_offset, ^ /home/rohan/Desktop/panda/include/block/block.h:434:29: error: expected primary-expression before ‘unsigned’ unsigned int *cluster_bytes); ^ /home/rohan/Desktop/panda/include/block/block.h:436:41: error: ‘BlockDriverState’ was not declared in this scope const char *bdrv_get_encrypted_filename(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:436:59: error: ‘bs’ was not declared in this scope const char *bdrv_get_encrypted_filename(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:437:32: error: variable or field ‘bdrv_get_backing_filename’ declared void void bdrv_get_backing_filename(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:437:32: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:437:50: error: ‘bs’ was not declared in this scope void bdrv_get_backing_filename(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:438:32: error: expected primary-expression before ‘char’ char *filename, int filename_size); ^ /home/rohan/Desktop/panda/include/block/block.h:438:48: error: expected primary-expression before ‘int’ char *filename, int filename_size); ^ /home/rohan/Desktop/panda/include/block/block.h:439:37: error: variable or field ‘bdrv_get_full_backing_filename’ declared void void bdrv_get_full_backing_filename(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:439:37: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:439:55: error: ‘bs’ was not declared in this scope void bdrv_get_full_backing_filename(BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/block/block.h:440:37: error: expected primary-expression before ‘char’ char *dest, size_t sz, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:440:56: error: expected primary-expression before ‘sz’ char *dest, size_t sz, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:440:60: error: ‘Error’ was not declared in this scope char *dest, size_t sz, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:440:68: error: ‘errp’ was not declared in this scope char *dest, size_t sz, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:444:51: error: ‘Error’ has not been declared Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:452:24: error: ‘BlockDriverState’ was not declared in this scope int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:452:42: error: ‘bs’ was not declared in this scope int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:452:59: error: expected primary-expression before ‘*’ token int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:452:60: error: ‘qiov’ was not declared in this scope int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:452:74: error: expected primary-expression before ‘pos’ int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:452:77: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:25: error: ‘BlockDriverState’ was not declared in this scope int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:43: error: ‘bs’ was not declared in this scope int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:60: error: expected primary-expression before ‘*’ token int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:61: error: ‘qiov’ was not declared in this scope int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:75: error: expected primary-expression before ‘pos’ int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:453:78: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); ^ /home/rohan/Desktop/panda/include/block/block.h:454:23: error: ‘BlockDriverState’ was not declared in this scope int bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:454:41: error: ‘bs’ was not declared in this scope int bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:454:45: error: expected primary-expression before ‘const’ int bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:455:31: error: expected primary-expression before ‘pos’ int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:455:36: error: expected primary-expression before ‘int’ int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:455:44: warning: expression list treated as compound expression in initializer [-fpermissive] int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:457:23: error: ‘BlockDriverState’ was not declared in this scope int bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:457:41: error: ‘bs’ was not declared in this scope int bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:457:53: error: expected primary-expression before ‘*’ token int bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:457:54: error: ‘buf’ was not declared in this scope int bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf, ^ /home/rohan/Desktop/panda/include/block/block.h:458:31: error: expected primary-expression before ‘pos’ int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:458:36: error: expected primary-expression before ‘int’ int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:458:44: warning: expression list treated as compound expression in initializer [-fpermissive] int64_t pos, int size); ^ /home/rohan/Desktop/panda/include/block/block.h:463:22: error: ‘Error’ has not been declared Error **errp, bool quiet); ^ /home/rohan/Desktop/panda/include/block/block.h:467:27: error: ‘BlockDriverState’ was not declared in this scope size_t bdrv_min_mem_align(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:467:45: error: ‘bs’ was not declared in this scope size_t bdrv_min_mem_align(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:469:27: error: ‘BlockDriverState’ was not declared in this scope size_t bdrv_opt_mem_align(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:469:45: error: ‘bs’ was not declared in this scope size_t bdrv_opt_mem_align(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:470:23: error: ‘BlockDriverState’ was not declared in this scope void *qemu_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:470:41: error: ‘bs’ was not declared in this scope void *qemu_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:470:52: error: expected primary-expression before ‘size’ void *qemu_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:470:56: warning: expression list treated as compound expression in initializer [-fpermissive] void *qemu_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:471:24: error: ‘BlockDriverState’ was not declared in this scope void *qemu_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:471:42: error: ‘bs’ was not declared in this scope void *qemu_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:471:53: error: expected primary-expression before ‘size’ void *qemu_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:471:57: warning: expression list treated as compound expression in initializer [-fpermissive] void *qemu_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:472:27: error: ‘BlockDriverState’ was not declared in this scope void *qemu_try_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:472:45: error: ‘bs’ was not declared in this scope void *qemu_try_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:472:56: error: expected primary-expression before ‘size’ void *qemu_try_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:472:60: warning: expression list treated as compound expression in initializer [-fpermissive] void *qemu_try_blockalign(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:473:28: error: ‘BlockDriverState’ was not declared in this scope void *qemu_try_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:473:46: error: ‘bs’ was not declared in this scope void *qemu_try_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:473:57: error: expected primary-expression before ‘size’ void *qemu_try_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:473:61: warning: expression list treated as compound expression in initializer [-fpermissive] void *qemu_try_blockalign0(BlockDriverState *bs, size_t size); ^ /home/rohan/Desktop/panda/include/block/block.h:474:27: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov); ^ /home/rohan/Desktop/panda/include/block/block.h:474:45: error: ‘bs’ was not declared in this scope bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov); ^ /home/rohan/Desktop/panda/include/block/block.h:474:62: error: expected primary-expression before ‘*’ token bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov); ^ /home/rohan/Desktop/panda/include/block/block.h:474:63: error: ‘qiov’ was not declared in this scope bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov); ^ /home/rohan/Desktop/panda/include/block/block.h:474:67: warning: expression list treated as compound expression in initializer [-fpermissive] bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov); ^ /home/rohan/Desktop/panda/include/block/block.h:476:31: error: variable or field ‘bdrv_enable_copy_on_read’ declared void void bdrv_enable_copy_on_read(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:476:31: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:476:49: error: ‘bs’ was not declared in this scope void bdrv_enable_copy_on_read(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:477:32: error: variable or field ‘bdrv_disable_copy_on_read’ declared void void bdrv_disable_copy_on_read(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:477:32: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:477:50: error: ‘bs’ was not declared in this scope void bdrv_disable_copy_on_read(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:479:15: error: variable or field ‘bdrv_ref’ declared void void bdrv_ref(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:479:15: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:479:33: error: ‘bs’ was not declared in this scope void bdrv_ref(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:480:17: error: variable or field ‘bdrv_unref’ declared void void bdrv_unref(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:480:17: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:480:35: error: ‘bs’ was not declared in this scope void bdrv_unref(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:481:23: error: variable or field ‘bdrv_unref_child’ declared void void bdrv_unref_child(BlockDriverState *parent, BdrvChild *child); ^ /home/rohan/Desktop/panda/include/block/block.h:481:23: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:481:41: error: ‘parent’ was not declared in this scope void bdrv_unref_child(BlockDriverState *parent, BdrvChild *child); ^ /home/rohan/Desktop/panda/include/block/block.h:481:59: error: expected primary-expression before ‘*’ token void bdrv_unref_child(BlockDriverState *parent, BdrvChild *child); ^ /home/rohan/Desktop/panda/include/block/block.h:481:60: error: ‘child’ was not declared in this scope void bdrv_unref_child(BlockDriverState *parent, BdrvChild *child); ^ /home/rohan/Desktop/panda/include/block/block.h:482:30: error: ‘BlockDriverState’ was not declared in this scope BdrvChild *bdrv_attach_child(BlockDriverState *parent_bs, ^ /home/rohan/Desktop/panda/include/block/block.h:482:48: error: ‘parent_bs’ was not declared in this scope BdrvChild *bdrv_attach_child(BlockDriverState *parent_bs, ^ /home/rohan/Desktop/panda/include/block/block.h:483:30: error: ‘BlockDriverState’ was not declared in this scope BlockDriverState *child_bs, ^ /home/rohan/Desktop/panda/include/block/block.h:483:48: error: ‘child_bs’ was not declared in this scope BlockDriverState *child_bs, ^ /home/rohan/Desktop/panda/include/block/block.h:484:30: error: expected primary-expression before ‘const’ const char *child_name, ^ /home/rohan/Desktop/panda/include/block/block.h:485:30: error: expected primary-expression before ‘const’ const BdrvChildRole *child_role); ^ /home/rohan/Desktop/panda/include/block/block.h:485:61: warning: expression list treated as compound expression in initializer [-fpermissive] const BdrvChildRole *child_role); ^ /home/rohan/Desktop/panda/include/block/block.h:487:25: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:487:43: error: ‘bs’ was not declared in this scope bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:487:59: error: expected primary-expression before ‘op’ bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:487:63: error: ‘Error’ was not declared in this scope bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:487:71: error: ‘errp’ was not declared in this scope bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:487:75: warning: expression list treated as compound expression in initializer [-fpermissive] bool bdrv_op_is_blocked(BlockDriverState *bs, BlockOpType op, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:488:20: error: variable or field ‘bdrv_op_block’ declared void void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:488:20: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:488:38: error: ‘bs’ was not declared in this scope void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:488:54: error: expected primary-expression before ‘op’ void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:488:58: error: ‘Error’ was not declared in this scope void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:488:65: error: ‘reason’ was not declared in this scope void bdrv_op_block(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:489:22: error: variable or field ‘bdrv_op_unblock’ declared void void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:489:22: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:489:40: error: ‘bs’ was not declared in this scope void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:489:56: error: expected primary-expression before ‘op’ void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:489:60: error: ‘Error’ was not declared in this scope void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:489:67: error: ‘reason’ was not declared in this scope void bdrv_op_unblock(BlockDriverState *bs, BlockOpType op, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:490:24: error: variable or field ‘bdrv_op_block_all’ declared void void bdrv_op_block_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:490:24: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:490:42: error: ‘bs’ was not declared in this scope void bdrv_op_block_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:490:46: error: ‘Error’ was not declared in this scope void bdrv_op_block_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:490:53: error: ‘reason’ was not declared in this scope void bdrv_op_block_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:491:26: error: variable or field ‘bdrv_op_unblock_all’ declared void void bdrv_op_unblock_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:491:26: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:491:44: error: ‘bs’ was not declared in this scope void bdrv_op_unblock_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:491:48: error: ‘Error’ was not declared in this scope void bdrv_op_unblock_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:491:55: error: ‘reason’ was not declared in this scope void bdrv_op_unblock_all(BlockDriverState *bs, Error *reason); ^ /home/rohan/Desktop/panda/include/block/block.h:492:31: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_op_blocker_is_empty(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:492:49: error: ‘bs’ was not declared in this scope bool bdrv_op_blocker_is_empty(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:501:23: error: variable or field ‘bdrv_debug_event’ declared void void bdrv_debug_event(BlockDriverState *bs, BlkdebugEvent event); ^ /home/rohan/Desktop/panda/include/block/block.h:501:23: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:501:41: error: ‘bs’ was not declared in this scope void bdrv_debug_event(BlockDriverState *bs, BlkdebugEvent event); ^ /home/rohan/Desktop/panda/include/block/block.h:501:59: error: expected primary-expression before ‘event’ void bdrv_debug_event(BlockDriverState *bs, BlkdebugEvent event); ^ /home/rohan/Desktop/panda/include/block/block.h:503:27: error: ‘BlockDriverState’ was not declared in this scope int bdrv_debug_breakpoint(BlockDriverState *bs, const char *event, ^ /home/rohan/Desktop/panda/include/block/block.h:503:45: error: ‘bs’ was not declared in this scope int bdrv_debug_breakpoint(BlockDriverState *bs, const char *event, ^ /home/rohan/Desktop/panda/include/block/block.h:503:49: error: expected primary-expression before ‘const’ int bdrv_debug_breakpoint(BlockDriverState *bs, const char *event, ^ /home/rohan/Desktop/panda/include/block/block.h:504:28: error: expected primary-expression before ‘const’ const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:504:43: warning: expression list treated as compound expression in initializer [-fpermissive] const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:505:34: error: ‘BlockDriverState’ was not declared in this scope int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:505:52: error: ‘bs’ was not declared in this scope int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:505:56: error: expected primary-expression before ‘const’ int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:505:71: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:506:23: error: ‘BlockDriverState’ was not declared in this scope int bdrv_debug_resume(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:506:41: error: ‘bs’ was not declared in this scope int bdrv_debug_resume(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:506:45: error: expected primary-expression before ‘const’ int bdrv_debug_resume(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:506:60: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_debug_resume(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:507:30: error: ‘BlockDriverState’ was not declared in this scope bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:507:48: error: ‘bs’ was not declared in this scope bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:507:52: error: expected primary-expression before ‘const’ bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:507:67: warning: expression list treated as compound expression in initializer [-fpermissive] bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag); ^ /home/rohan/Desktop/panda/include/block/block.h:514:34: error: ‘BlockDriverState’ was not declared in this scope AioContext *bdrv_get_aio_context(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:514:52: error: ‘bs’ was not declared in this scope AioContext *bdrv_get_aio_context(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:524:27: error: variable or field ‘bdrv_set_aio_context’ declared void void bdrv_set_aio_context(BlockDriverState *bs, AioContext *new_context); ^ /home/rohan/Desktop/panda/include/block/block.h:524:27: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:524:45: error: ‘bs’ was not declared in this scope void bdrv_set_aio_context(BlockDriverState *bs, AioContext *new_context); ^ /home/rohan/Desktop/panda/include/block/block.h:524:60: error: expected primary-expression before ‘*’ token void bdrv_set_aio_context(BlockDriverState *bs, AioContext *new_context); ^ /home/rohan/Desktop/panda/include/block/block.h:524:61: error: ‘new_context’ was not declared in this scope void bdrv_set_aio_context(BlockDriverState *bs, AioContext *new_context); ^ /home/rohan/Desktop/panda/include/block/block.h:525:27: error: ‘BlockDriverState’ was not declared in this scope int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz); ^ /home/rohan/Desktop/panda/include/block/block.h:525:45: error: ‘bs’ was not declared in this scope int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz); ^ /home/rohan/Desktop/panda/include/block/block.h:525:60: error: expected primary-expression before ‘*’ token int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz); ^ /home/rohan/Desktop/panda/include/block/block.h:525:61: error: ‘bsz’ was not declared in this scope int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz); ^ /home/rohan/Desktop/panda/include/block/block.h:525:64: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz); ^ /home/rohan/Desktop/panda/include/block/block.h:526:25: error: ‘BlockDriverState’ was not declared in this scope int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo); ^ /home/rohan/Desktop/panda/include/block/block.h:526:43: error: ‘bs’ was not declared in this scope int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo); ^ /home/rohan/Desktop/panda/include/block/block.h:526:58: error: expected primary-expression before ‘*’ token int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo); ^ /home/rohan/Desktop/panda/include/block/block.h:526:59: error: ‘geo’ was not declared in this scope int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo); ^ /home/rohan/Desktop/panda/include/block/block.h:526:62: warning: expression list treated as compound expression in initializer [-fpermissive] int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo); ^ /home/rohan/Desktop/panda/include/block/block.h:528:19: error: variable or field ‘bdrv_io_plug’ declared void void bdrv_io_plug(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:528:19: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:528:37: error: ‘bs’ was not declared in this scope void bdrv_io_plug(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:529:21: error: variable or field ‘bdrv_io_unplug’ declared void void bdrv_io_unplug(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:529:21: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:529:39: error: ‘bs’ was not declared in this scope void bdrv_io_unplug(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:541:25: error: variable or field ‘bdrv_drained_begin’ declared void void bdrv_drained_begin(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:541:25: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:541:43: error: ‘bs’ was not declared in this scope void bdrv_drained_begin(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:548:23: error: variable or field ‘bdrv_drained_end’ declared void void bdrv_drained_end(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:548:23: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:548:41: error: ‘bs’ was not declared in this scope void bdrv_drained_end(BlockDriverState *bs); ^ /home/rohan/Desktop/panda/include/block/block.h:550:21: error: variable or field ‘bdrv_add_child’ declared void void bdrv_add_child(BlockDriverState *parent, BlockDriverState *child, ^ /home/rohan/Desktop/panda/include/block/block.h:550:21: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:550:39: error: ‘parent’ was not declared in this scope void bdrv_add_child(BlockDriverState *parent, BlockDriverState *child, ^ /home/rohan/Desktop/panda/include/block/block.h:550:47: error: ‘BlockDriverState’ was not declared in this scope void bdrv_add_child(BlockDriverState *parent, BlockDriverState *child, ^ /home/rohan/Desktop/panda/include/block/block.h:550:65: error: ‘child’ was not declared in this scope void bdrv_add_child(BlockDriverState *parent, BlockDriverState *child, ^ /home/rohan/Desktop/panda/include/block/block.h:551:21: error: ‘Error’ was not declared in this scope Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:551:29: error: ‘errp’ was not declared in this scope Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:21: error: variable or field ‘bdrv_del_child’ declared void void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:21: error: ‘BlockDriverState’ was not declared in this scope /home/rohan/Desktop/panda/include/block/block.h:552:39: error: ‘parent’ was not declared in this scope void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:57: error: expected primary-expression before ‘*’ token void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:58: error: ‘child’ was not declared in this scope void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:65: error: ‘Error’ was not declared in this scope void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ /home/rohan/Desktop/panda/include/block/block.h:552:73: error: ‘errp’ was not declared in this scope void bdrv_del_child(BlockDriverState *parent, BdrvChild *child, Error **errp); ^ In file included from /home/rohan/Desktop/panda/include/monitor/monitor.h:7:0, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56: /home/rohan/Desktop/panda/include/qemu/readline.h:8:26: error: typedef ‘GCC_FMT_ATTR’ is initialized (use decltype instead) typedef void GCC_FMT_ATTR(2, 3) ReadLinePrintfFunc(void *opaque, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:41:5: error: ‘ReadLinePrintfFunc’ does not name a type ReadLinePrintfFunc *printf_func; ^ /home/rohan/Desktop/panda/include/qemu/readline.h:58:30: error: ‘ReadLinePrintfFunc’ was not declared in this scope ReadLineState *readline_init(ReadLinePrintfFunc *printf_func, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:58:50: error: ‘printf_func’ was not declared in this scope ReadLineState *readline_init(ReadLinePrintfFunc *printf_func, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:59:48: error: expected primary-expression before ‘*’ token ReadLineFlushFunc *flush_func, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:59:49: error: ‘flush_func’ was not declared in this scope ReadLineFlushFunc *flush_func, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:60:30: error: expected primary-expression before ‘void’ void *opaque, ^ /home/rohan/Desktop/panda/include/qemu/readline.h:61:53: error: expected primary-expression before ‘*’ token ReadLineCompletionFunc *completion_finder); ^ /home/rohan/Desktop/panda/include/qemu/readline.h:61:54: error: ‘completion_finder’ was not declared in this scope ReadLineCompletionFunc *completion_finder); ^ /home/rohan/Desktop/panda/include/qemu/readline.h:61:71: warning: expression list treated as compound expression in initializer [-fpermissive] ReadLineCompletionFunc *completion_finder); ^ In file included from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:56:0: /home/rohan/Desktop/panda/include/monitor/monitor.h:9:8: error: ‘Monitor’ does not name a type extern Monitor *cur_mon; ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:19:19: error: variable or field ‘monitor_init’ declared void void monitor_init(Chardev *chr, int flags); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:19:19: error: ‘Chardev’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:19:28: error: ‘chr’ was not declared in this scope void monitor_init(Chardev *chr, int flags); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:19:33: error: expected primary-expression before ‘int’ void monitor_init(Chardev *chr, int flags); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:22:21: error: ‘Monitor’ was not declared in this scope int monitor_suspend(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:22:30: error: ‘mon’ was not declared in this scope int monitor_suspend(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:23:21: error: variable or field ‘monitor_resume’ declared void void monitor_resume(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:23:21: error: ‘Monitor’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:23:30: error: ‘mon’ was not declared in this scope void monitor_resume(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:25:33: error: ‘Monitor’ was not declared in this scope int monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:25:42: error: ‘mon’ was not declared in this scope int monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:25:47: error: ‘BlockDriverState’ was not declared in this scope int monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:25:65: error: ‘bs’ was not declared in this scope int monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:26:53: error: expected primary-expression before ‘*’ token BlockCompletionFunc *completion_cb, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:26:54: error: ‘completion_cb’ was not declared in this scope BlockCompletionFunc *completion_cb, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:27:33: error: expected primary-expression before ‘void’ void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:27:45: warning: expression list treated as compound expression in initializer [-fpermissive] void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:28:35: error: ‘Monitor’ was not declared in this scope int monitor_read_block_device_key(Monitor *mon, const char *device, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:28:44: error: ‘mon’ was not declared in this scope int monitor_read_block_device_key(Monitor *mon, const char *device, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:28:49: error: expected primary-expression before ‘const’ int monitor_read_block_device_key(Monitor *mon, const char *device, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:29:55: error: expected primary-expression before ‘*’ token BlockCompletionFunc *completion_cb, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:29:56: error: ‘completion_cb’ was not declared in this scope BlockCompletionFunc *completion_cb, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:30:35: error: expected primary-expression before ‘void’ void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:30:47: warning: expression list treated as compound expression in initializer [-fpermissive] void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:20: error: ‘Monitor’ was not declared in this scope int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:29: error: ‘mon’ was not declared in this scope int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:34: error: expected primary-expression before ‘const’ int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:54: error: ‘Error’ was not declared in this scope int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:62: error: ‘errp’ was not declared in this scope int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:32:66: warning: expression list treated as compound expression in initializer [-fpermissive] int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:22: error: ‘Monitor’ was not declared in this scope int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:31: error: ‘mon’ was not declared in this scope int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:36: error: expected primary-expression before ‘const’ int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:56: error: ‘Error’ was not declared in this scope int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:64: error: ‘errp’ was not declared in this scope int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:33:68: warning: expression list treated as compound expression in initializer [-fpermissive] int monitor_fd_param(Monitor *mon, const char *fdname, Error **errp); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:35:22: error: variable or field ‘monitor_vprintf’ declared void void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap) ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:35:22: error: ‘Monitor’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:35:31: error: ‘mon’ was not declared in this scope void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap) ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:35:36: error: expected primary-expression before ‘const’ void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap) ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:35:61: error: expected primary-expression before ‘ap’ void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap) ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:37:21: error: variable or field ‘monitor_printf’ declared void void monitor_printf(Monitor *mon, const char *fmt, ...) GCC_FMT_ATTR(2, 3); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:37:21: error: ‘Monitor’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:37:30: error: ‘mon’ was not declared in this scope void monitor_printf(Monitor *mon, const char *fmt, ...) GCC_FMT_ATTR(2, 3); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:37:35: error: expected primary-expression before ‘const’ void monitor_printf(Monitor *mon, const char *fmt, ...) GCC_FMT_ATTR(2, 3); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:37:52: error: expected primary-expression before ‘...’ token void monitor_printf(Monitor *mon, const char *fmt, ...) GCC_FMT_ATTR(2, 3); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:38:57: error: expected initializer before ‘GCC_FMT_ATTR’ int monitor_fprintf(FILE *stream, const char *fmt, ...) GCC_FMT_ATTR(2, 3); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:39:20: error: variable or field ‘monitor_flush’ declared void void monitor_flush(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:39:20: error: ‘Monitor’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:39:29: error: ‘mon’ was not declared in this scope void monitor_flush(Monitor *mon); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:43:27: error: variable or field ‘monitor_read_command’ declared void void monitor_read_command(Monitor *mon, int show_prompt); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:43:27: error: ‘Monitor’ was not declared in this scope /home/rohan/Desktop/panda/include/monitor/monitor.h:43:36: error: ‘mon’ was not declared in this scope void monitor_read_command(Monitor *mon, int show_prompt); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:43:41: error: expected primary-expression before ‘int’ void monitor_read_command(Monitor *mon, int show_prompt); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:44:27: error: ‘Monitor’ was not declared in this scope int monitor_read_password(Monitor *mon, ReadLineFunc *readline_func, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:44:36: error: ‘mon’ was not declared in this scope int monitor_read_password(Monitor *mon, ReadLineFunc *readline_func, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:44:54: error: expected primary-expression before ‘*’ token int monitor_read_password(Monitor *mon, ReadLineFunc *readline_func, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:44:55: error: ‘readline_func’ was not declared in this scope int monitor_read_password(Monitor *mon, ReadLineFunc *readline_func, ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:45:27: error: expected primary-expression before ‘void’ void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:45:39: warning: expression list treated as compound expression in initializer [-fpermissive] void *opaque); ^ /home/rohan/Desktop/panda/include/monitor/monitor.h:49:33: error: ‘Error’ has not been declared Error **errp); ^ make: *** [subdir-x86_64-softmmu] Error 2 In file included from /home/rohan/Desktop/panda/panda/include/panda/plugin.h:737:0, from /home/rohan/Desktop/panda/panda/plugins/taint2/taint2.h:23, from /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:57: /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:69:42: error: redefinition of ‘void (* ppp_on_file_byte_read_cb [256])(CPUState*, target_ulong, uint32_t)’ cb_name##_t ppp_##cb_name##_cb[PPP_MAX_CB]; \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:95:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:69:13: error: ‘void (* ppp_on_file_byte_read_cb [256])(CPUState*, target_ulong, uint32_t)’ previously declared here cb_name##_t ppp_##cb_name##_cb[PPP_MAX_CB]; \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:75:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:70:5: error: redefinition of ‘int ppp_on_file_byte_read_num_cb’ int ppp_##cb_name##_num_cb = 0; \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:95:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:70:5: error: ‘int ppp_on_file_byte_read_num_cb’ previously defined here int ppp_##cb_name##_num_cb = 0; \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:75:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp: In function ‘void ppp_add_cb_on_file_byte_read(on_file_byte_read_t)’: /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:72:6: error: redefinition of ‘void ppp_add_cb_on_file_byte_read(on_file_byte_read_t)’ void ppp_add_cb_##cb_name(cb_name##_t fptr) { \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:95:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:72:6: error: ‘void ppp_add_cb_on_file_byte_read(on_file_byte_read_t)’ previously defined here void ppp_add_cb_##cb_name(cb_name##_t fptr) { \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:75:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp: In function ‘void ppp_add_cb_on_file_byte_read_slot(on_file_byte_read_t, int)’: /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:78:6: error: redefinition of ‘void ppp_add_cb_on_file_byte_read_slot(on_file_byte_read_t, int)’ void ppp_add_cb_##cb_name##_slot(cb_name##_t fptr, int slot_num) { \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:95:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ /home/rohan/Desktop/panda/panda/include/panda/plugin_plugin.h:78:6: error: ‘void ppp_add_cb_on_file_byte_read_slot(on_file_byte_read_t, int)’ previously defined here void ppp_add_cb_##cb_name##_slot(cb_name##_t fptr, int slot_num) { \ ^ /home/rohan/Desktop/panda/panda/plugins/faros/faros.cpp:75:1: note: in expansion of macro ‘PPP_CB_BOILERPLATE’ PPP_CB_BOILERPLATE(on_file_byte_read) ^ make[2]: *** [panda/plugins/faros/faros.o] Error 1 make[1]: *** [plugin-faros] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [subdir-arm-softmmu] Error 2 make: *** [subdir-ppc-softmmu] Error 2