dataplane build error
CC hw/dataplane/vring.o
cc1: warnings being treated as errors /home/kraxel/projects/qemu/hw/dataplane/vring.c: In function ‘vring_setup’:/home/kraxel/projects/qemu/hw/dataplane/vring.c:46: error: implicit declaration of function ‘trace_vring_setup’ /home/kraxel/projects/qemu/hw/dataplane/vring.c:46: error: nested extern declaration of ‘trace_vring_setup’
gmake: *** [hw/dataplane/vring.o] Error 1
Am 03.01.2013 10:30, schrieb Gerd Hoffmann:
Quoted 8 lines
CC
hw/dataplane/vring.o
cc1: warnings being treated as errors/home/kraxel/projects/qemu/hw/dataplane/vring.c: In function ‘vring_setup’:/home/kraxel/projects/qemu/hw/dataplane/vring.c:46: error: implicit declaration of function ‘trace_vring_setup’/home/kraxel/projects/qemu/hw/dataplane/vring.c:46: error: nested extern declaration of ‘trace_vring_setup’
gmake: *** [hw/dataplane/vring.o] Error 1
Hi Gerd,
I got this one, too. Removing a generated file trace.h fixes it.
Cheers,
Stefan W.
Quoted 11 lines · Stefan Weil
Am 03.01.2013 10:30, schrieb Gerd Hoffmann:
Quoted 8 lines
CC
hw/dataplane/vring.o
cc1: warnings being treated as errors/home/kraxel/projects/qemu/hw/dataplane/vring.c: In function ‘vring_setup’:/home/kraxel/projects/qemu/hw/dataplane/vring.c:46: error: implicit declaration of function ‘trace_vring_setup’/home/kraxel/projects/qemu/hw/dataplane/vring.c:46: error: nested extern declaration of ‘trace_vring_setup’
gmake: *** [hw/dataplane/vring.o] Error 1
Quoted 3 lines
Hi Gerd,
I got this one, too. Removing a generated file
trace.hfixes it.
Anthony hit this yesterday with an out-of-tree build, too.
trace.h used to be generated, since eac236ea7bfc1902126be70459e320591078df5c (build: Use separate makefile for "trace/") it is a static file. The build system is getting confused.
Stefan
Quoted 12 lines · Stefan Hajnoczi
Quoted 11 lines · Stefan Weil
Am 03.01.2013 10:30, schrieb Gerd Hoffmann:
Quoted 8 lines
CC
hw/dataplane/vring.o
cc1: warnings being treated as errors/home/kraxel/projects/qemu/hw/dataplane/vring.c: In function ‘vring_setup’:/home/kraxel/projects/qemu/hw/dataplane/vring.c:46: error: implicit declaration of function ‘trace_vring_setup’/home/kraxel/projects/qemu/hw/dataplane/vring.c:46: error: nested extern declaration of ‘trace_vring_setup’
gmake: *** [hw/dataplane/vring.o] Error 1
Quoted 5 lines
Quoted 3 lines
Hi Gerd,
I got this one, too. Removing a generated file
trace.hfixes it.Anthony hit this yesterday with an out-of-tree build, too.
http://article.gmane.org/gmane.comp.emulators.qemu/186471
I usually try to make an announcement when there are issues like this.
Regards,
Anthony Liguori
Quoted 7 lines
trace.hused to be generated, sinceeac236ea7bfc1902126be70459e320591078df5c(build: Use separate makefile for "trace/") it is a static file. The build system is getting confused.Stefan