On Mon, Oct 14, 2013 at 05:08:58PM +0300, Michael S. Tsirkin wrote: > /scm/qemu/exec.c:720:51: error: initialization from incompatible pointer type > [-Werror] > static void *(*phys_mem_alloc)(ram_addr_t size) = qemu_anon_ram_alloc; > ^ > /scm/qemu/exec.c: In function ‘qemu_ram_alloc_from_ptr’: > /scm/qemu/exec.c:1107:32: error: comparison of distinct pointer types lacks a > cast [-Werror] > if (phys_mem_alloc != qemu_anon_ram_alloc) { > ^
It could have to do with the fact build is done on a 32 bit machine.