* [Qemu-devel] dataplane build error
@ 2013-01-03 9:30 Gerd Hoffmann
2013-01-03 9:32 ` Stefan Weil
0 siblings, 1 reply; 4+ messages in thread
From: Gerd Hoffmann @ 2013-01-03 9:30 UTC (permalink / raw)
To: qemu-devel@nongnu.org, Stefan Hajnoczi
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] dataplane build error
2013-01-03 9:30 [Qemu-devel] dataplane build error Gerd Hoffmann
@ 2013-01-03 9:32 ` Stefan Weil
2013-01-03 9:44 ` Stefan Hajnoczi
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Weil @ 2013-01-03 9:32 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel@nongnu.org, Stefan Hajnoczi
Am 03.01.2013 10:30, schrieb Gerd Hoffmann:
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] dataplane build error
2013-01-03 9:32 ` Stefan Weil
@ 2013-01-03 9:44 ` Stefan Hajnoczi
2013-01-03 18:59 ` Anthony Liguori
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2013-01-03 9:44 UTC (permalink / raw)
To: Stefan Weil; +Cc: Gerd Hoffmann, qemu-devel@nongnu.org
On Thu, Jan 03, 2013 at 10:32:43AM +0100, Stefan Weil wrote:
> Am 03.01.2013 10:30, schrieb Gerd Hoffmann:
> > 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.
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] dataplane build error
2013-01-03 9:44 ` Stefan Hajnoczi
@ 2013-01-03 18:59 ` Anthony Liguori
0 siblings, 0 replies; 4+ messages in thread
From: Anthony Liguori @ 2013-01-03 18:59 UTC (permalink / raw)
To: Stefan Hajnoczi, Stefan Weil; +Cc: Gerd Hoffmann, qemu-devel@nongnu.org
Stefan Hajnoczi <stefanha@redhat.com> writes:
> On Thu, Jan 03, 2013 at 10:32:43AM +0100, Stefan Weil wrote:
>> Am 03.01.2013 10:30, schrieb Gerd Hoffmann:
>> > 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.
>
> 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
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-03 18:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 9:30 [Qemu-devel] dataplane build error Gerd Hoffmann
2013-01-03 9:32 ` Stefan Weil
2013-01-03 9:44 ` Stefan Hajnoczi
2013-01-03 18:59 ` Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).