Skip to contentSkip to conversation

dataplane build error

Qemu-devel Gerd Hoffmann 4 participants 4 messages Jan 3, 2013

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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.

#2 lore raw
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.h fixes 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

#3 lore raw
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.h fixes 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.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