[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1 |
Date: |
Tue, 9 Aug 2011 11:46:32 +0100 |
On Thu, Aug 4, 2011 at 4:52 PM, rowa <address@hidden> wrote:
> Now it is possible to build qemu 0.15.0-rc1 with --disable-spice option
> on Ubuntu 10.10 „Maverick Meerkat“ .
>
> --
> You received this bug notification because you are a member of qemu-
> devel-ml, which is subscribed to QEMU.
> https://bugs.launchpad.net/bugs/816370
>
> Title:
> compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1
>
> Status in QEMU:
> New
>
> Bug description:
> I've tryed to compile QEMU 0.15.0-rc0 on Ubuntu 10.10 „Maverick
> Meerkat“ but I get an error (For further details please see http
> ://qemu-buch.de/d/Installation#Quellen_kompilieren ).
>
> ./configure --prefix=/usr --enable-spice
> --audio-card-list=ac97,es1370,sb16,adlib,gus,cs4231a
> make
>
> GEN config-host.h
> GEN trace.h
> GEN qemu-options.def
> GEN qapi-generated/qga-qapi-types.h
> GEN qapi-generated/qga-qapi-visit.h
> GEN qapi-generated/qga-qmp-marshal.c
> CC qapi/qapi-visit-core.o
> In file included from qapi/qapi-visit-core.c:14:
> ./qapi/qapi-visit-core.h:31: error: expected declaration specifiers or ‘...’
> before ‘Error’
This is an odd error. I saw the other related mailing list thread.
To debug it:
1. Run the build and let it fail.
2. Find out the command-line to build qapi/qapi-visit-core.o: make V=1
3. Change the gcc command-line that was printed out in step #2:
gcc ... -o qapi/qapi-visit-core.o qapi/qapi-visit-core.c
To this:
gcc ... -o qapi-visit-core.txt -E qapi/qapi-visit-core.c
The -E option outputs the pre-processed source. It will be written to
qapi-visit-core.txt. Please post the entire pre-processed source (try
http://pastebin.com/ to avoid sending a huge email).
Stefan
- [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1, Marcel Hnilka, 2011/08/03
- [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1, Marcel Hnilka, 2011/08/04
- [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1, Marcel Hnilka, 2011/08/04
- [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1, rowa, 2011/08/04
- Re: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1,
Stefan Hajnoczi <=
- [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1, rowa, 2011/08/09
- [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1, rowa, 2011/08/09
- [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1, Malte Starostik, 2011/08/20
- [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1, Bug Watch Updater, 2011/08/20
- [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1, Bug Watch Updater, 2011/08/22