[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] Qemu 2.10 rc4 build issue on BE (luigi burdo
From: |
Igor Mammedov |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] Qemu 2.10 rc4 build issue on BE (luigi burdo) |
Date: |
Mon, 28 Aug 2017 11:10:39 +0200 |
On Mon, 28 Aug 2017 06:13:03 +0000
luigi burdo <address@hidden> wrote:
> Hi,
>
> this is the log that was attached in my email.
>
> i will test only i386 softmmu when will return at home
>
> thanks
>
> Luigi
>
>
> ./configure
> --target-list=ppc64-softmmu,ppc-softmmu,x86_64-softmmu,arm-softmmu,i386-softmmu
> --with-sdlabi=2.0 --with-gtkabi=3.0 --audio-drv-list=pa,sdl,alsa
> --disable-werror
> Install prefix /usr/local
> BIOS directory /usr/local/share/qemu
> binary directory /usr/local/bin
> library directory /usr/local/lib
> module directory /usr/local/lib/qemu
> libexec directory /usr/local/libexec
> include directory /usr/local/include
> config directory /usr/local/etc
> local state directory /usr/local/var
> Manual directory /usr/local/share/man
> ELF interp prefix /usr/gnemul/qemu-%M
> Source path /home/amigaone/Downloads/qemu-2.10.0-rc4
> C compiler cc
> Host C compiler cc
> C++ compiler c++
> Objective-C compiler clang
> ARFLAGS rv
> CFLAGS -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g
> QEMU_CFLAGS -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -DNCURSES_WIDECHAR -D_GNU_SOURCE -m64
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
> -fno-strict-aliasing -fno-common -fwrapv -Wendif-labels
> -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body
> -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
> -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
> -Wtype-limits -fstack-protector-strong -I/usr/include/p11-kit-1
> -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libusb-1.0
> LDFLAGS -Wl,--warn-common -m64 -g
> make make
> install install
> python python -B
> smbd /usr/sbin/smbd
> module support no
> host CPU ppc64
> host big endian yes
> target list ppc64-softmmu ppc-softmmu x86_64-softmmu arm-softmmu
> i386-softmmu
> gprof enabled no
> sparse enabled no
> strip binaries yes
> profiler no
> static build no
> pixman system
> SDL support yes (2.0.5)
> GTK support yes (3.22.17)
> GTK GL support yes
> VTE support no
> TLS priority NORMAL
> GNUTLS support yes
> GNUTLS rnd yes
> libgcrypt no
> libgcrypt kdf no
> nettle yes (3.3)
> nettle kdf yes
> libtasn1 yes
> curses support yes
> virgl support yes
> curl support no
> mingw32 support no
> Audio drivers pa sdl alsa
> Block whitelist (rw)
> Block whitelist (ro)
> VirtFS support yes
> VNC support yes
> VNC SASL support no
> VNC JPEG support yes
> VNC PNG support yes
> xen support no
> brlapi support no
> bluez support no
> Documentation no
> PIE no
> vde support no
> netmap support no
> Linux AIO support yes
> ATTR/XATTR support yes
> Install blobs yes
> KVM support yes
> HAX support no
> TCG support yes
> TCG debug enabled no
> TCG interpreter no
> RDMA support no
> fdt support yes
> preadv support yes
> fdatasync yes
> madvise yes
> posix_madvise yes
> libcap-ng support no
> vhost-net support yes
> vhost-scsi support yes
> vhost-vsock support yes
> vhost-user support yes
> Trace backends log
> spice support no
> rbd support no
> xfsctl support no
> smartcard support no
> libusb yes
> usb net redir no
> OpenGL support yes
> OpenGL dmabufs yes
> libiscsi support no
> libnfs support no
> build guest agent yes
> QGA VSS support no
> QGA w32 disk info no
> QGA MSI support no
> seccomp support no
> coroutine backend ucontext
> coroutine pool yes
> debug stack usage no
> crypto afalg no
> GlusterFS support no
> gcov gcov
> gcov enabled no
> TPM support yes
> libssh2 support no
> TPM passthrough no
> QOM debugging yes
> Live block migration yes
> lzo support no
> snappy support yes
> bzip2 support yes
> NUMA host support yes
> tcmalloc support no
> jemalloc support no
> avx2 optimization no
> replication support yes
> VxHS block device no
>
>
[...]
below errors look like corrupted source files
> CC x86_64-softmmu/hw/i386/pc.o
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: In function
> 'pc_dimm_unplug_request':
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1744:9: error: unknown
> type name 'gCto'
> gCto out;
> ^~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1744:14: warning:
> unused variable 'out' [-Wunused-variable]
> gCto out;
> ^~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1747:49: error: stray
> '@' in program
> if (object_dynamic_cast(OBJECT(dev), address@hidden)) {
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1747:42: error:
> 'TYPE_NV' undeclared (first use in this function)
> if (object_dynamic_cast(OBJECT(dev), address@hidden)) {
> ^~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1747:42: note: each
> undeclared identifier is reported only once for each function it appears in
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1747:50: error:
> expected ')' before 'IMM'
> if (object_dynamic_cast(OBJECT(dev), address@hidden)) {
> ^~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1754:5: error: stray
> '@' in program
> @hc->unplug_request(HOTPLUG_HANDLER(pcms->acpi_dev), dev, &localCerr);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1754:6: error: 'hc'
> undeclared (first use in this function)
> @hc->unplug_request(HOTPLUG_HANDLER(pcms->acpi_dev), dev, &localCerr);
> ^~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1754:64: error:
> 'localCerr' undeclared (first use in this function)
> @hc->unplug_request(HOTPLUG_HANDLER(pcms->acpi_dev), dev, &localCerr);
> ^~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1737:26: warning:
> variable 'hhc' set but not used [-Wunused-but-set-variable]
> HotplugHandlerClass *hhc;
> ^~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: At top level:
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1760:11: error: stray
> '@' in program
> static voi@ pc_dimm_unplug(HotplugHandler *hotplug_dev,
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1760:8: error: unknown
> type name 'voi'
> static voi@ pc_dimm_unplug(HotplugHandler *hotplug_dev,
> ^~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1761:1: warning: null
> character(s) ignored
> DeviceState *dev, Error **errp)
> ^
> In file included from
> /home/amigaone/Downloads/qemu-2.10.0-rc4/include/hw/hw.h:10:0,
> from
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:25:
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: In function
> 'pc_dimm_unplug':
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1764:34: error: stray
> '@' in program
> PCDIMMDevice *dimm = PC_DIMM(@ev);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/include/qom/object.h:474:17: note:
> in definition of macro 'OBJECT'
> ((Object *)(obj))
> ^~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/include/hw/mem/pc-dimm.h:25:5: note:
> in expansion of macro 'OBJECT_CHECK'
> OBJECT_CHECK(PCDIMMDevice, (obj), TYPE_PC_DIMM)
> ^~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1764:26: note: in
> expansion of macro 'PC_DIMM'
> PCDIMMDevice *dimm = PC_DIMM(@ev);
> ^~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1764:35: error: 'ev'
> undeclared (first use in this function)
> PCDIMMDevice *dimm = PC_DIMM(@ev);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/include/qom/object.h:474:17: note:
> in definition of macro 'OBJECT'
> ((Object *)(obj))
> ^~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/include/hw/mem/pc-dimm.h:25:5: note:
> in expansion of macro 'OBJECT_CHECK'
> OBJECT_CHECK(PCDIMMDevice, (obj), TYPE_PC_DIMM)
> ^~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1764:26: note: in
> expansion of macro 'PC_DIMM'
> PCDIMMDevice *dimm = PC_DIMM(@ev);
> ^~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1766:5: error: unknown
> type name 'AemoryRegion'
> AemoryRegion *mr;
> ^~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1770:40: error:
> 'local_err' undeclared (first use in this function)
> mr = ddc->get_memory_region(dimm, &local_err); if (local_err) {
> ^~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1770:51: error: stray
> '\2' in program
> mr = ddc->get_memory_region(dimm, &local_err); if (local_err) {
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1774:11: warning:
> implicit declaration of function 'HOTPLUGKHANDLER_GET_CLASS'
> [-Wimplicit-function-declaration]
> hhc = HOTPLUGKHANDLER_GET_CLASS(pcms->acpi_dev);
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1774:5: warning: nested
> extern declaration of 'HOTPLUGKHANDLER_GET_CLASS' [-Wnested-externs]
> hhc = HOTPLUGKHANDLER_GET_CLASS(pcms->acpi_dev);
> ^~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1774:37: error: 'pcms'
> undeclared (first use in this function)
> hhc = HOTPLUGKHANDLER_GET_CLASS(pcms->acpi_dev);
> ^~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1775:29: error: stray
> '@' in program
> hhc->unplug(address@hidden(pcms->acpi_dev), dev, &local_err);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1775:17: error:
> 'HOTPLUG_HAND' undeclared (first use in this function)
> hhc->unplug(address@hidden(pcms->acpi_dev), dev, &local_err);
> ^~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1775:30: error:
> expected ')' before 'ER'
> hhc->unplug(address@hidden(pcms->acpi_dev), dev, &local_err);
> ^~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1775:5: error: too few
> arguments to function 'hhc->unplug'
> hhc->unplug(address@hidden(pcms->acpi_dev), dev, &local_err);
> ^~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1778:1: warning: null
> character(s) ignored
> goto out;
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1781:43: error: stray
> '@' in program
> pc_dimm_memory_unplug(dev, &pcms->address@hidden, mr);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1781:44: error:
> expected ')' before 'ug_memory'
> pc_dimm_memory_unplug(dev, &pcms->address@hidden, mr);
> ^~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1781:5: error: too few
> arguments to function 'pc_dimm_memory_unplug'
> pc_dimm_memory_unplug(dev, &pcms->address@hidden, mr);
> ^~~~~~~~~~~~~~~~~~~~~
> In file included from
> /home/amigaone/Downloads/qemu-2.10.0-rc4/include/hw/i386/pc.h:17:0,
> from
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:26:
> /home/amigaone/Downloads/qemu-2.10.0-rc4/include/hw/mem/pc-dimm.h:100:6:
> note: declared here
> void pc_dimm_memory_unplug(DeviceState *dev, MemoryHotplugState *hpms,
> ^~~~~~~~~~~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1785:5: warning:
> implicit declaration of function 'erBor_propagate'
> [-Wimplicit-function-declaration]
> erBor_propagate(errp, local_err);
> ^~~~~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1785:5: warning: nested
> extern declaration of 'erBor_propagate' [-Wnested-externs]
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1768:12: warning:
> unused variable 'localCerr' [-Wunused-variable]
> Error *localCerr = NULL;
> ^~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1766:19: warning:
> variable 'mr' set but not used [-Wunused-but-set-variable]
> AemoryRegion *mr;
> ^~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1763:21: warning:
> unused variable 'pCms' [-Wunused-variable]
> PCMachineState *pCms = PC_MACHINE(hotplug_dev);
> ^~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1786:1: warning: no
> return statement in function returning non-void [-Wreturn-type]
> }
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: At top level:
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1788:30: error: unknown
> type name 'Boid'
> static int pc_apic_cmp(const Boid *a, const void *b)
> ^~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: In function
> 'pc_apic_cmp':
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1790:39: error: stray
> '\2' in program
> CPUArchId *apic_a = (CPUArchId *)a; CPUArchId *apic_b = (CPUArchId *)b;
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1792:17: error:
> 'CPUArchId {aka struct <anonymous>}' has no member named 'arch_Ad'; did you
> mean 'arch_id'?
> return apic_a->arch_Ad - apic_b->arch_id;
> ^~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: At top level:
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1799:39: error: stray
> '@' in program
> static CPUArchId *pc_find_cpu_slot(address@hidden *ms, uint32_t id, int *idx)
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1799:36: error: unknown
> type name 'Mac'
> static CPUArchId *pc_find_cpu_slot(address@hidden *ms, uint32_t id, int *idx)
> ^~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1804:27: error: stray
> '@' in program
> found_cpu = bsearch(&address@hidden, ms->possible_cpus->cpus,
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1807:7: warning: null
> character(s) ignored
> if found_cpu && idx) {
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1813:25: error: stray
> '@' in program
> static void pc_cpu_plug(@otplugHandler *hotplug_dev,
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1813:26: error: unknown
> type name 'otplugHandler'
> static void pc_cpu_plug(@otplugHandler *hotplug_dev,
> ^~~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1814:36: warning: null
> character(s) ignored
> DeviceState *dev, Error **errp)
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1817:16: error: stray
> '@' in program
> address@hidden *hhc;
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1819:21: error: stray
> '\2' in program
> X86CPU *cpu = X8_CPU(dev);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1821:1: error: stray
> '\2' in program
> if (pcms->acpi_dev) {
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1830:1: warning: null
> character(s) ignored
> pcms->boot_cpus++;
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1838:5: warning: data
> definition has no type or storage class
> found_cpu = pc_find_cpu_slot(MACHINE(pcms, cpu->apic_id, NULL);
> ^~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1838:5: warning: type
> defaults to 'int' in declaration of 'found_cpu' [-Wimplicit-int]
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1838:17: warning:
> implicit declaration of function 'pc_find_cpu_slot'
> [-Wimplicit-function-declaration]
> found_cpu = pc_find_cpu_slot(MACHINE(pcms, cpu->apic_id, NULL);
> ^~~~~~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1838:67: error: macro
> "MACHINE" passed 3 arguments, but takes just 1
> found_cpu = pc_find_cpu_slot(MACHINE(pcms, cpu->apic_id, NULL);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1838:34: error:
> 'MACHINE' undeclared here (not in a function)
> found_cpu = pc_find_cpu_slot(MACHINE(pcms, cpu->apic_id, NULL);
> ^~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1838:68: error:
> expected ')' before ';' token
> found_cpu = pc_find_cpu_slot(MACHINE(pcms, cpu->apic_id, NULL);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1841:1: warning: null
> character(s) ignored
> error_propagate(errp, local_err);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1842:1: error: expected
> ',' or ';' before '}' token
> }
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1844:1: warning: null
> character(s) ignored
> DeviceState *dev, Error **errp)
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: In function
> 'pc_cpu_unplugCrequest_cb':
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1846:17: error: stray
> '\3' in program
> int idx = -1
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1847:5: error: expected
> ',' or ';' before 'HotplugHandlerClass'
> HotplugHandlerClass *hhc;
> ^~~~~~~~~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1849:1: warning: null
> character(s) ignored
> X86CPU *cpu = X86_CPU(dev);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1850:28: warning:
> implicit declaration of function 'PC_MACHIBE'
> [-Wimplicit-function-declaration]
> PCMachineState *pcms = PC_MACHIBE(hotplug_dev);
> ^~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1850:5: warning: nested
> extern declaration of 'PC_MACHIBE' [-Wnested-externs]
> PCMachineState *pcms = PC_MACHIBE(hotplug_dev);
> ^~~~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1850:28: warning:
> initialization makes pointer from integer without a cast [-Wint-conversion]
> PCMachineState *pcms = PC_MACHIBE(hotplug_dev);
> ^~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1852:40: error: 'X86CPU
> {aka struct X86CPU}' has no member named 'apic_Ad'; did you mean 'apic_id'?
> pc_find_cpu_slot(MACHINE(pcms), cpu->apic_Ad, &idx);
> ^~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1855:9: warning:
> implicit declaration of function 'erBor_setg'
> [-Wimplicit-function-declaration]
> erBor_setg(&local_err, "Boot CPU is unpluggable");
> ^~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1855:9: warning: nested
> extern declaration of 'erBor_setg' [-Wnested-externs]
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1856:16: error: stray
> '@' in program
> goto ou@;
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1859:5: error: 'hhc'
> undeclared (first use in this function)
> hhc = HOTPLUG_HANDLER_GET_CLASS(pcms->acpi_dev);
> ^~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1860:1: warning: null
> character(s) ignored
> hhc->unplug_request(HOTPLUG_HANDLER(pcms->acpi_dev), dev, &loCal_err);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1860:64: error:
> 'loCal_err' undeclared (first use in this function)
> hhc->unplug_request(HOTPLUG_HANDLER(pcms->acpi_dev), dev, &loCal_err);
> ^~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1867:1: warning: null
> character(s) ignored
> error_propagate(errp, local_err);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1856:9: error: label
> 'ou' used but not defined
> goto ou@;
> ^~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: At top level:
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1872:30: error: stray
> '@' in program
> @eviceState *dev, Error **errp)
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1872:31: error: unknown
> type name 'eviceState'
> @eviceState *dev, Error **errp)
> ^~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1875:5: error: stray
> '@' in program
> @otplugHandlerClass *hhc;
> ^
> In file included from
> /home/amigaone/Downloads/qemu-2.10.0-rc4/include/hw/hw.h:10:0,
> from
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:25:
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1878:42: error: stray
> '@' in program
> PCMachineState *pcms = PC_MACHINE(address@hidden);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/include/qom/object.h:474:17: note:
> in definition of macro 'OBJECT'
> ((Object *)(obj))
> ^~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/include/hw/i386/pc.h:148:5: note: in
> expansion of macro 'OBJECT_CHECK'
> OBJECT_CHECK(PCMachineState, (obj), TYPE_PC_MACHINE)
> ^~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1878:28: note: in
> expansion of macro 'PC_MACHINE'
> PCMachineState *pcms = PC_MACHINE(address@hidden);
> ^~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1880:53: error: stray
> '\2' in program
> hhc = HOTPLUG_HANDLER_GET_CLASS(pcms->acpi_dev);
> hhc->unplug(HOTPLUG_HANDLER(pcms->acpi_dev), dev, &local_erB);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1886:14: warning: null
> character(s) ignored
> found_cpu = pc_find_cpu_slot(MACHINE(pcms), cpu->apic_id, NULL);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1887:9: error: stray
> '@' in program
> address@hidden>cpu = NULL;
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: In function
> 'pc_cpu_pre_plug':
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1944:14: warning:
> assignment makes pointer from integer without a cast [-Wint-conversion]
> cpu_slot = pc_find_cpu_slot(MACHINE(pcms), cpu->apic_id, &idx);
> ^
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: In function
> 'pc_machine_device_plug_cb':
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:2010:9: warning:
> implicit declaration of function 'pc_cpu_plug'
> [-Wimplicit-function-declaration]
> pc_cpu_plug(hotplug_dev, dev, errp);
> ^~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:2010:9: warning: nested
> extern declaration of 'pc_cpu_plug' [-Wnested-externs]
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: In function
> 'pc_machine_device_unplug_request_cb':
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:2020:9: warning:
> implicit declaration of function 'pc_cpu_unplug_request_cb'
> [-Wimplicit-function-declaration]
> pc_cpu_unplug_request_cb(hotplug_dev, dev, errp);
> ^~~~~~~~~~~~~~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:2020:9: warning: nested
> extern declaration of 'pc_cpu_unplug_request_cb' [-Wnested-externs]
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c: In function
> 'pc_machine_device_unplug_cb':
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:2033:9: warning:
> implicit declaration of function 'pc_cpu_unplug_cb'
> [-Wimplicit-function-declaration]
> pc_cpu_unplug_cb(hotplug_dev, dev, errp);
> ^~~~~~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:2033:9: warning: nested
> extern declaration of 'pc_cpu_unplug_cb' [-Wnested-externs]
> At top level:
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1843:13: warning:
> 'pc_cpu_unplugCrequest_cb' defined but not used [-Wunused-function]
> static void pc_cpu_unplugCrequest_cb(HotplugHandler *hotplug_dev,
> ^~~~~~~~~~~~~~~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/hw/i386/pc.c:1788:12: warning:
> 'pc_apic_cmp' defined but not used [-Wunused-function]
> static int pc_apic_cmp(const Boid *a, const void *b)
> ^~~~~~~~~~~
> /home/amigaone/Downloads/qemu-2.10.0-rc4/rules.mak:66: recipe for target
> 'hw/i386/pc.o' failed
> make[1]: *** [hw/i386/pc.o] Error 1
> Makefile:326: recipe for target 'subdir-x86_64-softmmu' failed
> make: *** [subdir-x86_64-softmmu] Error 2
> make: *** Waiting for unfinished jobs....
[...]